On Wednesday 30 July 2008 03:59:49 pm Nate Lowrie wrote:
> Open CD, select "new class..." from the file menu. Select Page in the
> dialog. Get 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 924, 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 1808, in onNewDesign
> obj = self.addNewControl(frm.initLayoutPanel, newClass)
> File "ClassDesigner.py", line 2605, in addNewControl
> obj = mixedClass(parent, properties=props, attProperties=attProperties)
> File "ClassDesigner.py", line 2746, in __init__
> cmix.__init__(self, parent, **kwargs)
> File
> "c:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerControlMi
> xin.py", line 59, in __init__
> self._propDefaults[prop] = eval("self.%s" % prop)
> File "<string>", line 1, in <module>
> File
> "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPage.py", li
> ne 81, in _getCaption
> pos = self._getPagePosition()
> File
> "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPage.py", li
> ne 71, in _getPagePosition
> ret = self.Parent.Pages.index(self)
> AttributeError: 'LayoutBasePanel' object has no attribute 'Pages'
confirmed on Linux openSUSE 10.3, python 2.5, wxpython 2.8.6.0
--
John Fabiani
_______________________________________________
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]