This bug exists in Ubuntu 12.04.5 too.
I was trying to port TortoiseHG to Caja (see
https://bitbucket.org/nrbrtx/caja-thg) and got a problem in Ubuntu 12.04.
After adding MATE PPAs and installing caja-python and my script I have
the following error on Caja start:
(caja:13871): Caja-Python-WARNING **: g_module_open libpython failed:
/usr/lib/i386-linux-gnu//libpython2.7.so.1.0: cannot open shared object file:
No such file or directory
ImportError: could not import gobject (error was:
'/usr/lib/libpyglib-gi-2.0-python2.7.so.0: 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 66,
in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, 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.so: undefined symbol:
_Py_ZeroStruct
Original exception was:
ImportError: could not import gobject (error was:
'/usr/lib/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')
(caja:13871): Caja-Python-WARNING **: pygobject initialization failed
(caja:13871): Caja-Python-WARNING **: caja_python_init_python failed
As a temporary solution I made a symlink:
sudo ln -s /usr/lib/libpython2.7.so.1.0
/usr/lib/i386-linux-gnu/libpython2.7.so.1.0
After that TortoiseHG Caja extension works on Ubuntu 12.04 as expected.
Please fix this bug on Ubuntu or MATE PPA side.
** Also affects: python-caja (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1170017
Title:
nautilus-python fails to load on 64-bit systems: g_module_open
libpython failed: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus-compare/+bug/1170017/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs