Hello, Am 16.01.2011 14:17, schrieb Sibylle Koczian: > Hello, > > Am 15.01.2011 22:38, schrieb Ed Leafe: >> On Jan 13, 2011, at 10:53 AM, Sibylle Koczian wrote: >> >>> Done, here it is: >>> >>> http://dabo.codepad.org/ZhkzIwkr >> >> OK, thanks, that helped. Turns out that some of the column properties >> were choking because their underlying attributes had not been >> initialized. I've posted a fix; let me know if that works for you. >> > > My first answer wasn't complete: I just ran my test application and that > worked. But now I tried to load that panel again into the ClassDesigner > and got a new exception: > > sib@gespenst-xubuntu:~/bin/dabosib$ ~/src/dabo-trunk/ide/ClassDesigner.py > Traceback (most recent call last): > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 4417, in > <module> > clsDes = ClassDesigner(f) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 256, in > __init__ > frm = self.onNewDesign(None) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 2035, in > onNewDesign > return self.openClass(dlg.fileToOpen) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 744, in > openClass > obj = self.recreateChildren(frm.mainPanel, kids, None, False) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1249, in > recreateChildren > ret = self._recreateControl() > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1023, in > _recreateControl > self.recreateChildren(obj, kids, None, False) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1244, in > recreateChildren > ret = self._recreateLayoutSizer() > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 874, in > _recreateLayoutSizer > self.recreateChildren(parent, [kid], sz, True) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1249, in > recreateChildren > ret = self._recreateControl() > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1010, in > _recreateControl > self._recreateKidsForGrid(obj, kids) > File "/home/sib/src/dabo-trunk/ide/ClassDesigner.py", line 1038, in > _recreateKidsForGrid > typ = type(getattr(col, kprop)) > AttributeError: 'controlMix' object has no attribute 'classID' > sib@gespenst-xubuntu:~/bin/dabosib$ ~/src/dabo-trunk/ide/ClassDesigner.py > > That doesn't happen if I load a saved panel without a grid or if I load > a saved form. > > Latest version information: > > Platform: GTK > Python Version: 2.6.6 on linux2 > Dabo Version: Version 0.9.3; Revision 6321M > UI Version: 2.8.11.0 on wxGTK (gtk2) >
No change with Rev. 6334. Should I perhaps open a ticket on the tracker, so this doesn't get lost? Greetings, Sibylle _______________________________________________ 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/[email protected]
