straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Straw-devel] Straw 0.21.2 fails on startup


From: Scott Douglas-Watson
Subject: Re: [Straw-devel] Straw 0.21.2 fails on startup
Date: Wed, 26 Nov 2003 21:18:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114

Try adding /usr/local/lib/python2.2/site-packages/gtk-2.0 to your PYTHONPATH enviroment variable (using a colon as a separator). eg. based on your previous posting of your PYTHONPATH:

PYTHONPATH=/usr/local/lib/python2.2/site-packages:/usr/local/lib/python2.2/site-packages/gtk-2.0

The python man pages will provide some more details on the python environment variables.

Cheers,
Scott

PS. Hope you don't mind me CCing the list (keeps a record for other users that might have a similar problem)

J. Gardner Biggs wrote:
On Wed, 2003-11-26 at 12:47, Scott Douglas-Watson wrote:

Okay

$ locate gconf.so
/usr/lib/python2.2/site-packages/gtk-2.0/gconf.so

Is the directory containing gconf.so in your python path?

Cheers,
Scott


address@hidden jgbiggs]$ locate gconf.so
/usr/lib/bonobo/monikers/libmoniker_gconf.so.0
/usr/lib/bonobo/monikers/libmoniker_gconf.so
/usr/lib/bonobo/monikers/libmoniker_gconf.so.0.0.0

/usr/local/lib/python2.2/site-packages/gtk-2.0/gconf.so

/home/jgbiggs/Source Code/gnome-python-2.0.0/gconf/.libs/gconf.so


import sys
print sys.path

['', '/usr/local/lib/python2.2/site-packages', '/usr/lib/python2.2',
'/usr/lib/python2.2/plat-linux2', '/usr/lib/python2.2/lib-dynload',
'/usr/lib/python2.2/site-packages',
'/usr/lib/python2.2/site-packages/gtk-2.0']

so it seems that gconf.so is not in the pythonpath.

so what next?

I am guessing that this might be a common problem for those who have
compiled and installed many of the python modules to /usr/local when
their distro has installed python to /usr.










reply via email to

[Prev in Thread] Current Thread [Next in Thread]