No module named gobject



Hi. I installed garnome-2.20.2, and it is very cool. The problem is
that pygtk seems to be broken, because GIMP doesn't work properly. It
has no plugins in the Scrip-Fu menus. When I launch GIMP in the
terminal, I get these errors:

/home/rex//garnome/bin/gimp Traceback
(most recent call last): File
"/home/rex/garnome/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in ?
from gimpfu import * File
"/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ? import
gimp ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File
"/home/rex/garnome/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line
17, in ? from gimpfu import * File
"/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ? import
gimp ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/home/rex/garnome/lib/gimp/2.0/plug-ins/palette-sort.py", line
17, in ? from gimpfu import *
  File "/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
    import gimp
ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/home/rex/garnome/lib/gimp/2.0/plug-ins/palette-offset.py",
line 17, in ? from gimpfu import *
  File "/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
    import gimp
ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File
"/home/rex/garnome/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line
20, in ? from gimpfu import * File
"/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ? import
gimp ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/home/rex/garnome/lib/gimp/2.0/plug-ins/gimpcons.py", line 20,
in ? from gimpfu import *
  File "/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
    import gimp
ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/home/rex/garnome/lib/gimp/2.0/plug-ins/foggify.py", line 20,
in ? from gimpfu import *
  File "/home/rex/garnome/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
    import gimp
ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/home/rex/garnome/lib/gimp/2.0/plug-ins/colorxhtml.py", line
25, in ? import gimp
ImportError: could not import gobject (error was: 'No module named
gobject')

(gimp:3538): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
------------------------------------------

When I try to launch pygtk-demo, I get this error:
$ /home/rex/garnome/bin/pygtk-demo 
Traceback (most recent call last):
  File "/home/rex/garnome/bin/pygtk-demo", line 7, in ?
    execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))
  File "/home/rex/garnome/lib/pygtk/2.0/pygtk-demo.py", line 18, in ?
    import gobject
ImportError: No module named gobject
-------------------------------------------

But I am pretty sure that gobject exists:
find /home/rex/garnome -name gobject
/home/rex/garnome/share/gtk-doc/html/gobject
find: /home/rex/garnome/var/lib/hal: Permission denied
/home/rex/garnome/lib/python2.4/site-packages/gtk-2.0/gobject
/home/rex/garnome/include/glib-2.0/gobject
-------------------------------------------

Does anybody know how to fix? I am on Debian Etch.
Thanks. Alex.


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