johnf wrote:
> Bummer! I don't have the font? Is there an easy way to fix this? I get the
> following:
Hmm. We used to do font replacement when the font wasn't found.
> Traceback (most recent call last):
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dMenuItem.py", line 55, in
> __onWxHit
> self.raiseEvent(dEvents.Hit, evt)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 925, in
> raiseEvent
> super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
> **kwargs)
> File "/home/johnf/downloads/dabo/dabo/lib/eventMixin.py", line 92, in
> raiseEvent
> bindingFunction(event)
> File "ClassDesigner.py", line 1672, in onOpenDesign
> self.openClass(ff)
> File "ClassDesigner.py", line 594, in openClass
> obj = self.recreateChildren(frm.mainPanel, kids, None, False)
> File "ClassDesigner.py", line 989, in recreateChildren
> self.recreateChildren(obj, kids, None, False)
> File "ClassDesigner.py", line 752, in recreateChildren
> self.recreateChildren(parent, [kid], sz, True)
> File "ClassDesigner.py", line 857, in recreateChildren
> skipUpdate=True, attProperties=atts)
> File "ClassDesigner.py", line 2572, in addNewControl
> obj = mixedClass(parent, properties=props, attProperties=attProperties)
> File "ClassDesigner.py", line 2742, in __init__
> apply(base.__init__,(self,) + args, kwargs)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dListBox.py", line 20, in
> __init__
> dcm.dControlItemMixin.__init__(self, preClass, parent, properties,
> attProperties, *args, **kwargs)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dControlItemMixin.py", line
> 20, in __init__
> super(dControlItemMixin, self).__init__(*args, **kwargs)
> File "/home/johnf/downloads/dabo/dabo/ui/dDataControlMixinBase.py", line
> 22,
> in __init__
> dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 181, in
> __init__
> self._setNameAndProperties(properties, **kwargs)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 218, in
> _setNameAndProperties
> self._setProperties(properties)
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 231, in
> _setProperties
> self.setProperties(properties)
> File "/home/johnf/downloads/dabo/dabo/lib/propertyHelperMixin.py", line
> 210,
> in setProperties
> _setProps(propDict)
> File "/home/johnf/downloads/dabo/dabo/lib/propertyHelperMixin.py", line
> 199,
> in _setProps
> setter(self, _propDict[prop])
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 1977, in
> _setFontFace
> self.Font.Face = val
> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dFont.py", line 87, in
> _setFace
> raise dabo.dException.FontNotFoundException, _("The font '%s' doesn't
> exist on this system.") % val
> dabo.dException.FontNotFoundException: The font 'Lucida Grande' doesn't exist
> on this system.
_______________________________________________
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]