[MapProxy] New MapProxy 1.5.0 and yaml

A.Pirard.Papou A.Pirard.Papou at gmail.com
Thu Dec 13 05:31:38 PST 2012


On 2012-12-10 09:23, Oliver Tonnhofer wrote :
> On 07.12.2012, at 21:09, A.Pirard.Papou wrote:
>> Hi Oliver, I'm afraid I see no upgrade to 
>> http://mapproxy.org/static/rel/mapproxy_1.4.0_all.deb which I had 
>> enjoyed installing instantly. 
> We don't provide any official .deb packages. The .deb packages at 
> mapproxy.org are build manually for the OSGeo Live DVD. I will prepare 
> a 1.5.0 package for the next Live DVD (probably today), but there is 
> no guarantee that there will be a .deb. package for every release. 
> Maybe someone is able to setup a PPA for .deb packages, if there is a 
> need for it? (Or something similar for Debian) Regards, Oliver 
Thanks Oliver for the 1.5.0 DEB.
I meet the same problem as what I have reported before for 1.4.0. When 
starting (or, rather, not):
>  ...
>  File "/usr/lib/pymodules/python2.6/mapproxy/config/loader.py", line 
> 1383, in load_configuration_file
>     current_dict = load_yaml_file(conf_file)
>   File "/usr/lib/pymodules/python2.6/mapproxy/util/yaml.py", line 29, 
> in load_yaml_file
>     return load_yaml(f)
>   File "/usr/lib/pymodules/python2.6/mapproxy/util/yaml.py", line 38, 
> in load_yaml
>     return yaml.load(doc, Loader=yaml.CLoader)
>   File 
> "/usr/local/lib/python2.6/dist-packages/PyYAML-3.10-py2.6-linux-i686.egg/yaml/__init__.py", 
> line 73, in load
>     loader.dispose()
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.

I'm no python specialist and I had found that workaround by intuition.

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.
Although I have my workaround, I'd prefer to use a standard installation.

Cheers,

André.











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


More information about the MapProxy mailing list