#277 Frame Designer won't always start. (Log Enclosed)

open
nobody
None
5
2006-12-26
2006-12-26
Michael Mulqueen
No

For some reason frame designer doesn't always start and gives a very similar or maybe the same error:
19:44:50: AttributeError: 'NoneType' object has no attribute 'objectNamespace'Traceback (most recent call last):
19:44:50: AttributeError: 'NoneType' object has no attribute 'objectNamespace' File "/usr/share/boa-constructor/Models/wxPythonControllers.py", line 76, in OnDesigner
19:44:50: self.showDesigner()
19:44:50: File "/usr/share/boa-constructor/Models/wxPythonControllers.py", line 122,in showDesigner
19:44:50: dataView.initialize()
19:44:50: File "/usr/share/boa-constructor/Views/DataView.py", line 71, in initialize
19:44:50: self.initObjectsAndCompanions(objCol.creators, objCol, deps, depLinks)
19:44:50: File "/usr/share/boa-constructor/Views/DataView.py", line 74, in initObjectsAndCompanions
19:44:50: InspectableObjectView.initObjectsAndCompanions(self, creators, objColl, dependents, depLinks)
19:44:50: File "/usr/share/boa-constructor/Views/InspectableViews.py", line 126, in initObjectsAndCompanions
19:44:50: dependents, depLinks)
19:44:50: File "/usr/share/boa-constructor/Views/InspectableViews.py", line 194, in initObjProps
19:44:50: {'self': self.controllerView.objectNamespace})
19:44:50: AttributeError: 'NoneType' object has no attribute 'objectNamespace'

Discussion

  • Max Polk
    Max Polk
    2007-02-01

    Logged In: YES
    user_id=327186
    Originator: NO

    The problem is that Boa Constructor 0.4.4 requires wxPython 2.6.2.1. Any more recent versions of wxPython begins to start introducing incompatibilities (eg, wx.NotebookSizer removed from wxPython 2.7.1.1, and wx.stc.STC_LEX_ASP and wx.stc.STC_LEX_PHP are removed from wxPython 2.6.3.0).

    Therefore to use Boa Constructor 0.4.4 you have two choices:

    1. download and use wxPython 2.6.2.1
    2. use your newer wxPython but follow the Anonymous CVS Access instructions at <https://sourceforge.net/cvs/?group_id=1909> and get the latest source by checking out the "boa" directory, and replacing Lib/site-packages/boa-constructor with it. I know this to work for wxPython 2.8.1.1.