[pygtk] Problem with ATK

Росен Стоянов f1r3fl3x at gmail.com
Fri Jun 24 03:18:28 WST 2011


Hey guys, i've just upgraded from Fedora 14 to Fedora 15 and i think PyGTK
broke somehow. It can't import ATK. I reinstalled it, i reinstalled Python,
PyGTK2, ATK, GTK2, but nothing happened.
Look at the terminal output:

> [pockata at homePC ~]$ python
> Python 2.7.1 (r271:86832, Apr 12 2011, 16:16:18)
> [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import atk
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: /usr/lib/python2.7/site-packages/gtk-2.0/atk.so: undefined
> symbol: atk_hyperlink_impl_get_type
>

Here's what i get when i run Alacarte or any other python app that uses
PyGTK:

[pockata at homePC ~]$ alacarte
> /usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40:
> RuntimeWarning: tp_compare didn't return -1 or -2 for exception
>   from gtk import _gtk
> ImportError: could not import atk
> Traceback (most recent call last):
>   File "/usr/bin/alacarte", line 36, in <module>
>     main()
>   File "/usr/bin/alacarte", line 32, in main
>     app = MainWindow(datadir, version, sys.argv)
>   File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 50,
> in __init__
>     self.tree = gtk.Builder()
> AttributeError: 'module' object has no attribute 'Builder'
>

Does anyone have any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110623/d49bef68/attachment.html>


More information about the pygtk mailing list