[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

pydoc errors

John Maclean

2/25/2010 7:54:00 AM

python version is 2.6.2 does any one else have this issue? Seen a few
closed tickets for various Linux Distros but it is obvoiusly still my
problem.


help> modules

Please wait a moment while I gather a list of all available modules...

dm.c: 1640: not running as root returning empty list

** (.:8391): WARNING **: Trying to register gtype 'WnckWindowState' as
flags when in fact it is of type 'GEnum'

** (.:8391): WARNING **: Trying to register gtype 'WnckWindowActions'
as flags when in fact it is of type 'GEnum'

** (.:8391): WARNING **: Trying to register gtype
'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
/usr/lib/python2.6/site-packages/httplib2/__init__.py:29:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/usr/lib/python2.6/site-packages/httplib2/__init__.py:44:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
2010-02-25 01:20:10.483800: ERROR: Could not load the stocks from
/home/jmaclean/.gnome2/invest-applet/stocks.pickle: [Errno 2] No such
file or directory:
'/home/jmaclean/.gnome2/invest-applet/stocks.pickle'
You must run this application as root

--
John Maclean
07739 171 531
MSc (DIC)

Enterprise Linux Systems Engineer
1 Answer

Diez B. Roggisch

2/25/2010 9:13:00 AM

0

Am 25.02.10 08:54, schrieb john maclean:
> python version is 2.6.2 does any one else have this issue? Seen a few
> closed tickets for various Linux Distros but it is obvoiusly still my
> problem.
>
>
> help> modules
>
> Please wait a moment while I gather a list of all available modules...
>
> dm.c: 1640: not running as root returning empty list
>
> ** (.:8391): WARNING **: Trying to register gtype 'WnckWindowState' as
> flags when in fact it is of type 'GEnum'
>
> ** (.:8391): WARNING **: Trying to register gtype 'WnckWindowActions'
> as flags when in fact it is of type 'GEnum'
>
> ** (.:8391): WARNING **: Trying to register gtype
> 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
> /usr/lib/python2.6/site-packages/httplib2/__init__.py:29:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> import md5
> /usr/lib/python2.6/site-packages/httplib2/__init__.py:44:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
> import sha
> 2010-02-25 01:20:10.483800: ERROR: Could not load the stocks from
> /home/jmaclean/.gnome2/invest-applet/stocks.pickle: [Errno 2] No such
> file or directory:
> '/home/jmaclean/.gnome2/invest-applet/stocks.pickle'
> You must run this application as root

To me it looks as if one of your installed applications has nasty
side-effects on module import. De-install it if possible, and see if
that helps.

Diez