Hi,
I am encountering an error when running pygtk applications in Windows
with gtk runtime version 2.22.1, python 2.6.6, using the
pygtk-all-in-one-2.22.6.win32-py2.6.msi installer from
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/ .
The issue is that right-clicking on the top bar of a window, or in the
task bar to bring up the system menu, clicking an option in that menu,
and then clicking again a second time produces the following error dialog:
"Microsoft Visual C++ Runtime Error
This program has requested the runtime to terminate in an unusual way.
Please contact the application's support team for more information."
and the following error at the command line:
"Gdk:ERROR:gdkevents-win32.c:1649:_gdk_win32_being_modal_call: assertion
failed: (!_modal_operation_in_progress)"
This happens on both the main window and dialog boxes, but also when
running the simple example below:
import gtk
w = gtk.Window(gtk.WINDOW_TOPLEVEL)
w.show_all()
gtk.main()
This error can be reproduced in both Windows XP and Windows Vista.
sys.path is:
['', 'C:\\Windows\\system32\\python26.zip', 'c:\\Python26\\DLLs',
'c:\\Python26\\lib', 'c:\\Python26\\lib\\plat-win',
'c:\\Python26\\lib\\lib-tk', 'c:\\Python26',
'c:\\Python26\\lib\\site-packages',
'c:\\Python26\\lib\\site-packages\\gtk-2.0']
The issue does not appear to manifest when using gtk runtime version 2.12.
Has anyone else encountered/fixed this problem, or have any ideas what
the problem could be?
Thanks very much,
Liz
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/