Bug#271691: .xsession-errors gdesklets not connecting to daemon
Darius
Darius <dramob@insightbb.com>, 271691@bugs.debian.org
Mon, 4 Oct 2004 09:44:58 -0400
Hey Sebastien,
I found that I am getting the following output in .xsession-errors,
if I delete and restart, it is reproduced: (output truncated)
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/otis:/tmp/.ICE-unix/15211
** Message: Not starting remote desktop server
^Mconnecting to daemon [### ]^Mconnecting to daemon [ ###
]^Mconnecting to daemon [ ### ]^Mconnecting to daemon [ ###
]Traceback (most recent call last):
File "/usr/share/gdesklets/gdesklets-daemon", line 13, in ?
import gnome.ui
File
"/usr/local/lib/python2.3/site-packages/gtk-2.0/gnome/__init__.py",
line
10, in ?
import gobject
ImportError: No module named gobject
^Mconnecting to daemon [ ### ]^Mconnecting to
daemon [ ### ]^Mconnecting to daemon [ ###
]^Mconnecting to daemon [ ### ]^Mconnecting to
daemon [ ### ]^Mconnecting to daemon [
### ]^Mconnecting to daemon [ ###]^Mconnecting
to daemon [ ### ]^Mconnecting to
daemon [ ### ]^Mconnecting to daemon [ ###
I noticed that when my PYTHONPATH variable was not set I got the same
import error. I set the PYTHONPATH variable as such in ~/.bashrc:
export PYTHONPATH=.:/usr/lib/python2.3/site-packages/
If I try and add gtk2.0/ to the end of the path, it fails to work.
Here is the output of import sys; print path.sys in python:
['', '/home/darius', '/usr/lib/python2.3/site-packages',
'/usr/lib/python23.zip', '/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload',
'/usr/local/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/Numeric',
'/usr/lib/python2.3/site-packages/PIL',
'/usr/lib/python2.3/site-packages/gtk-2.0']
As you can see /usr/local/lib/python2.3/sitepackages/ and
/usr/lib/python2.3/sitepackages both exist, however,
there are only gtk2.0 files under the
/usr/local/../sitepackages path. Do you know if I
can create a symlink from /usr/local/../sitepackages ->
/usr/lib/../sitepackages/ ? Or is there something that
I am missing from the .xsession-errors file?
Thank you,
Darius