[MapProxy] New MapProxy 1.5.0 and yaml

Oliver Tonnhofer olt at omniscale.de
Fri Dec 14 04:59:56 PST 2012

On 13.12.2012, at 14:31, A.Pirard.Papou wrote:
> The DEB has a requirement for python-yaml and mapproxy installed 3.09-2build1 on Ubuntu 10.04.
> As I explained before, if I remove that requirement from the DEB (and uninstall yaml), mapproxy runs fine.

MapProxy requires PyYAML and it won't be able to read any configuration without it. So did you install PyYAML manually with pip or easy_install then?

> Would APT (DEB package manager) not be informed that another python-yaml is installed?
> What command would tell me that?
> I guessed a little more and I found this:
> $pycentral list | grep yaml  | less
> /usr/lib/python2.6/dist-packages/reportlab/lib/yaml.pyc
> /usr/lib/python2.6/dist-packages/reportlab/lib/yaml.pyo
> /usr/lib/python2.6/dist-packages/reportlab/lib/yaml.py
> /usr/lib/python3.1/dist-packages/reportlab/lib/yaml.pyc
> /usr/lib/python3.1/dist-packages/reportlab/lib/yaml.pyo
> /usr/lib/python3.1/dist-packages/reportlab/lib/yaml.py
> /usr/lib/python2.5/site-packages/reportlab/lib/yaml.pyc
> /usr/lib/python2.5/site-packages/reportlab/lib/yaml.pyo
> /usr/lib/python2.5/site-packages/reportlab/lib/yaml.py
> I hope this will explain something to you and help.

This is not a yaml package, but reportlab.lib.yaml. MapProxy will never load one of these.


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

More information about the MapProxy mailing list