[MapProxy] trouble with deployment / mod wsgi

Mark Volz MarkVolz at co.lyon.mn.us
Mon Sep 16 06:07:55 PDT 2013


Hello,

I installed mapproxy and was able to test it on my machine using mapproxy-util serve-develop mapproxy.yaml and accessing it through localhost:8080/demo/.  However, I was unable to get mapproxy to work under mod-wsgi.  On the client side I had an internal service error.  

 Here is the error from the server:

[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1] mod_wsgi (pid=3836): Target WSGI script 'C:/mapproxy_venv/Scripts/config.py' cannot be loaded as Python module.
[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1] mod_wsgi (pid=3836): Exception occurred processing WSGI script 'C:/mapproxy_venv/Scripts/config.py'.
[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1]   File "C:/mapproxy_venv/Scripts/config.py", line 9, in <module>
[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1]     from mapproxy.wsgiapp import make_wsgi_app
[Sun Sep 15 17:28:04 2013] [error] [client 127.0.0.1] ImportError: No module named mapproxy.wsgiapp

In addition I thought I noticed a warning about mod_wsgi being compiled for python 2.7.  I am using 2.7.5.  There was only one download option for python 2.7.x.  Does this matter?


How can I fix this this error?

Thanks

Mark Volz, GISP
GIS Specialist




More information about the MapProxy mailing list