Description of problem: $ istanbul ** Message: pygobject_register_sinkfunc is deprecated (GstObject) Traceback (most recent call last): File "/usr/bin/istanbul", line 30, in <module> from istanbul.main import main File "/usr/lib/python2.7/site-packages/istanbul/main/main.py", line 37, in <module> from istanbul.main.tray_icon import TrayIcon File "/usr/lib/python2.7/site-packages/istanbul/main/tray_icon.py", line 26, in <module> import egg.trayicon ImportError: could not import gobject (could not find _PyGObject_API object) Version-Release number of selected component (if applicable): istanbul.x86_64 0:0.2.2-15.fc14
This doesn't make a lot of sense istanbul package require the pygtk2 package pygtk2 package requires the pyobject2 package pyobject2 provides the gobject python module. I don't see how you can get into this situation without there being a problem either in pygtk2 or pyobject2 packaging. So first thing to do is to see if your python can import the gobject package. Run: python -c "import gobject" if that fails then confirm that the pyobject2 package is installed. Run: rpm -q pyobject2 If the pyobject2 package is installed but the command python -c "import gobject" fails than this is a bug in the pyobject2 package and needs to be refiled accordingly to make the pyobject2 maintainer aware. -jef
elanthis@stargrazer:~$ python -c "import gobject" ( no output from that command, assuming that means success ) elanthis@stargrazer:~$ rpm -q pygobject2 pygobject2-2.27.0-1.fc15.x86_64 Tons of other Python/GTK apps work fine. Istanbul is the only one that has failed. Double checked after running the above commands and I definitely still get the exact same error when I run Istanbul.
Ah I misread the traceback, the problem appears to be associated with the egg module not being about to find gobject. Give me the outputs of these commands: rpm -q gnome-python2-libegg python -c "import egg" python -c "import egg.trayicon" Both those python commands should return with no message unless there is an error associated with the gnome-python2-libegg package. if the import egg or import egg.trayicon fails then it suggests a packaging problem in gnome-python2-libegg -jef
elanthis@stargrazer:~$ rpm -q gnome-python2-libegg gnome-python2-libegg-2.25.3-22.fc15.x86_64 elanthis@stargrazer:~$ python -c "import egg" ( no output ) elanthis@stargrazer:~$ python -c "import egg.trayicon" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: could not import gobject (could not find _PyGObject_API object) Tried to reassign to gnome-python2-libegg, but there's no such component. Package is a sub-package of another srpm I take it, but I'm playing the "I'm a dumb user and to me it's an application that's broken and I shouldn't need to figure out internal Fedora rpm/repo techno-mumbo-jumbo" card. :)
If you were filing this against f14 or f13 such a card would be valid. However since you are filing against rawhide...the smiley face won't save you from the educational lecture that you are about to receive. In the future rpm -qi packagename will help you determine which srpm and thus which bugzilla component to file a bug against. rpm -qi gnome-python2-libegg Source RPM: gnome-python2-extras-2.2 So I'm refiling this against gnome-python2-extras.
Dear Maintainer of gnome-python2-extras, It appears that the egg python module in the gnome-python2-libegg subpackage is behaving badly in rawhide. It showing up as a crash in istanbul but attempts to import egg.trayicon fail outside of istanbul as well as seen in comment #4. -jef
Thanks for the information, and for refiling. I actually tried 'rpm -qi' but was apparently too blind to see the Source RPM field on the right.
This remains broken in rawhide... any update? istanbul still fails rpm -q gnome-python2-libegg gnome-python2-libegg-2.25.3-22.fc15.x86_64 $ python -c "import egg" $ python -c "import egg.trayicon" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: could not import gobject (could not find _PyGObject_API object)
gnome-python2-extras-2.25.3-31.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/gnome-python2-extras-2.25.3-31.fc15
gnome-python2-extras-2.25.3-31.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.