On May 4, 2007, at 8:34 AM, Colin J. Williams wrote:
> I've tried out the Demos. SimpleDemo1 runs OK. The others seem to
> have a common glitch:
>
> Message File Name Line Position
> Traceback
> <module>
> C:\Python25\Lib\site-packages\dabo\DaboDemo\simpleDemo2.py 54
> main C:\Python25\Lib\site-packages\dabo\DaboDemo
> \simpleDemo2.py 51
> start C:\Python25\lib\site-packages\dabo\dApp.py 259
> setup C:\Python25\lib\site-packages\dabo\dApp.py 224
> initUIApp C:\Python25\lib\site-packages\dabo\dApp.py 251
> setup C:\Python25\lib\site-packages\dabo\ui\uiwx\uiApp.py 225
> __getattr__
> C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py 14033
> PyDeadObjectError: The C++ part of the DocStringForm object has been
> deleted, attribute access no longer allowed.
That's odd; I don't see that on any platform. Here's the code in
question: line 225 of uiApp.py:
224 if frm is not None:
225 if len(frm.Caption) == 0:
226 # The MainForm has no caption. Put in the
application name,
which by
227 # default (as of this writing) is "Dabo
Application"
228 frm.Caption = self.dApp.getAppInfo("appName")
The odd thing is that the traceback says simpleDemo2.py, but the
error lists 'DocStringForm' as the object, which is in simpleDemo1.py.
What exactly is happening to generate this error? Is it on launch?
Or on quitting?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]