pydoc errors

Diez B. Roggisch deets at nospam.web.de
Thu Feb 25 04:13:23 EST 2010


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




More information about the Python-list mailing list