Sorry, thought I put it in the first time PyAssertionError: C++ assertion "m_frozenness > 0" failed at ..\..\src\msw\window.cpp(1499) in wxWindow::Thaw(): Thaw() without matching Freeze()
Traceback (innermost last): File "d:\pyProject\pyProject\LotsMfrm1.py", line 1, in <module> import dabo File "d:\pyProject\pyProject\LotsMfrm1.py", line 428, in <module> app.start() File "d:\dabo\dabo\dApp.py", line 274, in start self.uiApp.start(self) File "d:\dabo\dabo\ui\uiwx\uiApp.py", line 250, in start self.MainLoop() File "c:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7786, in MainLoop wx.PyApp.MainLoop(self) File "c:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7147, in MainLoop return _core_.PyApp_MainLoop(*args, **kwargs) File "d:\dabo\dabo\ui\uiwx\dControlMixin.py", line 21, in _onWxHit self.raiseEvent(dEvents.Hit, evt, *args, **kwargs) File "d:\dabo\dabo\ui\uiwx\dPemMixin.py", line 837, in raiseEvent super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs) File "d:\dabo\dabo\lib\eventMixin.py", line 98, in raiseEvent bindingFunction(event) File "d:\pyProject\pyProject\RAClasses.py", line 901, in _vcrPrior self.vcrPrior() File "d:\pyProject\pyProject\RAClasses.py", line 949, in vcrPrior self.Form.unlockDisplay() File "d:\dabo\dabo\ui\uiwx\dPemMixin.py", line 755, in unlockDisplay self.Thaw() File "c:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 9530, in Thaw return _core_.Window_Thaw(*args, **kwargs) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul McNett Sent: Tuesday, June 19, 2007 12:36 AM To: Dabo Users list Subject: Re: [dabo-users] Lockdisplay [EMAIL PROTECTED] wrote: > Is there a property I can check to test if a form has already been frozen? > (lockDisplay) I am getting exceptions because I am hitting multiple > (nested) lockDisplay and unlockDisplay commands an it does not like > unlocking unless the form is currently locked... > > Example.. > > self.Form.lockDisplay > self.someproc() > self.Form.unlockDisplay > > > def someproc(self): > self.Form.lockDisplay > do something > self.Form.unlockDisplay Can I please see a traceback? What's the exception? -- pkm ~ http://paulmcnett.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
