[wxPython-users] wxWizard (fwd)

Susanne Lefvert lefvert at mcs.anl.gov
Fri Sep 19 15:01:08 CDT 2003


I'm posting this to the list because I don't really know why this error 
occurs when I run the NodeSetupWizard. Any ideas?

Susanne

---------- Forwarded message ----------
Date: Fri, 19 Sep 2003 12:48:38 -0700
From: Robin Dunn <robin at alldunn.com>
Reply-To: wxPython-users at lists.wxwindows.org
To: wxPython-users at lists.wxwindows.org
Subject: Re: [wxPython-users] wxWizard

Susanne Lefvert wrote:
> Sometimes when I cancel my wizard I'm getting this error on linux. Does 
> anybody know what might cause it? This is how I run it:
> 
> 
> pp = wxPySimpleApp()
> n = MyWizard()
> n.Destroy()
> 
> 
> I suspect the Destroy() call is causing it, but if I leave that out, 
> running the wizard on windows will tell me that I still have open 
> windows (and the wxPython documentation says 'don't forget to call 
> Destroy on the wizard'). This is the exception that I sometimes get:
> 
> Unhandled exception in thread:
> Traceback (most recent call last):
>   File "/usr/src/build/87651-i386/install/usr/lib/python2.2/threading.py", 
> line 424, in __bootstrap
>   File "/usr/src/build/87651-i386/install/usr/lib/python2.2/threading.py", 
> line 433, in __delete
> AttributeError: 'NoneType' object has no attribute 'acquire'
> 

Do you import and use threading?  wxPython itself doesn't...

What does MyWizard look like?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help at lists.wxwindows.org





More information about the ag-dev mailing list