I added a dComboBox to a Panel class, set expand to false, and tried
to save it. I got this traceback:
Traceback (most recent call last):
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dMenuItem.py"
, line 55, in __onWxHit
self.raiseEvent(dEvents.Hit, evt)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 917, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\lib\eventMixin.py", l
ine 92, in raiseEvent
bindingFunction(event)
File "ClassDesigner.py", line 1670, in onSaveDesign
self.wrapSave(self.CurrentForm.onSaveDesign, evt)
File "ClassDesigner.py", line 1798, in wrapSave
func(*args, **kwargs)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerFormMixin
.py", line 469, in onSaveDesign
propDict = propDictCompare = self.getClassDesignerDict(obj)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerFormMixin
.py", line 639, in getClassDesignerDict
ret = obj.getDesignerDict(classID=seed, propsToExclude=propsToExclude)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 226, in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 425, in getChildrenPropDict
ret.append(sz.getDesignerDict(itemNum=len(ret), classDict=szDict))
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 226, in getDesignerDict
ret["children"] = self.getChildrenPropDict(classDict)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 1016, in getChildrenPropDict
classDict=winDict)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 506, in getDesignerDict
classID=classID, classDict=classDict)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 212, in getDesignerDict
itmDiffProps = self._diffSizerItemProps(itmProps, classDict, direct=True)
File "C:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerComponent
s.py", line 242, in _diffSizerItemProps
defaults["Expand"] = True
TypeError: 'NoneType' object does not support item assignment
Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.8.4; Revision 4125:4129
UI Version: 2.8.7.1 on wxMSW
_______________________________________________
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]