On Oct 5, 2010, at 7:48 AM, Daniel Behr wrote:

> gotcha !
> 
> because of some PHP errors in apache log caused by another application I 
> tried something else and disabled mod_php5, restarted apache and got a Map!
> 

wow. thats nuts, but great news :)

> As that other application needs mod_php5 I enabled it again, restarted apache 
> and... guess what... still got a Map!  ...very odd.
> 
> I checked if that application using mod_php is still running and it does.
> 
> is it possible that all this fuss was just caused by the order in which the 
> apache modules were enabled??
> 

surely could be related. Where are your LoadModule calls? In the main Httpd 
conf or in virtual hosts?

> Will provide some details on my settings later... hope it still works 
> tomorrow.
> 
> cheers!
> Daniel
> 
> Am 05.10.2010 08:55, schrieb Daniel Behr:
>> Hi Dane,
>> 
>> Am 02.10.2010 00:12, schrieb Dane Springmeyer:
>>> Okay, I think I found it.
>>> 
>>> Putting this in your WSGI config should fix it:
>>> 
>>> WSGIApplicationGroup %{GLOBAL}
>> 
>> GROUP and GLOBAL dont work. both freeze :(
>> 
>>> More details here:
>>> 
>>> https://techknowhow.library.emory.edu/blogs/branker/2010/07/30/django-lxml-wsgi-and-python-sub-interpreter-magic
>>> 
>> 
>> very interesting...
>> 
>> does Cython have to be installed? lxml installation instructions are a
>> bit ambiguous in that case.
>> 
>> Using lxml trunk (lxml-2.3beta1) the browser freezes. Without lxml or
>> with one of the older lxml versions installed the browser throws an
>> exception as if I would expect from a WMS request including this parameter:
>> 
>> EXCEPTIONS=application/vnd.ogc.se_inimage
>> 
>> if not set it should default to 'xml'. no matter if I set it to xml,
>> inimage or blank, or dont set it at all, it defaults to inimage.
>> 
>>> So, this should allow the ogcserver to play nicely within mod_wsgi with
>>> lxml installed. If this fixes the hang for you then we can investigate
>>> more. If not, then make sure you are only running one instance of the
>>> ogcserver within Apache.
>> 
>> only apaches mod_wsgi loads the wsgi script which calls the ogcserver.
>> wsgi standalone, mod_python are off. So its running only once, right?
>> 
>> thanks
>> Daniel
>> 
>>> Dane
>>> 
>>> 
>>> On Oct 1, 2010, at 10:59 AM, [email protected]
>>> <mailto:[email protected]> wrote:
>>> 
>>>> Hi, I forgot something...
>>>> when uninstalling lxml, mod_wsgi can actually connect to mapniks
>>>> ogcserver (ogcserver welcome appears). as Dane said earlier in this
>>>> thread, mapnik falls back to standard xml support. at least this
>>>> machine should... but with a GetMap request the browser still returns
>>>> no map, the text of the requested URL gets rendered as an unformatted
>>>> image instead.
>>>> 
>>>> Daniel
>>>> 
>>>> 
>>>> Am 30.09.2010 18:14, schrieb Dane Springmeyer:
>>>> >
>>>> > On Sep 1, 2010, at 3:57 AM,<[email protected]
>>>> <mailto:[email protected]>> <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>> >
>>>> >> Hi,
>>>> >>
>>>> >> 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.
>>>> >>
>>>> >
>>>> > Daniel look ^^^. So Manel, what Apache version, prefork or worker,
>>>> and what mod_wsgi and python versions?
>>>> >
>>>> > Btw, I forgot to mention the ticket we once had that tracked this
>>>> issue (at lease specific to GetCaps):
>>>> >
>>>> > http://trac.mapnik.org/ticket/464
>>>> >
>>>> > It would be good to add any additional info we find to that ticket
>>>> thread. For instance, short of understanding the exact problem within
>>>> lxml, hopefully we can recommend a certain version of
>>>> python/apache/mod_wsgi which will work around the problem.
>>>> >
>>>> > - Dane
>>>> 
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
> 
> -- 
> 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
> 
> ACHTUNG - ATTENTION
> 
> Die GKSS-Forschungszentrum Geesthacht GmbH erhält einen neuen Namen und heißt 
> ab dem 1. November 2010 offiziell
> The GKSS-Forschungszentrum Geesthacht GmbH will change its name and will as 
> of 1st November 2010 be officially called
> 
> Helmholtz-Zentrum Geesthacht
> Zentrum für Material- und Küstenforschung GmbH
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

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

Reply via email to