As some of you may know, I have spent the last four years on a massive project that I can't reveal the details of due to the fact that it was going to be a commercial product. However, the company this product was for is close to shutting it's doors and I'm trying to convince the owners to allow me to open source this project. This project has become more to me than a "product". It's become a work of love, as imperfect as it is in places.
This project is a "kiosk-mode" program intended to be used with a touchscreen. It's also supposed to run indefinitely with no crashes. However, every three to seven days the program crashes. I have included in this email the exception logs with some parts redacted because they reveal the nature of this product. I have struggled with this problem for the past couple of years, and tried MANY things to fix it. However, I simply cannot seem to solve it.
Can I get some insight or wisdom into why this is happening?
Chris.
2012/02/25 07:05 --
Traceback (most recent call last):
File "ButtonLine.py", line 526, in SetToggledName
File "ButtonLine.py", line 516, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 494, in _RenderLabels
File "GraphicLabel.py", line 251, in GetSelectedBitmap
File "GraphicLabel.py", line 109, in AlignText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/03/02 12:06 --
Traceback (most recent call last):
File "ButtonLine.py", line 376, in SetIterator
File "ButtonLine.py", line 371, in SetSearchTerm
File "ButtonLine.py", line 355, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 157, in _RenderLabels
File "GraphicLabel.py", line 250, in GetSelectedBitmap
File "GraphicLabel.py", line 173, in OverlayText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/03/10 11:09 --
Traceback (most recent call last):
File "ButtonLine.py", line 442, in SetIterator
File "ButtonLine.py", line 535, in Reset
File "ButtonLine.py", line 516, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 496, in _RenderLabels
File "GraphicLabel.py", line 246, in GetBitmap
File "GraphicLabel.py", line 109, in AlignText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/03/15 12:26 --
Traceback (most recent call last):
File "ButtonLine.py", line 526, in SetToggledName
File "ButtonLine.py", line 516, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 494, in _RenderLabels
File "GraphicLabel.py", line 251, in GetSelectedBitmap
File "GraphicLabel.py", line 109, in AlignText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/03/26 10:46 --
Traceback (most recent call last):
File "ButtonLine.py", line 379, in SetIterator
File "ButtonLine.py", line 706, in Reset
File "ButtonLine.py", line 670, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 643, in _RenderLabels
File "GraphicLabel.py", line 245, in GetBitmap
File "GraphicLabel.py", line 173, in OverlayText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/03/31 12:03 --
Traceback (most recent call last):
File "ButtonLine.py", line 442, in SetIterator
File "ButtonLine.py", line 535, in Reset
File "ButtonLine.py", line 516, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 496, in _RenderLabels
File "GraphicLabel.py", line 246, in GetBitmap
File "GraphicLabel.py", line 109, in AlignText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC
2012/04/10 06:18 --
Traceback (most recent call last):
File "ButtonLine.py", line 379, in SetIterator
File "ButtonLine.py", line 706, in Reset
File "ButtonLine.py", line 670, in RefreshButtons
File "ButtonLine.py", line 231, in _RefreshButtons
File "ButtonLine.py", line 643, in _RenderLabels
File "GraphicLabel.py", line 245, in GetBitmap
File "GraphicLabel.py", line 173, in OverlayText
File "SubmersionServices.py", line 901, in RescaleKeepAspect
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 4857, in __init__
"""
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcmemory.cpp(118) in wxMemoryDC::DoSelect(): Couldn't select a bitmap into wxMemoryDC