[MapProxy] Mapproxy FastCGI problem

Oliver Tonnhofer olt at omniscale.de
Mon Nov 12 02:07:31 PST 2012


On 08.11.2012, at 15:16, Christian Willmes wrote:
> I have a problem with my MapProxy setup after an upgrade from 1.1.1 to
> 1.4.0. (I know, a long overdue update, but...)
> 
> [...]
> But using the existing fcgi/apache config it is not working (see
> MapproxyApacheError Log in Attachment). The same configuration (see
> mapproxy.fcgi in attachment) was working before the upgrade.
> 
> From the error logs, there seems to be an error regarding the
> 'application = loadapp(...'. Is there another recommendet way how to
> load the app?

Can you try to reinstall MapProxy? It seems that the Paster entry point for MapProxy was not installed properly. The entry point is MapProxy#app (in your config.ini `use = egg:MapProxy#app`) and it is defined in https://github.com/mapproxy/mapproxy/blob/master/setup.py#L51.


> It referes directly to the 'application', but does not state
> how to load the applacation.

You need to use make_wsgi_app, if you wan't to skip paste deploy.
You need to load the logging configuration manually in this case. See http://mapproxy.org/docs/nightly/mapproxy_util.html#configuration-templates `mapproxy-util create -t wsgi-app`



Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://github.com/olt    | @oltonn








More information about the MapProxy mailing list