Hey all,
Novice python user here, and I’ve gone and written something WAY more complex than I could have thought I was capable of doing. That said, I contributed to this app: https://github.com/henkelis/sonospy
By writing everything in the gui/ directory (and sonospyGUI.py in the root).
Here’s the deal – things worked swimmingly under wxPython 2.8x. I recently upgraded to wxPython 3.0x and I have now started getting SO MANY MORE asserts on stuff that I wrote years ago. Works FINE under 2.8x, but not under 3.0x. Here’s the assert I get:
Traceback (most recent call last):
File “C:\src\ide\bin\2.7\src/debug/tserver_wxhooks.pyc”, line 186, in Notify
File “C:\src\ide\bin\2.7\src/debug/tserver_wxhooks.pyc”, line 165, in __TimerCallback
File “C:\src\ide\bin\2.7\src/debug/tserver_wxhooks.pyc”, line 25, in iscallable
File “C:\src\ide\bin\2.7\src/debug/tserver\dbgserver.pyc”, line 2523, in _CB_Idle
wx._core.PyAssertionError: C++ assertion “m_pendingEvents && !m_pendingEvents->IsEmpty()” failed at …\src\common\event.cpp(1306) in wxEvtHandler::ProcessPendingEvents(): should have pending events if called
I have googled it, and found a trac bug: http://trac.wxwidgets.org/ticket/9093
But I don’t know how to apply the patch on Windows and furthermore, I don’t know how to apply the patch for distribution on github.com…
Since 2.8x isn’t really on the website any longer, I am hoping to properly update the app for 3.0x, but I am WAY out of my depth.
Please help?
-Chow