debugging - Serious instability with pygtk 2.22 and python 2.6 -


has come across this?

i've taken gtk helloworld sample. runs fine. however, if import win32ui, not shutdown (as explained in this question ).

there other problems. in process of narrowing down application see caused not shutdown, came upon point deconstructing logger class had written had no problems with. in constructor had line:

self.logger = logger 

i had commented out rest of class self.logger not used. if left line as-is, error upon clicking "hello world" button:

c:\python26\lib\site-packages\twisted\internet\gtk2reactor.py:350: gtkwarning: gtk_widget_destroy: assertion `gtk_is_widget (widget)' failed   gtk.main() 

if change line to:

self.logger = 0 

then error not show up. happened various other lines of code in logger class well. suspect happen other random bits of code, too. in case - setting variable isn't used should not cause kind of problem. note @ point still using twisted pygtk. haven't reproduced yet gtk.

this makes me suspect pygtk being unstable... has come across before? there can do? reason updated gtk 2.12 because application crash randomly, far worse.

update: bugs happen on 64-bit windows 7. i've tried both 32-bit python versions listed above, , 64-bit python pygtk-2.17.1, pygobject-2.21.2, pycairo-1.8.8 , pywin32-214.

so far win32ui bug not happen same install on windows xp virtualbox virtual machine.

i've tried on different install of win7 64-bit on different computer, , worked fine. it's strange thing hardware/other software on particular computer. nothing gtk or win32 related.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -