On Tue, Jun 17, 2008 at 4:05 PM, Ed Leafe <[EMAIL PROTECTED]> wrote:
> On Jun 17, 2008, at 4:51 PM, Nate Lowrie wrote:
>
>> I can only define 1 property at a time. If I click add, I get a new
>> property dialog box but it ends up over writing the old property. I
>> checked the saved file to see if it just wasn't being displayed, but
>> it turns out that instead of adding the property the class designer is
>> replacing a property with the new one.
>
>
> Turns out it was a stupid typo. Fixed in the latest commit.
Works. However I have another 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 919, 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 1702, in onOpenDesign
self.openClass(ff)
File "ClassDesigner.py", line 695, in openClass
obj = self.recreateChildren(frm.mainPanel, kids, None, False)
File "ClassDesigner.py", line 1045, in recreateChildren
self.recreateChildren(obj, kids, None, False)
File "ClassDesigner.py", line 847, in recreateChildren
self.recreateChildren(parent, [kid], sz, True)
File "ClassDesigner.py", line 945, in recreateChildren
skipUpdate=True, attProperties=atts)
File "ClassDesigner.py", line 2582, in addNewControl
obj = mixedClass(parent, properties=props, attProperties=attProperties)
File "ClassDesigner.py", line 2721, in __init__
apply(base.__init__,(self,) + args, kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dComboBox.py"
, line 26, in __init__
dcm.dControlItemMixin.__init__(self, preClass, parent, properties, attProper
ties, *args, **kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dControlItemM
ixin.py", line 20, in __init__
super(dControlItemMixin, self).__init__(*args, **kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\dDataControlMixinB
ase.py", line 22, in __init__
dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 178, in __init__
self._setNameAndProperties(properties, **kwargs)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 215, in _setNameAndProperties
self._setProperties(properties)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 228, in _setProperties
self.setProperties(properties)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\lib\propertyHelperMix
in.py", line 211, in setProperties
_setProps(propDict)
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\lib\propertyHelperMix
in.py", line 200, in _setProps
setter(self, _propDict[prop])
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 2011, in _setFontFace
self.Font.Face = val
File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dFont.py", li
ne 83, in _setFace
raise dabo.dException.FontNotFoundException, _("The font '%s' doesn't exist
on this system.") % val
dabo.dException.FontNotFoundException: The font 'MS Shell Dlg 2' doesn't exist o
n this system.
Note I created and saved the file on the same system I got the error.
Nate L.
_______________________________________________
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]