[pygtk] import wnck error

Nigel Tao nigel.tao at myrealbox.com
Tue Jan 17 12:30:46 WST 2006


On Mon, 2006-01-16 at 12:33 +0700, Akbar wrote:
> I use Ubuntu Breezy Badger ( 5.10 ), Gnome 2.12. I installed
> gnome-python2-extra-devs version 2.12 by synaptic.
> 
> I run python.
> $ python
> 
> >>> import wnck
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/wnck.so: undefined
> symbol: wnck_window_demands_attention

This was a known bug that was fixed in more recent versions of
gnome-python-extras.  Bugs are tracked in GNOME's Bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=317366

Unfortunately, I don't think that the patch has hit Breezy, but it
should be fixed in Dapper, or otherwise you could try compiling g-p-e
from source (for which you will probably need libwnck-dev, amongst
others).


Nigel.



More information about the pygtk mailing list