On Wednesday, May 09, 2012 01:56:24 PM Ed Leafe wrote: > dabo Commit > Revision 7176 > Date: 2012-05-09 13:56:24 -0700 (Wed, 09 May 2012) > Author: Ed > Trac: http://trac.dabodev.com/changeset/7176 > > Changed: > U trunk/dabo/ui/uiwx/dGrid.py > > Log: > Improved the setting of DataType and the corresponding renderers/editors for > columns. > This again breaks my code. Johnf Traceback (most recent call last): File "pwinbound.py", line 815, in <module> app.start() File "/home/johnf/dabo/dabo/dApp.py", line 395, in start self.setup() File "/home/johnf/dabo/dabo/dApp.py", line 347, in setup self.initUIApp() File "/home/johnf/dabo/dabo/dApp.py", line 387, in initUIApp self.uiApp.setup() File "/home/johnf/dabo/dabo/ui/uiwx/uiApp.py", line 431, in setup frm = self.dApp.MainForm = mfc() File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 1062, in __init__ *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 49, in __init__ attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dFormMixin.py", line 77, in __init__ attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 201, in __init__ self._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 76, in _afterInit super(BaseForm, self)._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dFormMixin.py", line 131, in _afterInit super(dFormMixin, self)._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 339, in _afterInit self.afterInit() File "pwinbound.py", line 475, in afterInit vs.append(MainPanelFrames(self),0,'x') File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 267, in __init__ attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 245, in __init__ properties=properties, attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 35, in __init__ properties=properties, attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 201, in __init__ self._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 339, in _afterInit self.afterInit() File "pwinbound.py", line 393, in afterInit pgf.appendPage(pgCls=InboundPanel, caption="Inbound") File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 178, in appendPage return self.insertPage(self.GetPageCount(), pgCls, caption, imgKey, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 211, in insertPage pg = pgCls(self, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 267, in __init__ attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 245, in __init__ properties=properties, attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 35, in __init__ properties=properties, attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 201, in __init__ self._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 339, in _afterInit self.afterInit() File "pwinbound.py", line 311, in afterInit prod_grid = InboundGrid(self) File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 1899, in __init__ attProperties=attProperties, *args, **kwargs) File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 201, in __init__ self._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 1950, in _afterInit super(dGrid, self)._afterInit() File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 339, in _afterInit self.afterInit() File "pwinbound.py", line 234, in afterInit Sortable=True, Searchable=False, Editable=False, Expand=False, HorizontalAlignment = 'Center') File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 486, in __init__ *args, **kwargs) File "/home/johnf/dabo/dabo/dObject.py", line 101, in __init__ self.setProperties(properties) File "/home/johnf/dabo/dabo/lib/propertyHelperMixin.py", line 217, in setProperties _setProps(propDict) File "/home/johnf/dabo/dabo/lib/propertyHelperMixin.py", line 206, in _setProps setter(self, _propDict[prop]) File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 1000, in _setDataType if self._dataType == val: AttributeError: 'dColumn' object has no attribute '_dataType'
_______________________________________________ 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/12269533.Xtg52QQxIv@linux-12
