Pyfa crashes when I search my library
First noticed this behavior in 2.16.0. I have a pretty large library of ships and as I type my search Pyfa will hang, won't generate an error but it freezes. I have to restart. If there is an error log somewhere let me know and I can upload it.
Try following:
- All your data is contained in
/.pyfa/saveddata.db. Close pyfa, move it somewhere temporarily (and do not touch until you are done with testing), launch pyfa again, create a few fits and try searching. Tell me if it works or not. If it works send me your saveddata.db (which you backed up) to [email protected]as well. - If it works - delete your freshly created saveddata.db, then try downgrading pyfa to v2.15.1 and copying your latest saveddata.db migration file (by modification date which you should be able to see in file manager) and renaming it to saveddata.db so that pyfa picks it up. After that tell me if v2.15.1 works or not. If it works, send me the migration file which you used here.
I haven't been able to do those steps yet, but I was hitting the back button today in the ship browser and received this error.
pyfa v2.16.0 EVE Data Version: 1646988 (2020-01-16 06:39:23)
OS version: Windows-10-10.0.18362-SP0 Python version: 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] wxPython version: 4.0.6 (wxWidgets 3.0.5) SQLAlchemy version: 1.3.12 Logbook version: 1.5.3 Requests version: 2.22.0 Dateutil version: 2.8.1
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\chrome_tabs.py", line 880, in OnMotion File "C:\projects\pyfa\gui\chrome_tabs.py", line 1052, in CheckCloseHighlighted File "C:\projects\pyfa\gui\chrome_tabs.py", line 421, in ShowCloseButtonHovering File "C:\projects\pyfa\gui\chrome_tabs.py", line 554, in _Render AttributeError: '_TabRenderer' object has no attribute 'tab_bitmap'
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\chrome_tabs.py", line 880, in OnMotion File "C:\projects\pyfa\gui\chrome_tabs.py", line 1056, in CheckCloseHighlighted File "C:\projects\pyfa\gui\chrome_tabs.py", line 421, in ShowCloseButtonHovering File "C:\projects\pyfa\gui\chrome_tabs.py", line 554, in _Render AttributeError: '_TabRenderer' object has no attribute 'tab_bitmap'
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A210>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A350>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A490>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A5D0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A490>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A5D0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A350>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A490>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A210>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A350>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A0D0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method SFBrowserItem.OnPaint of <gui.builtinShipBrowser.categoryItem.CategoryItem object at 0x36D1A210>> returned a result with an error set
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\categoryItem.py", line 107, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
This is likely unrelated, but I will look into it before next release.
edit: I am unsure what could have caused it, most likely some bug deep down in wxpython/wxwidgets (the toolkit we use to build UI). I am updating its version for next release, so maybe it will resolve similar issues. I was not able to replicate it on my Windows machine.
https://i.imgur.com/m28yvCp.png
here's an error I'm getting when pyfa crashes after I search for something, it hands, and I close the app. I haven't been able to figure out the exact reason, it's hard to reproduce. But it appears that the more entries I have for that search the more likely the crash is (I have A LOT of saved fits)
Had an error searching for a proteus
https://i.imgur.com/hQmGyQv.png
pyfa v2.16.2 EVE Data Version: 1651039 (2020-01-21 06:55:29)
OS version: Windows-10-10.0.18362-SP0 Python version: 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] wxPython version: 4.0.7.post2 (wxWidgets 3.0.5) SQLAlchemy version: 1.3.12 Logbook version: 1.5.3 Requests version: 2.22.0 Dateutil version: 2.8.1
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 285, in OnPaint wx._core.wxAssertionError: C++ assertion "Assert failure" failed at ....\src\msw\dcmemory.cpp(130) in wxMemoryDCImpl::DoSelect(): Couldn't select a bitmap into wxMemoryDC
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 285, in OnPaint wx._core.wxAssertionError: C++ assertion "!bitmap.GetSelectedInto() || (bitmap.GetSelectedInto() == GetOwner())" failed at ....\src\msw\dcmemory.cpp(116) in wxMemoryDCImpl::DoSelect(): Bitmap is selected in another wxMemoryDC, delete the first wxMemoryDC or use SelectObject(NULL)
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 292, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 236, in Render wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 292, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 236, in Render wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\chrome_tabs.py", line 1186, in OnPaint wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E293CB0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E2940D0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E294490>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E294A30>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E294DF0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E295210>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E2955D0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E295B70>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E295F30>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E296350>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E296710>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E296D00>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E298120>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E2984E0>> returned a result with an error set
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <bound method PyGauge.OnPaint of <gui.pyfa_gauge.PyGauge object at 0x1E2988A0>> returned a result with an error set
Getting errors when I search now, for instance I searched for "astarte" and it threw this error now (before it wasn't).
pyfa v2.16.3 EVE Data Version: 1655072 (2020-01-28 06:32:29)
OS version: Windows-10-10.0.18362-SP0 Python version: 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] wxPython version: 4.0.7.post2 (wxWidgets 3.0.5) SQLAlchemy version: 1.3.13 Logbook version: 1.5.3 Requests version: 2.22.0 Dateutil version: 2.8.1
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 285, in OnPaint wx._core.wxAssertionError: C++ assertion "!bitmap.GetSelectedInto() || (bitmap.GetSelectedInto() == GetOwner())" failed at ....\src\msw\dcmemory.cpp(116) in wxMemoryDCImpl::DoSelect(): Bitmap is selected in another wxMemoryDC, delete the first wxMemoryDC or use SelectObject(NULL)
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\shipItem.py", line 250, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "C:\projects\pyfa\gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\chrome_tabs.py", line 880, in OnMotion File "C:\projects\pyfa\gui\chrome_tabs.py", line 1052, in CheckCloseHighlighted File "C:\projects\pyfa\gui\chrome_tabs.py", line 421, in ShowCloseButtonHovering File "C:\projects\pyfa\gui\chrome_tabs.py", line 577, in _Render wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ....\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
####################
Traceback (most recent call last): File "C:\projects\pyfa\gui\chrome_tabs.py", line 880, in OnMotion File "C:\projects\pyfa\gui\chrome_tabs.py", line 1056, in CheckCloseHighlighted File "C:\projects\pyfa\gui\chrome_tabs.py", line 421, in ShowCloseButtonHovering File "C:\projects\pyfa\gui\chrome_tabs.py", line 554, in _Render AttributeError: '_TabRenderer' object has no attribute 'tab_bitmap'
I am getting this stack trace running from code on win10.
module|current|latest
Logbook | 1.5.3 | 1.5.3
Pillow | 6.2.1 | 7.0.0
PyInstaller | 3.3 | 3.6
PyYAML | 5.2 | 5.3
SQLAlchemy | 1.3.11 | 1.3.13
altgraph | 0.16.1 | 0.17
beautifulsoup4 | 4.6.0 | 4.8.2
certifi | 2019.11.28 | 2019.11.28
cffi | 1.13.2 | 1.14.0
chardet | 3.0.4 | 3.0.4
cryptography | 2.8 | 2.8
cycler | 0.10.0 | 0.10.0
future | 0.18.2 | 0.18.2
idna | 2.8 | 2.8
kiwisolver | 1.1.0 | 1.1.0
macholib | 1.11 | 1.14
markdown2 | 2.3.5 | 2.3.8
matplotlib | 3.1.3 | 3.1.3
numpy | 1.16.4 | 1.18.1
packaging | 16.8 | 20.1
pefile | 2019.4.18 | 2019.4.18
pip | 19.0.3 | 20.0.2
pycparser | 2.19 | 2.19
pyparsing | 2.4.5 | 2.4.6
pypiwin32 | 223 | 223
python-dateutil | 2.8.1 | 2.8.1
pywin32 | 227 | 227
requests | 2.22.0 | 2.22.0
roman | 2.0.0 | 3.2
setuptools | 40.8.0 | 45.2.0
six | 1.13.0 | 1.14.0
urllib3 | 1.25.7 | 1.25.8
wxPython | 4.0.7.post2 | 4.0.7.post2
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 56, in HandleException
cls.__frame = ErrorFrame(cls.__parent)
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 85, in __init__
headingText.SetFont(wx.Font(14, 74, 90, 92, False))
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\chrome_tabs.py", line 1188, in OnPaint
mdc.DrawBitmap(self.add_button.Render(), ax, ay, True)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\chrome_tabs.py", line 1196, in OnPaint
mdc.DrawBitmap(self.fxBmps[tab], posx, posy, True)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\chrome_tabs.py", line 1196, in OnPaint
mdc.DrawBitmap(self.fxBmps[tab], posx, posy, True)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 292, in OnPaint
self.toolbar.Render(mdc)
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 236, in Render
pdc.DrawBitmap(dropShadowBmp, bx + self.padding / 2, self.toolbarY + self.padding / 2)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 292, in OnPaint
self.toolbar.Render(mdc)
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 236, in Render
pdc.DrawBitmap(dropShadowBmp, bx + self.padding / 2, self.toolbarY + self.padding / 2)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 220, in OnPaint
dc = wx.AutoBufferedPaintDC(self)
SystemError: <class 'wx._core.AutoBufferedPaintDC'> returned a result with an error set
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 56, in HandleException
cls.__frame = ErrorFrame(cls.__parent)
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 84, in __init__
headingText = wx.StaticText(self, wx.ID_ANY, error_title, wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 318, in OnPaint
dc.DrawBitmap(gradient_bitmap, r.left, r.top)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 318, in OnPaint
dc.DrawBitmap(gradient_bitmap, r.left, r.top)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 318, in OnPaint
dc.DrawBitmap(gradient_bitmap, r.left, r.top)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfadev\gui\pyfa_gauge.py", line 352, in OnPaint
dc.DrawLabel(format.format(value), r, wx.ALIGN_CENTER)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
I am at loss what could've caused this. Could you try installing older versions of logbook and see if it helps?
New version, similar (but not the exact same) crashes on search. What is logbook? Happy to install it if it helps.
pyfa v2.17.0 EVE Data Version: 1663997 (2020-02-11 08:13:50)
OS version: Windows-10-10.0.18362-SP0 Python version: 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] wxPython version: 4.0.7.post2 (wxWidgets 3.0.5) SQLAlchemy version: 1.3.13 Logbook version: 1.5.3 Requests version: 2.22.0 Dateutil version: 2.8.1
####################
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
SystemError: <function SFBrowserItem.OnPaint at 0x000001D36372BDC0> returned a result with an error set
####################
Traceback (most recent call last): File "gui\builtinShipBrowser\sfBrowserItem.py", line 291, in OnPaint File "gui\builtinShipBrowser\fitItem.py", line 495, in DrawItem wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ....\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Could you describe how often does it happen (1 search out of 5? 10?), how generic the search keyword is (how much results did you expect to receive), and send your fitting database files to [email protected] (stripping of any sensitive data if you wish)?
It happens on every search, the search would return hundreds of fits.
Changing logbook version to 1.4.4 didnt help.
Could you try using python 3.8.1 64 bit, wiping its pip cache (or using --no-cache-dir option) and reinstalling dependencies?
I have sent you my saveddata.db as i have made no progress with this so far.
Any progress on this?
I think I got your fit DB during vacation and when got back forgot to attempt to reproduce it. I will try today/tomorrow.
Do binary builds work for you btw? If they do, super likely it's some dependency issue. From your list i see wxpython 4.0.7post2. Try uninstalling it and using 4.0.6 with python 3.7 (not 3.8). I have not upgraded to 4.0.7 due to the way how it (mis)handles locales.
I replaced contents of requirements.txt with the following:
Logbook == 1.5.3
Pillow == 6.2.1
PyInstaller == 3.3
PyYAML == 5.2
SQLAlchemy == 1.3.11
altgraph == 0.16.1
beautifulsoup4 == 4.6.0
certifi == 2019.11.28
cffi == 1.13.2
chardet == 3.0.4
cryptography == 2.8
cycler == 0.10.0
future == 0.18.2
idna == 2.8
kiwisolver == 1.1.0
macholib == 1.11
markdown2 == 2.3.5
matplotlib == 3.1.3
numpy == 1.16.4
packaging == 16.8
pefile == 2019.4.18
pip == 19.0.3
pycparser == 2.19
pyparsing == 2.4.5
pypiwin32 == 223
python-dateutil == 2.8.1
pywin32 == 227
requests == 2.22.0
roman == 2.0.0
setuptools == 40.8.0
six == 1.13.0
urllib3 == 1.25.7
wxPython == 4.0.7.post2
Installed that into 64-bit python 3.7 (win10), moved your fit database into proper location and tried searching for a few times (common words like new, fit and few others), no crashes.
@Neugeniko how often does it crash for you?
Try use search string neug
1> Open pyfa 2> goto fit search 3> type 'neu' 4> add the 'g' to the end
It fails from .exe .zip and from code.
I tried running 64 bit python 3.7 (win10) with the provided requirements and same problem.
Okay, I reproduced it
No idea what the root cause is, i suppose wx was running out of some system resources (some handles or something similar), or maybe it was pyfa bug. Nevertheless, we did not limit amount of results returned by search, which is quite foolish. I limited it by 100 in ce80d92b3564589f075393f5e4ee9def7707c623.
Thanks.
I still get this even with the 100 limited fitlist, just not as often. I can happen quite often if i use the search term 'neug' and backspace it and re type it while clicking on a fit. seems like a timing thing really.
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\errorDialog.py", line 56, in HandleException
cls.__frame = ErrorFrame(cls.__parent)
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\errorDialog.py", line 84, in __init__
headingText = wx.StaticText(self, wx.ID_ANY, error_title, wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE)
wx._core.wxAssertionError: C++ assertion "m_hdc" failed at ..\..\src\msw\textmeasure.cpp(64) in wxTextMeasure::BeginMeasuring(): Must not be used with non-native wxDCs
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 292, in OnPaint
self.toolbar.Render(mdc)
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 236, in Render
pdc.DrawBitmap(dropShadowBmp, bx + self.padding / 2, self.toolbarY + self.padding / 2)
wx._core.wxAssertionError: C++ assertion "dataDst && dataSrc" failed at ..\..\src\msw\dc.cpp(2832) in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
wx._core.wxAssertionError: C++ assertion "bmp.IsOk()" failed at ..\..\src\msw\dc.cpp(1313) in wxMSWDCImpl::DoDrawBitmap(): invalid bitmap in wxMSWDCImpl::DrawBitmap
Error in sys.excepthook:
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ..\..\src\common\dcbufcmn.cpp(132) in wxBufferedDC::UnMask(): invalid backing store
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\errorDialog.py", line 42, in HandleException
with config.logging_setup.threadbound():
File "logbook\_speedups.pyx", line 154, in logbook._speedups.StackedObject.threadbound
File "logbook\_speedups.pyx", line 158, in logbook._speedups.StackedObject.threadbound
SystemError: <class 'logbook._speedups._StackBound'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "C:\Program Files (x86)\Newark\prog\Pyfa\gui\builtinShipBrowser\sfBrowserItem.py", line 289, in OnPaint
mdc.DrawBitmap(self.bkBitmap, 0, 0)
Basically if I search then backspace and search then backspace a few times it uses all the resources up again and makes this crash even with the 100 limit of fit results.
I feel like I've seen this before. A while ago so my memory might not be serving me well here.
This might happen if we're doing GUI things in a secondary thread. The fact that this is happening during search (which is spun off to it's own thread for performance) also reinforces this. If we have some sort of non-thread-safe callback that is rendering widgets, this might happen.
Looks like this was a similar issue: #1723
Unfortunately, I could not reproduce at the time and there wasn't much information available apart from the errors, so I chalked it up to a fluke
I did have a look around for possible solutions like implementing, https://wiki.wxpython.org/CallAfter, or something but is beyond me.
I can take a look tonight to see what I can find out, but not being able to reproduce it myself I expect this will be a situation where tweaks are make and a build is provided for testing :/