[pygtk] strange behaviour with py2exe
Yann Leboulanger
asterix at lagaule.org
Mon Feb 22 20:51:46 WST 2010
Hi all,
My application uses those lines:
gtk_icon_theme = gtk.icon_theme_get_default()
gtk_icon_theme.append_search_path(DIR)
It works well when I run it from command line.
Now if I run py2exe on my app, when I run it I have this error:
Traceback (most recent call last):
File "gajim.py", line 157, in <module>
AttributeError: 'gtk.IconTheme' object has no attribute 'append_search_path
I use gtk 2.16.5, pygtk 2.16.0, python2.6
Any idea why this error arrives, but only once py2exe'ed?
--
Yann
More information about the pygtk
mailing list