[MapProxy] Error starting the test server

Benjamin Wragg bwragg at isasolutions.com.au
Thu Aug 30 03:22:43 PDT 2012


Thanks for the correction Oliver.

On 30/08/2012, at 6:13 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:

> 
> On 29.08.2012, at 14:26, Andrew Smith wrote:
>> I've tried setting up MapProxy 1.4 on my laptop (Ubuntu 11.04 x86_64) using the instructions here; http://mapproxy.org/docs/latest/install.html
>> However I'm unable to start the test server with this error occuring: 
>> 
>> andy at shaun:~/mymapproxy$ sudo mapproxy-util serve-develop ./mapproxy.yaml -b 0.0.0.0:8080
> 
> 0.0.0.0 means bind to any address. So this is fine.
> 
>> [2012-08-29 11:32:53,555] mapproxy.config - INFO - reading: /home/andy/mymapproxy/mapproxy.yaml
>> Traceback (most recent call last):
>>  File "/usr/local/bin/mapproxy-util", line 9, in <module>
>>    load_entry_point('MapProxy==1.4.0', 'console_scripts', 'mapproxy-util')()
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/script/util.py", line 319, in main
>>    commands[command]['func'](args)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/script/util.py", line 72, in serve_develop_command
>>    app = make_wsgi_app(mapproxy_conf, debug=options.debug)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/wsgiapp.py", line 91, in make_wsgi_app
>>    conf = load_configuration(mapproxy_conf=services_conf, ignore_warnings=ignore_config_warnings)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/config/loader.py", line 1276, in load_configuration
>>    conf_dict = load_configuration_file([os.path.basename(mapproxy_conf)], conf_base_dir)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/config/loader.py", line 1294, in load_configuration_file
>>    current_dict = load_yaml_file(conf_file)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/util/yaml.py", line 29, in load_yaml_file
>>    return load_yaml(f)
>>  File "/usr/local/lib/python2.7/dist-packages/MapProxy-1.4.0-py2.7.egg/mapproxy/util/yaml.py", line 38, in load_yaml
>>    return yaml.load(doc, Loader=yaml.CLoader)
>>  File "/usr/local/lib/python2.7/dist-packages/PyYAML-3.10-py2.7-linux-x86_64.egg/yaml/__init__.py", line 73, in load
>>    loader.dispose()
>> AttributeError: 'CLoader' object has no attribute 'dispose'
> 
> This looks like a bug in your PyYAML version. How did you install it?
> 
> 
> Regards,
> Oliver
> 
> -- 
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://github.com/olt    | @oltonn
> 
> 
> 
> 
> 
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list