#1163: Error opening saved form in ClassDesigner
-----------------------+----------------------------------------------------
Reporter: mikemabey | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.8.3
Component: ide | Version: 0.8.3
Keywords: |
-----------------------+----------------------------------------------------
Using revision 4359, when I'm using the ClassDesigner, save the project,
close everything, then try to reopen the "named" saved project, the
following error is given:
Traceback (most recent call last):
File "C:\src\dabo\ui\uiwx\dMenuItem.py", line 55, in __onWxHit
self.raiseEvent(dEvents.Hit, evt)
File "C:\src\dabo\ui\uiwx\dPemMixin.py", line 924, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "C:\src\dabo\lib\eventMixin.py", line 92, in raiseEvent
bindingFunction(event)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 1725, in
onOpenDesign
self.openClass(ff)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 697, in
openClass
obj = self.recreateChildren(frm.mainPanel, kids, None, False)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 849, in
recreateChildren
self.recreateChildren(parent, [kid], sz, True)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 1057, in
recreateChildren
self.recreateChildren(obj, kids, None, False)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 849, in
recreateChildren
self.recreateChildren(parent, [kid], sz, True)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 849, in
recreateChildren
self.recreateChildren(parent, [kid], sz, True)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 885, in
recreateChildren
obj = self.recreateChildren(parent, [kid], sz, True)
File "C:\Program Files\dabodev\Dabo IDE\ClassDesigner.py", line 779, in
recreateChildren
sz = pnl.ControllingSizer
AttributeError: 'NoneType' object has no attribute 'ControllingSizer'
Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.8.4; Revision ~4359
UI Version: 2.8.1.1 on wxMSW
Even though I wasn't able to reopen the "named" version of the project, I
was able to sort the temporary files by date modified, open the most
recently modified .cdxml file, and continue working. So this problem
hasn't completely stopped me from making progress, but for others that
might run into this problem, they'll have to figure out the same
workaround that I did until there's a fix.
--
Ticket URL: <http://trac.dabodev.com/ticket/1163>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]