[MapProxy] New MapProxy 1.5.0 and yaml

A.Pirard.Papou A.Pirard.Papou at gmail.com
Fri Dec 14 06:51:48 PST 2012


On 2012-12-14 13:59, Oliver Tonnhofer wrote :
> 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?
That's exactly what I'm trying to find but...
>> Would APT (DEB package manager) not be informed that another python-yaml is installed?
>> *What command would tell me that?*
I'm a python newbie.  How do I know if and which yaml is installed? 
Browsed Google in vain.
As far as I remember, I only did  pip install/uninstall mapproxy once, 
the rest was done with apt.
Never piped anything else ;-)

On the other hand, there is obviously a problem when I install yaml 3.09 
from Ubuntu distribution.
yaml 3.10-1 to -4 are available in the Ubuntu repository.
But they require python 2.7 (I run 2.6.5).
Is that true? (Ubuntu may overstate the requirements)
If not, I'll hack them to install them anyway.

After diagnosing the presence of yaml.

>> 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.
>
>
> Regards,
> Oliver

Cheers,

André.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20121214/a832f6d8/attachment.html>


More information about the MapProxy mailing list