Hello, I am working through the Step-by-Step tutorial.
- I have created the connection file. - I have created the ClientBizobj.py and HoursBizobj.py files - I have added the from .. import .. lines to biz/__init__.py My problem is in the creation of the user interface in Chapter 3. I can create the form, add a panel and sizer, and add the controls from the data environment. Changing the order of the fields and the labeld of the controls seems to work. I end up with a form and I try to save it to ClientForm.cdxml with the File|Save menu command... At this point I see an error message in the console and no file is created. I cannot exit the ClassDesigner app by any means other that to kill it. I have repeated the procedure several times so if I am making an error I an "in-a-rut" and in need of a push. I anyone can assist I would appreciate it. Thanks, Greg Details: =============== Platform: GTK Python Version: 2.5.2 on linux2 Dabo Version: Version 0.9.2; Revision ~5437 UI Version: 2.8.7.1 on wxGTK (gtk2) I have Dabo installed in a directory in my home tree with file /usr/lib/python2.5/site-packages/dabo.pth pointing to the directory containing Dabo. I have tried another Web Update but it reports there are no updates available. The output I see in my console is: (python:1455): Gtk-WARNING **: /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4252: no accelerator (113,4) installed in accel group (0xaad6580) for GtkImageMenuItem (0xa8b11a8) (python:1455): Gtk-WARNING **: /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4252: no accelerator (113,4) installed in accel group (0xaad6580) for GtkImageMenuItem (0xa8b11a8) Traceback (most recent call last): File "/home/greg/dev/projects/dabo/dabo/ui/uiwx/dMenuItem.py", line 57, in __onWxHit self.raiseEvent(dEvents.Hit, evt) File "/home/greg/dev/projects/dabo/dabo/ui/uiwx/dPemMixin.py", line 949, in raiseEvent super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs) File "/home/greg/dev/projects/dabo/dabo/lib/eventMixin.py", line 93, in raiseEvent bindingFunction(event) File "/home/greg/dev/projects/dabo/ide/ClassDesigner.py", line 1670, in onSaveDesign self.wrapSave(self.CurrentForm.onSaveDesign, evt) File "/home/greg/dev/projects/dabo/ide/ClassDesigner.py", line 1824, in wrapSave func(*args, **kwargs) File "/home/greg/dev/projects/dabo/ide/ClassDesignerFormMixin.py", line 477, in onSaveDesign propDict = self.getDesignerDict() File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 257, in getDesignerDict ret["children"] = self.getChildrenPropDict(classDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 463, in getChildrenPropDict ret.append(sz.getDesignerDict(itemNum=len(ret), classDict=szDict)) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 257, in getDesignerDict ret["children"] = self.getChildrenPropDict(classDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 1061, in getChildrenPropDict classDict=winDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 257, in getDesignerDict ret["children"] = self.getChildrenPropDict(classDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 463, in getChildrenPropDict ret.append(sz.getDesignerDict(itemNum=len(ret), classDict=szDict)) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 257, in getDesignerDict ret["children"] = self.getChildrenPropDict(classDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 1076, in getChildrenPropDict classDict=szrDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 257, in getDesignerDict ret["children"] = self.getChildrenPropDict(classDict) File "/home/greg/dev/projects/dabo/ide/ClassDesignerComponents.py", line 1648, in getChildrenPropDict kidDict["attributes"]["rowColPos"] = self.getGridPos(kid) File "/home/greg/dev/projects/dabo/dabo/ui/uiwx/dGridSizer.py", line 304, in getGridPos row, col = szit.GetPos() AttributeError: 'SizerItem' object has no attribute 'GetPos' _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/4b0c7b4a.2010...@eastlink.ca