~ > docker run -it -v "${pwd}:/repo" map-tile-generator
2023-07-27 14:57:15 INFO Downloading cache & XTEAs
2023-07-27 14:57:19 INFO Cache version: https://archive.openrs2.org/caches/runescape/1447
2023-07-27 14:57:19 INFO Cache upload date: 2023-07-26 10:15:06
2023-07-27 14:57:19 INFO Cache build: ['215']
Cache directory already exists, skipping download
2023-07-27 14:57:19 INFO Building map base images
[main] INFO net.runelite.cache.util.XteaKeyManager - Loaded 1720 keys
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-0.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-1.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-2.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-3.png
2023-07-27 15:02:11 INFO Generating tiles
2023-07-27 15:02:11 INFO [Plane: 0]: Generating plane 0
2023-07-27 15:02:11 INFO [Plane: 0]: Loading images into memory
2023-07-27 15:02:11 INFO [Plane: 0]: Calculating changed tiles
Traceback (most recent call last):
File "./src/tile_generator.py", line 458, in <module>
main()
File "./src/tile_generator.py", line 71, in main
generate_tiles_for_plane(plane)
File "./src/tile_generator.py", line 232, in generate_tiles_for_plane
changed_tiles = get_changed_tiles(old_image, new_image, starting_zoom)
File "./src/tile_generator.py", line 266, in get_changed_tiles
old_image_tile = old_image.crop(tile_x, tile_y, TILE_SIZE_PX, TILE_SIZE_PX)
File "/usr/local/bin/miniconda3/envs/vips/lib/python3.7/site-packages/pyvips/vimage.py", line 919, in call_function
return pyvips.Operation.call(name, self, *args, **kwargs)
File "/usr/local/bin/miniconda3/envs/vips/lib/python3.7/site-packages/pyvips/voperation.py", line 282, in call
raise Error('unable to call {0}'.format(operation_name))
pyvips.error.Error: unable to call crop
extract_area: bad extract area
ERROR conda.cli.main_run:execute(47): `conda run python ./src/tile_generator.py` failed. (See above for error)