[Moin-user] Python 2.6.5 WSGI Issue

Thomas Waldmann tw-public at gmx.de
Thu Aug 19 11:09:33 EDT 2010


On Wed, 2010-08-18 at 19:40 +0200, Jurie-Jan Botha wrote:
> I compiled all my python versions again and tried with each one.
> 2.5.5 and 2.6.5 both give me the 'Segmentation Fault'.
> I also tried using werkzeug as the WSGI server and it gives me the
> same behavior.
> 
> 
> I'll give it a go on another system when I get a chance. It's odd to
> me that no one else has
> this problem, as I believe my setup to be fairly common.

I use the default python provided by Ubuntu (10.04), works fine:

$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

> Perhaps someone else can also try
> compiling 2.6.5 from source and running moin via the sample WSGI
> server.

BTW, one of the usual pitfalls when compiling your own python is not
having all xxx-dev packages installed at configure/compile time. The
configure will then detect it is not there and drop the respective xxx
feature.

I don't remember all -dev stuff I had to install last time I compiled my
own Python, but e.g. zlib-dev and some (open)ssl stuff come to mind (and
for moin2, also sqlite-dev or so).

BTW, I (and also likely some other moin devs) usually
use ./wikiserver.py (as contained in the moin download / repo) to test /
debug moin. And I use 2.6.5 on Ubuntu all the time without problems.

When I recently tried some PyPy build, I also had segfaults, but this
was likely due to bugs in PyPy or my PyPy build.

Maybe you could also ask some Python developers about this. In case you
found some bug in Python, they should be quite interested.





More information about the Moin-user mailing list