[wxPython-users] wxWizard (fwd)

Susanne Lefvert lefvert at mcs.anl.gov
Fri Sep 19 15:42:02 CDT 2003


Do you know what might cause that? I'm not using threads, just 
AGNodeService and logging. AGNodeService seem to shut down properly 
though. Btw, code's in bin/NodeSetupWizard.py. 

Thanks,

Susanne

On Fri, 19 Sep 2003, Robert Olson wrote:

> the code in question is here:
> 
>      def __delete(self):
>          _active_limbo_lock.acquire()
>          del _active[_get_ident()]
>          _active_limbo_lock.release()
> 
> 
> somehow the active_limbo_lock is getting nulled out.
> 
> --bob
> 
> At 03:13 PM 9/19/2003 -0500, Susanne Lefvert wrote:
> >Ah, I probably didn't shut down the node stuff properly.
> >
> >Susanne
> >
> >On Fri, 19 Sep 2003, Susanne Lefvert wrote:
> >
> > >
> > > 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