LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   BOA users or developers can help me? (https://www.linuxquestions.org/questions/programming-9/boa-users-or-developers-can-help-me-348112/)

gaddargarson 07-29-2005 02:24 PM

BOA users or developers can help me?
 
Hi,
I've downloaded wxPython from Linuxpackages.net(slackware package) .wxpython-2.5.3.1-i486-2tsu
I've tried to install wxPython from source but i failed.(both 2.5.3.1 and 2.6.0)
While starting Boa Constructor,it fails with "Segmentation Fault" and this is the screen output;
root@darkstar:~# python /usr/lib/python2.4/boa-constructor-0.4.0/Boa.py
Starting Boa Constructor v0.4.0
importing wxPython
reading user preferences
running main...
creating Palette
importing Palette
importing PropertyEditors
importing Companions
importing Companions.FrameCompanions
importing Companions.WizardCompanions
importing Companions.ContainerCompanions
importing Companions.SizerCompanions
importing Companions.BasicCompanions
importing Companions.ButtonCompanions
importing Companions.ListCompanions
importing Companions.GizmoCompanion
importing Companions.LibCompanions
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.Designer
importing Views.InspectableViews
importing Views.CollectionEdit
importing Views.DataView
importing Views.SizersView
importing Models.ConfigSupport
importing Models.CPPSupport
importing Models.HTMLSupport
importing Models.XMLSupport
Segmentation fault

I'm using Slackware 10.1 with python2.4 and wxPython 2.5.3.1.
NOTE:Boa 0.3.1 ends with the same error too.I think I have a problem with all Boas:)

gaddargarson 08-28-2005 04:08 AM

I 've learnt an easy solution to "Segmentation Fault" error:
I think there is a bug in "pyexpat.so" which is the standart component of Python 2.4. I 'm using Zope and there is a patched version of this file in Zope. Its name is "dcpyexpat". (Look at
Zope-2.8.0/lib/python/Shared/DC/xml/pyexpat you 'll see dcpyexpat.so) If you don't have Zope, you can download it from here
immediately:www.zope.org Remove the bugged file (/usr/lib/python2.4/lib-dynload/pyexpat.so) and copy
Zope-2.8.0/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.so to its place. Don't change the new copied file 's name. (Don't change dcpyexpat.so to pyexpat.so) Copy "__init__.py" and "pyexpat.py" from
Zope-2.8.0/lib/python/Shared/DC/xml/pyexpat/ to / usr/lib/python2.4/xml/parsers . If you don't need Zope, downloading source code, compiling it and taking the files that we need is enough for our purpose. Now boa 's working without any error...
My configuration:
Boa-constructor 0.4.4
Python 2.4
WxPython 2.5.3.1
Slackware 10.1
ONUR YILMAZ
You can find the original solution from here:http://sourceforge.net/forum/forum.p...&forum_id=5483


All times are GMT -5. The time now is 09:31 AM.