Can BOA 0.20 work with wxPython 2.4.04?
Best Regards, Mark
I assume you're referring to the problem with string imports that many, many people have seen.
Yes, it can work. You have two options:
1) Boa CVS (where this is fixed) 2) add 'import string' to site-packages/wxPython/wx.py
Hi xant:
Thanks for your help! But, a error message still there, it shows me "Startup Error: Unpack non-sequence), would you please kindly help me ... thanks :)
Mark
=== error output === D:\Python22\Lib\site-packages\wxPython\tools\boa>python boa.py Starting Boa Constructor v0.2.1 importing wxPython reading user preferences Preferences.py:178: DeprecationWarning: Use Python's False instead oglBoldFont = wxFont(7, wxDEFAULT, wxNORMAL, wxBOLD, false) Preferences.py:179: DeprecationWarning: Use Python's False instead oglStdFont = wxFont(7, wxDEFAULT, wxNORMAL, wxNORMAL, false) running main... creating Palette importing Palette importing PropertyEditors importing Companions importing Companions.FrameCompanions importing Companions.ContainerCompanions importing Companions.BasicCompanions importing Companions.ButtonCompanions importing Companions.ListCompanions importing Companions.GizmoCompanion Acrobat not registered (-2147319779, '\xb5{\xa6\xa1\xaew\xa5\xbc\xb5n\xbf\xfd\xa 1C', None, None) importing Companions.UtilCompanions importing Companions.DialogCompanions importing ZopeLib.ZopeCompanions importing Explorers.ExplorerNodes importing Models.PythonControllers importing Models.Controllers importing Models.EditorModels importing Views importing Views.SourceViews importing PythonEditorModels importing Views.AppViews importing Views.PySourceView importing Views.ProfileView importing Views.OGLViews importing Explorers.FileExplorer importing Models.wxPythonControllers importing Models.wxPythonEditorModels importing Views.DataView importing Views.InspectableViews importing Views.CollectionEdit importing Views.Designer importing Models.ConfigSupport importing Models.CPPSupport importing Models.HTMLSupport importing Models.XMLSupport importing ZopeLib.ZopeEditorModels executing plug-ins... importing ZopeLib.ZopeViews importing ZopeLib.ZopeExplorer importing Explorers.PrefsExplorer creating Inspector importing Inspector Unhandled exception in thread: Traceback (most recent call last): File "D:\Python22\Lib\site-packages\wxPython\tools\boa\About.py", line 265, in monitorModuleCount while self._live and len(sys.modules) < self.moduleTotal: AttributeError: 'NoneType' object has no attribute 'modules' 19:25:16: Debug: e:\projects\wx\src\msw\app.cpp(439): 'UnregisterClass(canvas)' failed with error 0x00000584 (?| 19:25:16: Debug: e:\projects\wx\src\msw\app.cpp(446): 'UnregisterClass(no redraw canvas)' failed with error 0x00000584 (
This issue is now fixed in CVS for wxPython 2.4.0.6.
Thanks to the development team .... Finally, I get BOA again
Best Regads, Mark
Log in to post a comment.
Can BOA 0.20 work with wxPython 2.4.04?
Best Regards, Mark
I assume you're referring to the problem with string imports that many, many people have seen.
Yes, it can work. You have two options:
1) Boa CVS (where this is fixed)
2) add 'import string' to site-packages/wxPython/wx.py
Hi xant:
Thanks for your help! But, a error message still there, it shows me "Startup Error: Unpack non-sequence), would you please kindly help me ... thanks :)
Mark
=== error output ===
D:\Python22\Lib\site-packages\wxPython\tools\boa>python boa.py
Starting Boa Constructor v0.2.1
importing wxPython
reading user preferences
Preferences.py:178: DeprecationWarning: Use Python's False instead
oglBoldFont = wxFont(7, wxDEFAULT, wxNORMAL, wxBOLD, false)
Preferences.py:179: DeprecationWarning: Use Python's False instead
oglStdFont = wxFont(7, wxDEFAULT, wxNORMAL, wxNORMAL, false)
running main...
creating Palette
importing Palette
importing PropertyEditors
importing Companions
importing Companions.FrameCompanions
importing Companions.ContainerCompanions
importing Companions.BasicCompanions
importing Companions.ButtonCompanions
importing Companions.ListCompanions
importing Companions.GizmoCompanion
Acrobat not registered (-2147319779, '\xb5{\xa6\xa1\xaew\xa5\xbc\xb5n\xbf\xfd\xa
1C', None, None)
importing Companions.UtilCompanions
importing Companions.DialogCompanions
importing ZopeLib.ZopeCompanions
importing Explorers.ExplorerNodes
importing Models.PythonControllers
importing Models.Controllers
importing Models.EditorModels
importing Views
importing Views.SourceViews
importing PythonEditorModels
importing Views.AppViews
importing Views.PySourceView
importing Views.ProfileView
importing Views.OGLViews
importing Explorers.FileExplorer
importing Models.wxPythonControllers
importing Models.wxPythonEditorModels
importing Views.DataView
importing Views.InspectableViews
importing Views.CollectionEdit
importing Views.Designer
importing Models.ConfigSupport
importing Models.CPPSupport
importing Models.HTMLSupport
importing Models.XMLSupport
importing ZopeLib.ZopeEditorModels
executing plug-ins...
importing ZopeLib.ZopeViews
importing ZopeLib.ZopeExplorer
importing Explorers.PrefsExplorer
creating Inspector
importing Inspector
Unhandled exception in thread:
Traceback (most recent call last):
File "D:\Python22\Lib\site-packages\wxPython\tools\boa\About.py", line 265, in
monitorModuleCount
while self._live and len(sys.modules) < self.moduleTotal:
AttributeError: 'NoneType' object has no attribute 'modules'
19:25:16: Debug: e:\projects\wx\src\msw\app.cpp(439): 'UnregisterClass(canvas)'
failed with error 0x00000584 (?|
19:25:16: Debug: e:\projects\wx\src\msw\app.cpp(446): 'UnregisterClass(no redraw
canvas)' failed with error 0x00000584 (
This issue is now fixed in CVS for wxPython 2.4.0.6.
Thanks to the development team ....
Finally, I get BOA again
Best Regads, Mark