cannot import atk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygtk (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a problem starting rhythmbox and gdebi-gtk with same problem.
rhythmbox command line output:
:~$ rhythmbox
/var/lib/
from gtk import _gtk
ImportError: could not import atk
ImportError: cannot import name Widget from gtk
ImportError: cannot import name ActionGroup from gtk
Traceback (most recent call last):
File "/usr/lib/
class FadingImage (gtk.Misc):
AttributeError: 'module' object has no attribute 'Misc'
(rhythmbox:7645): Rhythmbox-WARNING **: Could not load plugin artdisplay
(rhythmbox:7645): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Cover art'
Traceback (most recent call last):
File "/usr/lib/
import gtk, gtk.glade
ImportError: cannot import name Widget from gtk
(rhythmbox:7645): Rhythmbox-WARNING **: Could not load plugin lyrics
(rhythmbox:7645): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Song Lyrics'
_______
gdebi-gtk command line output:
:~$ gdebi-gtk
/usr/lib/
warnings.
/var/lib/
from gtk import _gtk
ImportError: could not import atk
Traceback (most recent call last):
File "/usr/bin/
from GDebi.GDebi import GDebi
File "/usr/lib/
import gtk, gtk.glade
ImportError: cannot import name Widget from gtk
info you may need for diagnose the problem:
:~$ dpkg -l python2.5 python-gobject python-gtk2 libgtk2.0-0 libglib2.0-0 python-glade2
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libglib2.0-0 2.14.1-1ubuntu The GLib library of C routines
ii libgtk2.0-0 2.12.0-1ubuntu The GTK+ graphical user interface library
ii python-glade2 2.12.0-0ubuntu GTK+ bindings: Glade support
ii python-gobject 2.14.0-0ubuntu Python bindings for the GObject library
ii python-gtk2 2.12.0-0ubuntu Python bindings for the GTK+ widget set
ii python2.5 2.5.1-5ubuntu5 An interactive high-level object-oriented la
thank you!
Appears to work just dandy in jaunty:
$ python
Python 2.5.3a0 (r252:60911, Nov 23 2008, 14:19:07)
[GCC 4.3.3 20081122 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gtk import _gtk
>>>