LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-29-2005, 02:24 PM   #1
gaddargarson
LQ Newbie
 
Registered: Sep 2004
Location: izmir
Distribution: mandrake,GBL,fedora core,slackware
Posts: 26

Rep: Reputation: 15
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
 
Old 08-28-2005, 04:08 AM   #2
gaddargarson
LQ Newbie
 
Registered: Sep 2004
Location: izmir
Distribution: mandrake,GBL,fedora core,slackware
Posts: 26

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boa startup error arpanet1969 Linux - Software 0 09-11-2005 05:27 PM
Boa fails while starting with error.Any idea gaddargarson Linux - Software 1 08-28-2005 04:09 AM
help on boa webserver blackzone Linux - Networking 5 10-27-2004 10:32 PM
Followed tut in Python Boa Constructor, = error, help ! Dark Carnival Programming 4 09-20-2003 06:07 AM
Tools for developers cuerty Programming 1 08-01-2003 11:20 AM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration