On Wed, Sep 1, 2010 at 10:57 PM, <[email protected]> wrote:

>
> Just tried and I can reproduce the same problem here. Ubuntu server 9.10,
> Mapnik 0.7.1, mod_python will get stuck in Mapnik's load_map in WMS.py.
>
> Strange enough, I'm using the *same* code under wsgi with no problems.
>

Don't use mod_python. It's abandoned & dead[1], and has a whole pile of
serious bugs.

[1]
http://blog.dscpl.com.au/2010/06/modpython-project-is-now-officially.html

Including a problem with lxml if mod-python's dodgy threading kicks in.
According to [1], try adding "PythonInterpreter main_interpreter" to your
apache config.

[2]
http://codespeak.net/lxml/FAQ.html#my-program-crashes-when-run-with-mod-python-pyro-zope-plone

But really, move to mod-wsgi. Mapnik certainly shouldn't be encouraging
people to use mod_python.

Rob :)
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to