[MapProxy] seeding only possible with etc/mapproxy

Oliver Tonnhofer olt at omniscale.de
Tue Oct 19 10:15:38 EDT 2010


Hi,

On 19.10.2010, at 15:13, hschiebold at codematix.de wrote:
> I can't seed in the 0.9+ version with "mapproxy-seed -c2 -f mapproxy.yaml seed.yaml" inside my etc directory. I have to go outside and use "mapproxy-seed -c2 -f etc/mapproxy.yaml etc/seed.yaml". I think the problem is line 354 in site-packages/mapproxy/seed/__init__.py :
> conf = ProxyConfiguration(yaml.load(open('etc/mapproxy.yaml')))

Ouch.

> May be it is a bit hard coded or? :-)


Maybe that's why there is a TODO above that line :)

Fixed that. Thanks for the note.

Regards,
Oliver

-- 
Oliver Tonnhofer <olt at omniscale.de>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR
Nadorster Str. 60, 26123 Oldenburg
Tel: +49(0)441/9392774-2 (Fax: 9)



More information about the MapProxy mailing list