[MapProxy] Crash while seeding with certain res-values

Sven.Moeller at itk-rheinland.de Sven.Moeller at itk-rheinland.de
Wed Feb 24 00:31:12 PST 2016


Dear mailing-list,

I encounter a problem when seeding, giving me following error message :

Traceback (most recent call last):           ETA: 2016-02-24-09:39:33
  File "C:\Python34\Scripts\mapproxy-seed-script.py", line 9, in <module>
    load_entry_point('MapProxy==1.8.0', 'console_scripts', 
'mapproxy-seed')()
  File "C:\Python34\lib\site-packages\mapproxy\seed\script.py", line 248, 
in mai
n
    return SeedScript()()
  File "C:\Python34\lib\site-packages\mapproxy\seed\script.py", line 176, 
in __c
all__
    skip_geoms_for_last_levels=options.geom_levels)
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 452, 
in see
d
    seed_progress=seed_progress)
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 473, 
in see
d_task
    tile_walker.walk()
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 289, 
in wal
k
    self._walk(bbox, self.task.levels)
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 339, 
in _wa
lk
    all_subtiles=all_subtiles)
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 309, 
in _wa
lk
    self.report_progress(current_level, cur_bbox)
  File "C:\Python34\lib\site-packages\mapproxy\seed\seeder.py", line 373, 
in rep
ort_progress
    self.count * self.tiles_per_metatile)
  File "C:\Python34\lib\site-packages\mapproxy\seed\util.py", line 182, in 
log_p
rogress
    format_bbox(bbox), tiles, progress.eta))
  File "C:\Python34\lib\site-packages\mapproxy\seed\util.py", line 92, in 
__str_
_
    return self.eta_string()
  File "C:\Python34\lib\site-packages\mapproxy\seed\util.py", line 80, in 
eta_st
ring
    return time.strftime('%Y-%m-%d-%H:%M:%S', time.localtime(timestamp))
OSError: [Errno 22] Invalid argument

It only occurs when using certain res-levels in the grid for seeding (for 
example [0.3515625,0.17578125]. It also doesnt occur if I use these values 
individually as the only res-level used in the grid and let it seed it. 
the error comes up in the middle of the seeding process (2%, 14% ...).
I have the suspecion that it has something to do with the console-output 
during seeding (ETA-times?) but cant relate the error-message to any 
Python-code.

Some help is much appreciated. Thank you!

Regards,
Sven Möller

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


More information about the MapProxy mailing list