Cannot find libpython2.7.so.1.0

Bug #1157246 reported by Hans Ginzel
36
This bug affects 8 people
Affects Status Importance Assigned to Milestone
RabbitVCS
Unknown
Unknown
nautilus (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

$ gnome-open /opt/ibm/

(nautilus:26143): Nautilus-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/i386-linux-gnu/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 64, 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 12, in <module>
    import subprocess, tempfile, os.path, re, pwd, grp, os
  File "/usr/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/usr/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: /usr/lib/python2.7/lib-dynload/_io.i386-linux-gnu.so: undefined symbol: _Py_ZeroStruct

Original exception was:
ImportError: could not import gobject (error was: '/usr/lib/i386-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

(nautilus:26143): Nautilus-Python-WARNING **: pygobject initialization failed

(nautilus:26143): Nautilus-Python-WARNING **: nautilus_python_init_python failed

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: nautilus 1:3.6.3-0ubuntu9
ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
Uname: Linux 3.8.0-12-generic i686
ApportVersion: 2.9.1-0ubuntu1
Architecture: i386
Date: Tue Mar 19 16:13:44 2013
EcryptfsInUse: Yes
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'geometry' b"'800x550+459+320'"
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'228'
MarkForUpload: True
SourcePackage: nautilus
UpgradeStatus: Upgraded to raring on 2013-02-14 (33 days ago)

Revision history for this message
Hans Ginzel (hans-matfyz) wrote :
Revision history for this message
Sam Lin (itrs-lin) wrote :

I had similar issue and solved it by (x86_64):

sudo ln -sf /usr/lib/x86_64-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1

and check /usr/lib/libpython2.7.so.1.0 linked to /usr/lib/libpython2.7.so.1

ldconfig

and done

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for reporting this bug and helping to make Ubuntu better.

This bug is missing some information I need to be able to triage it. What is /opt/ibm/ ?

Changed in nautilus (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Nariyoshi (pedro-nariyoshi) wrote :

Hi Jeremy,

I'm having a similar issue runing Nautilus with RabbitCVS (nautilus extension for SVN and other CVS).

I'm attaching the bug. I can confirm using symbolic links solved my problem.

Revision history for this message
kenjo (ken-kenjo) wrote :

I can also confim that making this link solved the problem.

I guess the problem is in package python-nautilus

Revision history for this message
Daniel O'Connor (daniel-oconnor) wrote :
affects: nautilus → rabbitvcs
Revision history for this message
Daniel O'Connor (daniel-oconnor) wrote :

See also #1170017

Revision history for this message
Cassio (cm-contato) wrote :

I have a similar problem, when I type the command sudo nautilus happens the error below.

Nautilus opens, closes however if I want to get into any folder properties.

$ sudo nautilus

(nautilus:7610): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: Não é possivel abrir arquivo de objetos compartilhado: Arquivo ou diretório não encontrado
ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

(nautilus:7610): Nautilus-Python-WARNING **: pygobject initialization failed

(nautilus:7610): Nautilus-Python-WARNING **: nautilus_python_init_python failed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.