[MapProxy] Invalid configuration error in mapproxy.yaml

Andrea Peri aperi2007 at gmail.com
Mon Sep 11 06:42:38 PDT 2017


Hi, Im newbye of mapproxy and try to configure a test site.

I have installed it , create a virtualenv, configure my apache,
generate a mapproxy.yaml using autogenerate tools.
And generate also a config.py for wsgi module uing the mapproxy-util.

But when I try to call the mapproxy from a browser web I have
an Internal Server Error

and see-ing the apache error.log I see the log report a generic:
"Invalid configuration" error.

Unfortunatelly I'm no so skilled to understand if and where is the
error in the yaml file.

So is possile to set mapproxy to give a more detailed error rather than
"Invalid configuration"  ?

I report the fragment of my error.log.

[Mon Sep 11 14:32:47.007058 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]   File
"/home/archivio/server/mapproxy/configuration/dbtm/config.py", line
10, in <module>
[Mon Sep 11 14:32:47.007101 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]     application =
make_wsgi_app(r'/home/archivio/server/mapproxy/configuration/dbtm/mapproxy.yaml')
[Mon Sep 11 14:32:47.007112 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]   File
"/home/tomcat/virtualenv/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py",
line 105, in make_wsgi_app
[Mon Sep 11 14:32:47.007132 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]     conf =
load_configuration(mapproxy_conf=services_conf,
ignore_warnings=ignore_config_warnings)
[Mon Sep 11 14:32:47.007141 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]   File
"/home/tomcat/virtualenv/mapproxy/lib/python2.7/site-packages/mapproxy/config/loader.py",
line 1963, in load_configuration
[Mon Sep 11 14:32:47.007172 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681]     raise
ConfigurationError('invalid configuration')
[Mon Sep 11 14:32:47.007191 2017] [wsgi:error] [pid 25556:tid
140395008448256] [client 159.213.4.51:52681] ConfigurationError:
invalid configuration


Many thx for every hint.
A.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the MapProxy mailing list