Runtime error on startup: gtk.InfoBar not found

Bug #583101 reported by David Wagner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Invalid
Undecided
Unassigned

Bug Description

Using the bzr head (r3163), I get the following error when trying to start Exaile:

INFO : Loading Exaile 0.3.1.99...
INFO : Loading settings...
Traceback (most recent call last):
  File "/usr/local/lib/exaile/exaile.py", line 52, in <module>
    main()
  File "/usr/local/lib/exaile/exaile.py", line 49, in main
    exaile = main.Exaile()
  File "/usr/local/lib/exaile/xl/main.py", line 96, in __init__
    self.__init()
  File "/usr/local/lib/exaile/xl/main.py", line 132, in __init
    self.__show_splash()
  File "/usr/local/lib/exaile/xl/main.py", line 258, in __show_splash
    import xlgui
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 52, in <module>
    from xlgui import commondialogs, cover
  File "/usr/local/lib/exaile/xlgui/commondialogs.py", line 397, in <module>
    class MessageBar(gtk.InfoBar):
AttributeError: 'module' object has no attribute 'InfoBar'

I get the same error with "exaile --safemode". I'm using Fedora 12, x86_64. Exaile used to work with previous bzr versions (though I can't remember how long it's been since I did a 'bzr up'; certainly days, maybe weeks).

Here's some information about my Python / PyGTK installation. I have the following PyGTK/Python/GTK-related RPMs installed:

pygtk2-doc-2.16.0-1.fc12.noarch
pygtk2-devel-2.16.0-1.fc12.x86_64
pygtksourceview-2.8.0-1.fc12.x86_64
pygtk2-2.16.0-1.fc12.x86_64
pygtk2-libglade-2.16.0-1.fc12.x86_64
pygtk2-codegen-2.16.0-1.fc12.x86_64
python-2.6.2-4.fc12.x86_64
gtk2-2.18.9-3.fc12.x86_64
gtk+-1.2.10-69.fc12.x86_64
gtk2-devel-2.18.9-3.fc12.x86_64

and more. Here's some debugging information from running the Python interpreter directly:

$ python
Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:47)
[GCC 4.4.2 20091222 (Red Hat 4.4.2-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk; pygtk.require('2.0')
>>> import gtk
>>> gtk.InfoBar
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'InfoBar'
>>> print gtk.__file__
/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.pyc
>>>

Revision history for this message
reacocard (reacocard) wrote :

We recently upgraded our dependencies - pygtk 2.17 and gtk 2.18 are now mandatory. Your versions of these libraries are simply too old, you'll need to upgrade to fedora 13 to run Exaile trunk again.

Changed in exaile:
status: New → Invalid
Revision history for this message
David Wagner (daw-bugzilla) wrote :

Thanks for letting me know. Unfortunately, Fedora 13 hasn't been officially released yet, but when it is released, I'll try again. In light of the new requirement, I've updated the Wiki page on downloading and compiling Exaile to reflect this additional information: http://exaile.org/wiki/Downloading_and_Compiling

Revision history for this message
anshul (anshul-k) wrote :

I am on Slackware64 13.1 and getting the same error. The latest released version of PyGtk appears to be 2.16 according to http://www.pygtk.org/downloads.html

I am running
pygobject-2.20.0
pygobject-2.20.0
pygtk-2.16.0
pygtk-2.16.0
mutagen-1.19

on gnome (gsb64) 2.30.2

Changed in exaile:
status: Invalid → New
Revision history for this message
anshul (anshul-k) wrote :

Py gtk 2.17 is available at http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.17/ though it is not linked from the download page.

Changed in exaile:
status: New → Invalid
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.