My commercial app is built with py2exe bundled with Python 2.5.2, wxPython 2.8.9.1, Dabo 0.9.0 and other libraries. I just received an automated error report I've never seen before and can't seem to reproduce on my system.
Can anyone help me diagnose, from this limited information, what could be the problem?
Here's the Dabo code for showContextMenu() in the version of Dabo that was bundled with this version of my app:
http://trac.dabodev.com/browser/trunk/dabo/ui/uiwx/dPemMixin.py?rev=4821#L1040
Here's the automated error message I received:
{{{
------- Error Notification
Customer: ---------------
License: e9b24db9-3fa4-4480-9781-ea2fca68e7f3
User Timestamp: 2008-12-18 01:31:36.775000
Server Timestamp: 2008-12-18 01:31:31.080598
Version, Platform: 0.9.27 Windows-XP-5.1.2600-SP2
Exception Object: C++ assertion "(nBmpWidth <= rc.GetWidth()) && (nBmpHeight <= rc.GetHeight())" failed at ..\..\src\msw\ownerdrw.cpp(465) in wxOwnerDrawn::OnDrawItem()
Exception Type: <class 'wx._core.PyAssertionError'>
Active Form: <frmProductionOrders (baseclass dabo.ui.dForm, id:-4215)>
Active Control: <grdProductionOrderOpenings (baseclass dabo.ui.dGrid, id:-4264)>
Traceback (most recent call last):
File "dabo\ui\uiwx\dGrid.pyc", line 3848, in __onWxMouseRightUp
File "dabo\ui\uiwx\dPemMixin.pyc", line 942, in raiseEvent
File "dabo\lib\eventMixin.pyc", line 92, in raiseEvent
File "dabo\ui\uiwx\dGrid.pyc", line 3329, in _onGridMouseRightClick
File "dabo\ui\uiwx\dPemMixin.pyc", line 1051, in showContextMenu
File "wx\_core.pyc", line 10206, in PopupMenu
<class 'wx._core.PyAssertionError'>: C++ assertion "(nBmpWidth <= rc.GetWidth()) && (nBmpHeight <= rc.GetHeight())" failed at ..\..\src\msw\ownerdrw.cpp(465) in wxOwnerDrawn::OnDrawItem()
···
=======================================================
User Notes:
=======================================================
}}}
Paul