GNOME Bugzilla – Bug 320221
Import gtk won't work if pygtk has been imported first.
Last modified: 2006-04-02 17:13:03 UTC
What happens: I get this error message: Traceback (most recent call last):
+ Trace 63790
import gtk
What I would expect to happen is a 200x200 pixel window to be created. The program base.py can be found here: http://www.pygtk.org/pygtk2tutorial/examples/base.py If the lines import pygtk and pygtk.require('2.0') are not included, the program works fine.
Is this when running the demo with a uninstalled copy of pygtk? Can you check to see if this still occurs and provide instructions on how to reproduce it?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 310563 ***