rd13_tile_server/docs/history/prompts/2026-06-14_satellite-download-debug_session.md

975 B
Raw Permalink Blame History

Session 2026-06-14 Satellite-Download Debugging

Prompt 1

Wie ist hier der Stand des Containers? Ist er fertig mit dem Download?

Antwort 1

59% 3,3 Mio / 5,59 Mio Tiles, 17 GB .part-Datei, ETA ~7,8h. Stabil.

Prompt 2

Geht das auch noch genauer? Ist das schon öfter passiert und wann ist er fertig?

Antwort 2

docker inspect: RestartCount: 15. Logs zeigten TypeError: cannot unpack non-iterable NoneType object.

Root Cause: Chunk-Generator-Bug in scripts/download-satellite.py:

# BUGGY:
chunk = [(z, x, y) for z, x, y in (next(coords, None) for _ in range(CHUNK)) if ...]
# liefert None wenn Generator erschöpft → TypeError beim Entpacken

Fix:

# FIXED:
chunk = []
for _ in range(CHUNK):
    coord = next(coords, None)
    if coord is None:
        break
    chunk.append(coord)

Container wurde mit Fix neu gestartet. 17 GB .part-Datei ist sicher, Resume aktiv. ETA bis Fertigstellung: ~2-3h nach Skip-Phase.