<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
Since I'm using Mapproxy 1.4.0, I'm getting configuration errors
that I solve by shuffling the yaml statements, e.g. swapping 2
"source" definitions.<br>
After I installed 1.5.0 DEB (keeping 1.0.4's (OK) config), strange
config error messages appeared (again?) while starting it and I
reinstalled 1.0.4.<br>
Don't ask me for the messages, I want to debug that, but only if it
remains after I solve the following first.<br>
<br>
Initially, I installed 1.0.4 following the pip instructions, I
removed it following the instructions then I installed the DEB no
instructions needed.<br>
But then, starting Mapproxy failed with yaml related messages below
(same with 1.5.0).<br>
I noticed that I was getting rid of the start problem if I removed
(with aptitude) the DEB python-yaml 3.09-2build1 (+libyaml-0-2)<br>
So, I hacked both DEBs 1.4.0 and 1.5.0 to prevent them requiring the
said packages (automatically installed).<br>
<br>
Puzzled with having to remove yaml to get it working, the
no-python-geek sitting here asked for a hint from this list. No
answer.<br>
The Web advised me <br>
<ul>
<li>help('modules') -> yaml in the list (after much begging), <br>
</li>
<li>and pip freeze | grep yaml -> "" (nothing).</li>
</ul>
Would anyone have a hint to nondestructively find and remove the
condition why Mapproxy does not install out of the box?<br>
<br>
Cheers, <br>
<br>
<table>
<tbody>
<tr>
<td valign="top">André.</td>
</tr>
</tbody>
</table>
<br>
$ mapproxy<br>
+ mapproxy-util serve-develop -b localhost:1369 mapproxy.yaml<br>
[2013-03-08 15:01:02,637] mapproxy.config - INFO - reading:
/home/p/.mapproxy/mapproxy.yaml<br>
Traceback (most recent call last):<br>
File "/usr/bin/mapproxy-util", line 9, in <module><br>
load_entry_point('MapProxy==1.4.0', 'console_scripts',
'mapproxy-util')()<br>
File "/usr/lib/pymodules/python2.6/mapproxy/script/util.py", line
319, in main<br>
commands[command]['func'](args)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/script/util.py", line
72, in serve_develop_command<br>
app = make_wsgi_app(mapproxy_conf, debug=options.debug)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/wsgiapp.py", line 91,
in make_wsgi_app<br>
conf = load_configuration(mapproxy_conf=services_conf,
ignore_warnings=ignore_config_warnings)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/config/loader.py",
line 1276, in load_configuration<br>
conf_dict =
load_configuration_file([os.path.basename(mapproxy_conf)],
conf_base_dir)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/config/loader.py",
line 1294, in load_configuration_file<br>
current_dict = load_yaml_file(conf_file)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/util/yaml.py", line
29, in load_yaml_file<br>
return load_yaml(f)<br>
File "/usr/lib/pymodules/python2.6/mapproxy/util/yaml.py", line
38, in load_yaml<br>
return yaml.load(doc, Loader=yaml.CLoader)<br>
File
"/usr/local/lib/python2.6/dist-packages/PyYAML-3.10-py2.6-linux-i686.egg/yaml/__init__.py",
line 73, in load<br>
loader.dispose()<br>
AttributeError: 'CLoader' object has no attribute 'dispose'<br>
<br>
</body>
</html>