wx._core.PyAssertionError

A user of my software has sent me a screenshot containing an error (attached). As it doesn’t “trace-back” to anything in the application, I am at a bit of a loss. Does anyone have any ideas?

WinchesterErrorMessage.png

···


Regards
David Hughes

Sorry, Forgot to add:
Python 2.7.2
wxPython 2.9.4.0
Windows. version not known

DH

http://www.wxpython.org/docs/api/wx.Window-class.html#CaptureMouse

Are you capturing the mouse and not handling the capture lost event?

···

On Tuesday, January 15, 2013 11:02:17 AM UTC-5, David Hughes wrote:

Sorry, Forgot to add:
Python 2.7.2
wxPython 2.9.4.0
Windows. version not known

DH

Not in my application, but I am using Andrea’s LabelBook which does capture the mouse at one stage and, as far as I can see, the MouseCaptureLostEvent isn’t being handled. I know Andrea is a regular contributor to this list but I will cc him this as well. Thanks for your reply.

···

On Tuesday, 15 January 2013 19:54:19 UTC, dhyams wrote:

http://www.wxpython.org/docs/api/wx.Window-class.html#CaptureMouse

Are you capturing the mouse and not handling the capture lost event?


Regards
David Hughes
Forestfield Software

Hi David,

wxPython API Documentation — wxPython Phoenix 4.2.2 documentation

Are you capturing the mouse and not handling the capture lost event?

Not in my application, but I am using Andrea's LabelBook which does capture
the mouse at one stage and, as far as I can see, the MouseCaptureLostEvent
isn't being handled. I know Andrea is a regular contributor to this list but
I will cc him this as well. Thanks for your reply.

I'll take a look at it when I get back home: if I manage to fix it (it
shouldn't be too complicated) I'll upload the fixed version on SVN
tonight.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

···

On 16 January 2013 12:12, David Hughes wrote:

On Tuesday, 15 January 2013 19:54:19 UTC, dhyams wrote:

Hi David,

wxPython API Documentation — wxPython Phoenix 4.2.2 documentation

Are you capturing the mouse and not handling the capture lost event?

Not in my application, but I am using Andrea's LabelBook which does capture
the mouse at one stage and, as far as I can see, the MouseCaptureLostEvent
isn't being handled. I know Andrea is a regular contributor to this list but
I will cc him this as well. Thanks for your reply.

This should now be fixed in SVN.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

···

On 16 January 2013 12:12, David Hughes wrote:

On Tuesday, 15 January 2013 19:54:19 UTC, dhyams wrote: