I need to bring this conversation up again. I got OGCServer/Apache
running one time, but later I had problems with Apache not answering
my request at all. So I got sick of it and left it alone. Standalone
wsgi worked fine.

However, I need to get WMS working with Mapnik and tried one more time
on a new Ubuntu machine. Got the latest code for OGCServer on Github,
installed all dependencies and got OGCserver installed.

Now I am pretty much back to the same problem as before. Apache does
not answer my requests, it just hangs in the browser. I tested another
WSGI application and that runs fine.

All I get in my logs is this:
[Tue Dec 06 17:58:58 2011] [info] mod_wsgi (pid=20554): Create
interpreter 'ip-10-228-231-3.eu-west-1.compute.internal|/wms/skikart'.

Anybody familiar with this kind of problem?

Espen



On Tue, Nov 8, 2011 at 11:45 PM, Espen Isaksen <[email protected]> wrote:
> Ok, thanks again Dane. Worked a lot better using the version directly
> from Github. For others looking at this later I needed to add WSGIApp
> like this:
>
> from ogcserver.wsgi import WSGIApp
>
> Espen
>
>
>
>
>>> Ah ha, I notice you are importing from mapnik2. You should be using the 
>>> updated OGCServer code which is a standalone package of python files that 
>>> lives outside of mapnik sources.
>>>
>>> You can download it from:
>>>
>>> https://github.com/mapnik/OGCServer
>>>
>>> Then change you scripts to do:
>>>
>>> import ogcserver
>>> # or
>>> from ogcserver import foo
>>>
>>> I'm not sure if this will solve your issue, but to investigate more we all 
>>> should be using the same code.
>>>
>>> Dane
>>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to