Ticket #1150 (new defect)

Opened 3 months ago

Tracebacks in ClassDesigner

Reported by: Rottweiler Assigned to:
Priority: major Milestone: No Milestone
Component: ide Version: 0.8.3
Keywords: fontface, ClassDesigner, traceback Cc:

Description

After change the fontface in a dLabel to Tahoma, I get this traceback from ClassDesigner?:

C:\projects\dabo\auction>classdesigner CarAuctionForm.cdxml
Dabo Info Log: Wed Apr 09 12:12:42 2008: 2 database connection definition(s) loaded.
Dabo Info Log: Wed Apr 09 12:12:42 2008: User interface already set to 'wx', so dApp didn't touch it.
Dabo Info Log: Wed Apr 09 12:12:42 2008: wxPython Version: 2.8.1.1 wxMSW (ascii)
Dabo Info Log: Wed Apr 09 12:12:42 2008: 2 database connection definition(s) loaded.
Traceback (most recent call last):
  File "C:\dabodev\ide\ClassDesigner.py", line 4088, in <module>
    clsDes = ClassDesigner(f)
  File "C:\dabodev\ide\ClassDesigner.py", line 171, in __init__
    frm = self.openClass(clsFile)
  File "C:\dabodev\ide\ClassDesigner.py", line 698, in openClass
    obj = self.recreateChildren(frm.mainPanel, kids, None, False)
  File "C:\dabodev\ide\ClassDesigner.py", line 1042, in recreateChildren
    self.recreateChildren(obj, kids, None, False)
  File "C:\dabodev\ide\ClassDesigner.py", line 948, in recreateChildren
    sz = obj.ControllingSizer
AttributeError: 'NoneType' object has no attribute 'ControllingSizer'

Afterwards the form designer seems to be hung while the other 2 windows are responsive. The problem is repeatable - and seems to render this file uneditable in ClassDesigner?.

Using r4032 on W2k Pro.

Attachments

CarAuctionForm.cdxml (408 bytes) - added by Rottweiler on 04/09/2008 11:20:31 AM.
cdxml file
CarAuctionForm-code.py (219 bytes) - added by Rottweiler on 04/09/2008 11:22:19 AM.
py file

Change History

04/09/2008 11:20:31 AM changed by Rottweiler

  • attachment CarAuctionForm.cdxml added.

cdxml file

04/09/2008 11:22:19 AM changed by Rottweiler

  • attachment CarAuctionForm-code.py added.

py file