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

Michael Mulqueen

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'


  • Max Polk
    Max Polk

    Logged In: YES
    Originator: NO

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

    Therefore to use Boa Constructor 0.4.4 you have two choices:

    1. download and use wxPython
    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