google-code-export / labyrinth

Automatically exported from code.google.com/p/labyrinth
GNU General Public License v2.0
2 stars 0 forks source link

pygtk.require() in labyrinth.py #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to [1.] should the pygtk.require('2.0') stand before you import gtk.

Otherwise i get: 
 File "labyrinth.py", line 33, in ?
    pygtk.require('2.0')
  File "/usr/lib/python2.4/site-packages/pygtk.py", line 61, in require
    assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk

1. http://faq.pygtk.org/index.py?req=show&file=faq02.004.htp

Original issue reported on code.google.com by sebastia...@gmail.com on 28 Mar 2008 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by sinfr...@gmail.com on 28 Mar 2008 at 4:26

GoogleCodeExporter commented 9 years ago

Original comment by sinfr...@gmail.com on 28 Mar 2008 at 4:26

GoogleCodeExporter commented 9 years ago
Fixed in revision 246.

Original comment by sinfr...@gmail.com on 28 Mar 2008 at 4:32