Click to See Complete Forum and Search --> : gdesklets and problems with bonobo.ui


danimal1009
05-22-2004, 04:04 AM
I had gdesklets installed before, until I had a problem with with one of my sources for apt. I got that fixed and then tried to reinstall gdesklets, but now when I start it, it exits with this error: Traceback (most recent call last):
File "/usr/bin/gdesklets", line 12, in ?
from main.Starter import Starter
File "/usr/share/gdesklets/main/Starter.py", line 2, in ?
from factory.DisplayFactory import DisplayFactory
File "/usr/share/gdesklets/factory/DisplayFactory.py", line 3, in ?
from sensor.DefaultSensor import DefaultSensor
File "/usr/share/gdesklets/sensor/DefaultSensor.py", line 1, in ?
from Sensor import Sensor
File "/usr/share/gdesklets/sensor/Sensor.py", line 15, in ?
from SensorConfigurator import SensorConfigurator
File "/usr/share/gdesklets/sensor/SensorConfigurator.py", line 1, in ?
import gnome.ui
ImportError: could not import bonobo.ui

Since I installed it with apt-get, I wouldve thought it take care of the stuff gdesklets needs... Any ideas on how to fix this? :confused:

mdwatts
05-22-2004, 12:07 PM
Originally posted by danimal1009
ImportError: could not import bonobo.ui

Sorry as I don't use gdesklets or bonobo, so of course I know very little or nothing at all about either.

Does bonobo.ui exist on your system?

Searched G4L for "could not import bonobo.ui" to see if others have run into the same problem with apt-get?

Anyone else have any ideas?

danimal1009
05-22-2004, 03:20 PM
According to locate (and of cousre updatedb), the file bonobo.ui doesn't exist on my system. I'm under the assumption that it's some kind of python extension. I looked up all the dependencies according to "apt-cache show" and tried "apt-get install"(ing) all of them. It updated a few, but that didn't work either... :(

Searched G4L for "could not import bonobo.ui" to see if others have run into the same problem with apt-get?

Yes... some of the results mention I have to have python-gnome or something like that installed... I checked and its installed... Still not working, though

danimal1009
05-22-2004, 03:54 PM
Wouldn't you know... a few minutes later, I solved my problem... apparently the problems from the bad apt source I mentioned earlier haven't completely gone away yet... During my continued searchng, I got the idea to try and load the bonobo.ui module through the interective python shell thing... here was the result Python 2.3.3 (#2, May 1 2004, 06:12:12)
[GCC 3.3.3 (Debian 20040401)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
>>> import bonobo
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/gtk-2.0/bonobo/__init__.py", line 6, in ?
import ORBit
ImportError: /usr/lib/libIDL-2.so.0: undefined symbol: __guard
>>> import bonobo.ui
Fatal Python error: could not import ORBit module
Aborted
Now that "undefined symbol: __guard" was showing up a lot and wreaking havoc with apt-get and not letting me install packages and breaking things as a result. So now that I got rid of the bad source, I did am "apt-get --purge remove libIDL0" then "apt-get install"(ed) all the stuff that the purging removed. Problem solved...

mdwatts
05-22-2004, 04:31 PM
Originally posted by danimal1009
Problem solved...

:)

Glad I could at least try to help. Thanks