[MapProxy] Troubles with 1.2.1

luca.casagrande at gmail.com luca.casagrande at gmail.com
Fri Jan 13 05:38:51 EST 2012


Il 13 gennaio 2012 08:40, Oliver Tonnhofer <olt at omniscale.de> ha scritto:
>
> On 13.01.2012, at 01:14, luca.casagrande at gmail.com wrote:
>> another point about my trouble:
>> mod_wsgi (pid=17594): Target WSGI script
>> '/home/lcasagrande/mapproxy/config.py' cannot be loaded as Python
>> module.
>
> It looks like PyYAML/libyaml library is crashing with an exception when reading your configuration, but not always, because you are still getting some tiles. So I guess your MapProxy config is OK. Here are some things you should check:
>
> Can you make sure that MapProxy does return tiles, and that they are not cached tiles from your browser? (with curl or ab) What percentage of requests fails? Have you restarted Apache?
>
> Can you remove libyaml? If this removes python-yaml, then you can install PyYAML with pip.

Yep, this could be the issue. I removed ubuntu package and installed
PyYAML using pip and now the error is disappeared.
If it can be of any use I am with Ubuntu 10.04 LTS 64bit and MapProxy 1.2.1

Thx for the help!
Luca


-- 
Luca Casagrande
twitter: lucacasagrande


More information about the MapProxy mailing list