On Sat, Jun 14, 2008 at 9:15 AM, Ed Leafe <[EMAIL PROTECTED]> wrote:
>
> On Jun 13, 2008, at 4:46 PM, Nate Lowrie wrote:
>
> > Well I did some more research. The problem is in
> > ClassDesignerComponents.py line 212, classDict is none because isClass
> > evaluates to False in line 45. We don't set classDict in the
> > coresponding else statement so but there is the possibility
> > insideClass will be true. Somewhere we need to set the classDict
> > variable, I am just not sure where or what to.
>
>
> Well, it wasn't just one place; that code structure appeared in
> several places. I've updated them to default to an empty dict when
> inside classes instead of None. Try out the new commit and let me know
> if it's working for you, too.
I now get this error:
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 62, in getDesignerDict
myID = self.classID.split("-")[1]
AttributeError: 'LayoutBorderSizer' object has no attribute 'classID'
_______________________________________________
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]