#1202: Bug in ClassDesigner with
---------------------+------------------------------------------------------
Reporter: fabix | Owner: ed
Type: defect | Status: assigned
Priority: major | Milestone: 0.9.2
Component: ui | Version: 0.9.1
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by pocho93):
I had the same problem:
T
{{{
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dMenuItem.py", line
57, in __onWxHit
self.raiseEvent(dEvents.Hit, evt)
File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dPemMixin.py", line
949, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/usr/lib/python2.5/site-packages/dabo/lib/eventMixin.py", line 93,
in raiseEvent
bindingFunction(event)
File "/home/fernando/src/dabo/ide/ClassDesigner.py", line 1668, in
onSaveDesign
self.wrapSave(self.CurrentForm.onSaveDesign, evt)
File "/home/fernando/src/dabo/ide/ClassDesigner.py", line 1822, in
wrapSave
func(*args, **kwargs)
File "/home/fernando/src/dabo/ide/ClassDesignerFormMixin.py", line 477,
in onSaveDesign
propDict = self.getDesignerDict()
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 257,
in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 463,
in getChildrenPropDict
ret.append(sz.getDesignerDict(itemNum=len(ret), classDict=szDict))
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 257,
in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line
1061, in getChildrenPropDict
classDict=winDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 257,
in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 463,
in getChildrenPropDict
ret.append(sz.getDesignerDict(itemNum=len(ret), classDict=szDict))
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 257,
in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line
1076, in getChildrenPropDict
classDict=szrDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line 257,
in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "/home/fernando/src/dabo/ide/ClassDesignerComponents.py", line
1648, in getChildrenPropDict
kidDict["attributes"]["rowColPos"] = self.getGridPos(kid)
File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dGridSizer.py", line
304, in getGridPos
row, col = szit.GetPos()
AttributeError: 'SizerItem' object has no attribute 'GetPos'
}}}
Python 2.5.2-15
python-wxgtk 2.8.7.1-1.1
Debian Lenny
--
Ticket URL: <http://trac.dabodev.com/ticket/1202#comment:2>
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]