wx._core.wxAssertionError in wxPython
I’m working on my pet project. This project is a Windows app that displays ttf and otf fonts. Fonts mustn’t be installed on PC to be displayed. The code below is a prototype that shows symbols as wx.StaticText, and shows font metadata in another window if user wants to read it
wxPython perfectly shows all symbols, but I get such errors as wx._core.wxAssertionError when I click “Show Metadata” button. I click once, and metadata window is displayed perfectly, I click the second time, then I get this:
wx._core.wxAssertionError: C++ assertion “m_count > 0” failed at ….srccommonobject.cpp(336) in