dripton / Slugathon

Clone of the old Avalon Hill fantasy wargame Titan, using Python / PyGTK / Twisted
https://github.com/dripton/Slugathon/wiki
8 stars 2 forks source link

Flee object has no attribute "flee_dialog" #83

Closed dripton closed 15 years ago

dripton commented 15 years ago

I occasionally see:

File "/home/dripton/src/Slugathon/slugathon/Flee.py", line 76, in cb_response self.flee_dialog.destroy() AttributeError: 'Flee' object has no attribute 'flee_dialog'

It's intermittent, and I have no idea why. We don't have the kind of concurrency that should lead to such weird errors on cleanup.

dripton commented 15 years ago

[b9770b5a6eae4a2f9e53381a6bfb7cf0921f4731] reordered cb_click so that we destroy the dialog before we call the callback, but this didn't fix the problem.

dripton commented 15 years ago

Stop using gtk.Builder, in hopes this closed by 7d099e925fd88d09dbee16e518d6808041844951.