Comment 24 for bug 1170017

Revision history for this message
Norbert (nrbrtx) wrote : Re: nautilus-python fails to load on 64-bit systems: g_module_open libpython failed: No such file or directory

Bug still affects caja-python and/or gir1.2-caja packages.
Here are the contents of .xsession-errors:

(caja:5096): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:2580: instance '0x9135d30' has no handler with id '5503'

(caja:5096): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:2580: instance '0x93a9f90' has no handler with id '5741'

(caja:5096): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:2580: instance '0x9193730' has no handler with id '5748'

(caja:5096): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:2580: instance '0x937a100' has no handler with id '5755'

(caja:5096): GLib-CRITICAL **: Source ID 593 was not found when attempting to remove it

(caja:5096): GLib-CRITICAL **: Source ID 594 was not found when attempting to remove it

(caja:5096): GLib-CRITICAL **: Source ID 595 was not found when attempting to remove it

(caja:5096): Eel-WARNING **: "unique eel_ref_str" hash table still has 4 elements at quit time (keys above)

(caja:5096): Eel-WARNING **: "caja-directory.c: directories" hash table still has 5 elements at quit time
** Message: Initializing gksu extension...

(caja:5714): Caja-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct')
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 16, in <module>
    from xml.parsers.expat import ExpatError
  File "/usr/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.i386-linux-gnu.so: undefined symbol: _Py_ZeroStruct

Original exception was:
ImportError: could not import gobject (error was: '/usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct')

(caja:5714): Caja-Python-WARNING **: pygobject initialization failed

(caja:5714): Caja-Python-WARNING **: caja_python_init_python failed

It is produced on Caja start.
Please fix this bug, it makes Caja Python extensions unusable (for example Caja TortoiseHG [https://bitbucket.org/nrbrtx/caja-thg] extension does not work).