[Boa Constr] Errors after updating from older 0.4.0pre to newest
Status: Beta
Brought to you by:
riaan
From: Echo <os...@gm...> - 2005-03-16 19:29:52
|
Hello, I'v been using the 0.4.0pre version from a few weeks ago and it was working fine. Today, I got the updated files, and now the designer no longer works with all of my files(I attached on of the smaller files). The error i get is this: 14:27:11: NameError: name '__main__' is not definedTraceback (most recent call last): 14:27:11: NameError: name '__main__' is not defined File "C:\Python24\boa-Boa_0-4-0_pre\Models\wxPythonControllers.py", line 80, in OnDesigner 14:27:11: self.showDesigner() 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Models\wxPythonControllers.py", line 145, in showDesigner 14:27:11: designer.refreshCtrl() 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\Designer.py", line 390, in refreshCtrl 14:27:11: self.initObjectsAndCompanions(objCol.creators[1:], objCol, deps, depLnks) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\InspectableViews.py", line 138, in initObjectsAndCompanions 14:27:11: self.initObjCreator(constr) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\Designer.py", line 515, in initObjCreator 14:27:11: InspectableObjectView.initObjCreator(self, constrPrs) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\InspectableViews.py", line 166, in initObjCreator 14:27:11: constrPrs.comp_name, constrPrs.params) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\Designer.py", line 474, in loadControl 14:27:11: compClass=CtrlCompanion, evalDct=self.model.specialAttrs) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\Designer.py", line 56, in setupArgs 14:27:11: args = InspectableObjectView.setupArgs(self, ctrlName, params, dontEval, evalDct=evalDct) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\Views\InspectableViews.py", line 74, in setupArgs 14:27:11: evalDct) 14:27:11: File "C:\Python24\boa-Boa_0-4-0_pre\PaletteMapping.py", line 151, in evalCtrl 14:27:11: return eval(expr, globals(), localsDct) 14:27:11: File "<string>", line 0, in ? 14:27:11: NameError: name '__main__' is not defined I also have aready tried running the 2.4 to 2.5 updater just incase. Howerver, that didn't change anything. Any ideas? -- -Echo |