Hi, this is my first time come across this error message.
I was using AWS ECS Fargate instance, “cpu”: 4096, “memory”: 30720, docker installed odm.
The images are here
From the log, the detailed error is as below (I also copied a few lines above)
To me it seems like the ortho has been produced successfully, yet failed in the building overview stage.
Could this be potentially a bug?
Thanks
e[39m[INFO] running gdalwarp -cutline /odm/a656f769-38cf-4d34-bd8f-f8c87f2a0df6/code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg -crop_to_cutline -co TILED=YES -co COMPRESS=DEFLATE -co PREDICTOR=2 -co BIGTIFF=IF_SAFER -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co NUM_THREADS=4 -dstalpha /odm/a656f769-38cf-4d34-bd8f-f8c87f2a0df6/code/odm_orthophoto/odm_orthophoto.original.tif /odm/a656f769-38cf-4d34-bd8f-f8c87f2a0df6/code/odm_orthophoto/odm_orthophoto.tif --config GDAL_CACHEMAX 46.45%e[0m
Using band 4 of source image as alpha.
Creating output file that is 23179P x 12807L.
Processing /odm/a656f769-38cf-4d34-bd8f-f8c87f2a0df6/code/odm_orthophoto/odm_orthophoto.original.tif [1/1] : 0...10...20...30...40...50...60...70...80...90...100 - done.
e[39m[INFO] Building Overviewse[0m
e[39m[INFO] running gdaladdo -ro -r average --config BIGTIFF_OVERVIEW IF_SAFER --config COMPRESS_OVERVIEW JPEG /odm/a656f769-38cf-4d34-bd8f-f8c87f2a0df6/code/odm_orthophoto/odm_orthophoto.tif 2 4 8 16e[0m
0...10...20...30...40...50...60...70...80...90...100 - done.
Overview building failed.
Traceback (most recent call last):
File "/code/run.py", line 68, in <module>
app.execute()
File "/code/stages/odm_app.py", line 82, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 338, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 338, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 338, in run
self.next_stage.run(outputs)
[Previous line repeated 6 more times]
File "/code/opendm/types.py", line 319, in run
self.process(self.args, outputs)
File "/code/stages/odm_orthophoto.py", line 137, in process
orthophoto.post_orthophoto_steps(args, bounds_file_path, tree.odm_orthophoto_tif, tree.orthophoto_tiles)
File "/code/opendm/orthophoto.py", line 63, in post_orthophoto_steps
build_overviews(orthophoto_file)
File "/code/opendm/orthophoto.py", line 34, in build_overviews
system.run('gdaladdo -ro -r average '
File "/code/opendm/system.py", line 79, in run
raise Exception("Child returned
{}
".format(retcode))
Exception: Child returned 100