Another try with everything default, before i set primary_band to RGB
. Keeps crashing at the same line.
2021-12-04 04:54:28,961 DEBUG: Undistorting image 001_NIR.jpg
2021-12-04 04:54:29,034 DEBUG: Undistorting image 050_NIR.jpg
[INFO] running /code/SuperBuild/install/bin/opensfm/bin/opensfm export_visualsfm --points "/var/www/data/9cc630bc-a629-4372-9ed9-40ba1666280e/opensfm"
Traceback (most recent call last):
File "/code/SuperBuild/install/bin/opensfm/opensfm/io.py", line 1221, in image_size_from_fileobject
with Image.open(fb) as img:
File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 2943, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file <_io.BufferedReader name='/var/www/data/9cc630bc-a629-4372-9ed9-40ba1666280e/opensfm/undistorted/images/048_NIR.jpg.tif'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/code/SuperBuild/install/bin/opensfm/bin/opensfm_main.py", line 15, in
commands.command_runner(
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/command_runner.py", line 38, in command_runner
command.run(data, args)
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/command.py", line 12, in run
self.run_impl(data, args)
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/export_visualsfm.py", line 11, in run_impl
export_visualsfm.run_dataset(dataset, args.points, args.image_list)
File "/code/SuperBuild/install/bin/opensfm/opensfm/actions/export_visualsfm.py", line 29, in run_dataset
export(reconstructions[0], tracks_manager, udata, points, export_only)
File "/code/SuperBuild/install/bin/opensfm/opensfm/actions/export_visualsfm.py", line 49, in export
shot_size_cache[shot.id] = udata.undistorted_image_size(shot.id)
File "/code/SuperBuild/install/bin/opensfm/opensfm/dataset.py", line 1112, in undistorted_image_size
return self.io_handler.image_size(self._undistorted_image_file(image))
File "/code/SuperBuild/install/bin/opensfm/opensfm/io.py", line 1376, in image_size
return image_size_from_fileobject(fb)
File "/code/SuperBuild/install/bin/opensfm/opensfm/io.py", line 1226, in image_size_from_fileobject
image = imread(fb)
File "/code/SuperBuild/install/bin/opensfm/opensfm/io.py", line 1093, in imread
_, ext = os.path.splitext(path)
File "/usr/lib/python3.9/posixpath.py", line 118, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not BufferedReader
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 1
Traceback (most recent call last):
File "/code/stages/odm_app.py", line 94, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 327, in run
self.process(self.args, outputs)
File "/code/stages/run_opensfm.py", line 192, in process
octx.run('export_visualsfm --points')
File "/code/opendm/osfm.py", line 34, in run
system.run('%s %s "%s"' %
File "/code/opendm/system.py", line 106, in run
raise SubprocessException("Child returned {}".format(retcode), retcode)
opendm.system.SubprocessException: Child returned 1
===== Done, human-readable information to follow... =====
[ERROR] Uh oh! Processing stopped because of strange values in the reconstruction. This is often a sign that the input data has some issues or the software cannot deal with it. Have you followed best practices for data acquisition? See https://docs.opendronemap.org/flying/
Here is a dump of <task>/opensfm/undistorted/
Dropbox - odm-multispectral-test.zip - Simplify your life