Bug 560383
Summary: | (nautilus:2251): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.6.so: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | ahmed <ahmed.lists> |
Component: | nautilus-python | Assignee: | Patrick Dignan <dignan.patrick> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | dignan.patrick, mads |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-03 23:32:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ahmed
2010-01-31 12:01:43 UTC
Correction: there was only /usr/lib/libpython2.6.so.1.0. tortoisehg-nautilus is just python code executed by the python interpreter in nautilus-python, so it doesn't use libpython but is used by libpython. I will reassign to nautilus-python. However, I can neither reproduce the problem nor see that anything is wrong. $ ldd /usr/lib/nautilus/extensions-2.0/libnautilus-python.so|grep py libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb71b9000) $ rpm -qf /usr/lib/libpython2.6.so.1.0 python-libs-2.6.2-4.fc12.i686 (BTW: The right way to get /usr/lib/libpython2.6.so is to "yum install" it and get python-devel. That should however not be the solution to this problem.) ahmed, can you post the exact errors you got in .xsession-errors? What is the output of # rpm -q python python-devel nautilus-python tortoisehg-nautilus # rpm -qV python python-devel nautilus-python tortoisehg-nautilus == .xsession-errors ========= (nautilus:2251): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.6.so: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 26, in <module> from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \ File "/usr/lib/python2.6/site-packages/gtk-2.0/glib/__init__.py", line 22, in <module> from glib._glib import * ImportError: /usr/lib/libpyglib-2.0-python.so.0: undefined symbol: PyExc_ImportError (nautilus:2251): Nautilus-Python-WARNING **: could not import gobject (nautilus:2251): Nautilus-Python-WARNING **: pygobject initialization failed (nautilus:2251): Nautilus-Python-WARNING **: nautilus_python_init_python failed ============================ # rpm -q python python-devel nautilus-python tortoisehg-nautilus == python-2.6.2-2.fc12.i686 package python-devel is not installed nautilus-python-0.5.1-5.fc12.i686 tortoisehg-nautilus-0.9.2-2.fc12.i686 =========================== # rpm -qV python python-devel nautilus-python tortoisehg-nautilus package python-devel is not installed And also on my system: # ldd /usr/lib/nautilus/extensions-2.0/libnautilus-python.so | grep py libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00578000) Fixed in testing? http://koji.fedoraproject.org/koji/buildinfo?buildID=153506 You say that these xsession-errors came with no /usr/lib/libpython2.6.so present? And that creating a symlink fixed it? Strange. AFAICS /usr/lib/libpython2.6.so is just reporting that a python import is failing. Can you reproduce the problem by removing the symlink? You can try the new build and see if it helps, but I doubt it. Do you have any non-rpm or non-fedora packages installed? $ Do this work: python -c 'from glib import spawn_async' What is the output of # rpm -q gtk2 glib2 pygobject2 # rpm -qV gtk2 glib2 pygobject2 1) I actually did remove the symlink to reproduce the errors in .xsession-errors. 2) I downloaded http://kojipkgs.fedoraproject.org/packages/nautilus-python/0.5.1/6.fc12/i686/nautilus-python-0.5.1-6.fc12.i686.rpm and installed it with yum (with --nogpgcheck) but the problem still persisted. 3) I have no non-rpm packages but I do have a couple of multimedia packages from RPM Fusion. 4) "python -c 'from glib import spawn_async'" does work. 5) There: # rpm -q gtk2 glib2 pygobject2 gtk2-2.18.6-3.fc12.i686 glib2-2.22.3-2.fc12.i686 pygobject2-2.20.0-1.fc12.i686 #rpm -qV gtk2 glib2 pygobject2 [returns silently] I have run out of ideas and will leave it to Patrick, the nautilus-python maintainer. Mads, check: https://bugzilla.redhat.com/show_bug.cgi?id=474428 I apologize for not searching thoroughly before reporting the bug. *** This bug has been marked as a duplicate of bug 474428 *** Yes, your report is the same as bug 474428#c2, but * I don't think that comment is related to the issue discussed there - better track it here. * That issue is 64-bit specific, and you are on i686. * If it was the same issue then it should have been solved with nautilus-python-0.5.1-6.fc12 This is not a duplicate of that bug, but I can't replicate, because when I tried installing tortoisehg-nautilus, it makes my nautilus crash. Patrick, I haven't heard about nautilus crashes before, so please file an issue so we can get that tracked and nailed. Oh, sorry - bug 560500 Is this still an issue? I'm going to close this in one week, unless otherwise informed. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |