Closed cmcknight closed 5 years ago
I think the problem is that I was calling Destroy()
in a couple of the event handlers instead of Close()
. This causes wxPython to try to call Destroy() a second time when it gets out of the with
statement in main.py
Anyway, give the latest code a try and see if it is fixed. That seemed to fix it for my on my Mac
Hi Mike,
Yeah, that seems to have fixed it. :-) And now on to Chapter 6 tomorrow. :-D
Regards,
Chuck
On Mar 6, 2019, at 6:23 PM, Mike Driscoll notifications@github.com wrote:
I think the problem is that I was calling Destroy() in a couple of the event handlers instead of Close(). This causes wxPython to try to call Destroy() a second time when it gets out of the with statement in main.py
Anyway, give the latest code a try and see if it is fixed. That seemed to fix it for my on my Mac
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/driscollis/applications_with_wxpython/issues/1#issuecomment-470357516, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHtYW7cosAdYTT9O9oG_6QuAmtTzYYOks5vUHgLgaJpZM4bhcZ1.
Hi Mike,
I’m assuming that the book text will be updated as well. :-)
Chuck
P.S. Believe me that I do feel your pain. When I published an eBook on robotics there were 2-3 months where my end users were reporting defects that I had somehow missed and I was constantly editing things! :-)
On Mar 7, 2019, at 6:54 AM, Mike Driscoll notifications@github.com wrote:
Closed #1 https://github.com/driscollis/applications_with_wxpython/issues/1.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/driscollis/applications_with_wxpython/issues/1#event-2187448312, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHtYSzznt_FlNSBNc89lK2pBb6WD0jMks5vUSghgaJpZM4bhcZ1.
Yes, I updated the book last night. You just need to download a new copy.
And I expect a lot of bugs for the next couple of months. That's part of why I do Kickstarters is to work out the kinks in the book. Thanks for the help!
I set up a Python 3.7 virtual environment, installed sqlalchemy, ObjectListView, and wxPython via pip. The steps to recreate (at least on my system, MacOS 10.14.3, 32GB RAM, etc., 2018 iMac) are:
I have to use Force Quit from the Apple menu to kill the Python instance.