I get this error on my laptop if I try to open an app on the IDE when an existing app was open The new app opens partially then crashes:-
Traceback (most recent call last):
File "AppStudio.pyw", line 459, in <module>
File "wx\core.py", line 2237, in MainLoop
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(470) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed
wondering if it’s ‘memory clearing’ failure ?
Anyway, something for you guys to look at.
It’s a difficult one.
Ultimately it come down to system resources (CPU/ Memory) I think.
The same project opens ok on my Desktop.
The laptop struggles…
The laptop isn’t a bad one…Intel(R) Core™ i7-6500U CPU @ 2.50GHz 2.60 GHz
My projects tend to be quite large… (35 forms / lots of code)
I’ve now used the View > Close Other Tabs
Then I closed the project and opened again and now I can open the ‘problem’ form which was one of the last 2 to load up before.
This has resolved the issue.
One thing which I could suggest is that on loading up the IDE should it always open the last project or should it open up with no project open?
Moot point now, i guess, now that I can sort out the sluggish behaviour, lol.
Just goes to show how something that you’ve been working with for years can surprise you, sometimes with mundane features you didn’t know existed!
I used ‘Close Other Tabs’ in Chrome all the time, which makes it even worse for me!
Anyway, thanks for the help. will make things much better, I think!