This message follows my previous one about the StaticBoxSizers and tries to
explain how I understand the problem.
The instanciation code of a StaticBoxSizer needs at least the box parameter,
which must be a StaticBox instance.
So when the boa designer tries to eval the args of the constructor line (
Views.InspectableViews.InspectableObjectView.setupArgs), it tries to find
the box param value in the globals and locals dictionaries: in this case '
The localsDct passed to PaletteMapping.evalCtrl contains a 'self' key, which
value is an instance of the Models.wxPythonEditorModels._your_frame_attrs_
At the time when the expression 'self.staticBox1' is evaluated, this
instance contains no 'staticBox1' attribute, which is, I think, why the
exception is raised.
In boa code, I found only two methods where _your_frame_attrs_ instances are
created (both in Models.wxPythonEditorModels.BaseFrameModel class):
I don't know yet which instance is used as localsDct, nor how I can fix it
the best way.
Any idea ?