thanks everyone, that was very helpful and thanks Dane for pointing me
to the lxml problem !
playing around with the xml import statements in the ogcserver scripts
brought some results, but recompiling mapnik with the right sources will
fix it i guess, this time without lxml as GetCapabilities wont be used
for that service.
mod_python is slightly faster than wsgi on my ubuntu machine, thats why
i wanted to use it on the server. but wsgi is of course an alternative.
just now my browser shows the requested URL as an image. no map, just
text as png. i remember reading about this problem somewhere...
Am 01.09.2010 13:56, schrieb [email protected]:
It would be good to note that here: http://trac.mapnik.org/wiki/OgcServer
... even if it was "supported" when it was released.
------------------------------------------------------------------------
*De:* Robert Coup [mailto:[email protected]]
*Enviado el:* miércoles, 01 de septiembre de 2010 13:14
*Para:* Clos Crespo, Manel
*CC:* [email protected]; [email protected]
*Asunto:* Re: [Mapnik-users] Problem with Mapniks OGCServer
On Wed, Sep 1, 2010 at 10:57 PM, <[email protected]
<mailto:[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 :)
--
Daniel Behr
Institute for Coastal Research
GKSS Research Centre
D-21502 Geesthacht
+49 (0)4152 87 1589 (fax -1596)
[email protected]
-------------------------------------------
GKSS-Forschungszentrum Geesthacht GmbH
Max-Planck-Straße 1
21502 Geesthacht
Deutschland/Germany
Geschäftsführer/Board of Management:
Prof. Dr. Wolfgang A. Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board:
Ministerialrat Wilfried Kraus
Amtsgericht Lübeck- HRB 285 GE (Register Court)
Internet: http://gkss.de
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users