Mappings fails on WebODM3.2.1 (ODX 3.7.2), Runs on opendronemap/nodeodm

Aeret

Hi everybody ( and Piero),

Yesterday I updated a VPS to WebODM 3.2.1 (ODX 3.7.2.). After uploading a small dataset (100 images DJI M3E) I pretty quickly received an error.
As a workaround I installed a temp NodeODM (via opendronemap) and added this as a second processing node into the WebODM environment. This workaround works, the set is currently being processed.

I think it has to do something with parsing the EXIF headers?

INFO] Loading 100 images File "/code/run.py", line 60, in <module> retcode = app.execute() ^^^^^^^^^^^^^ File "/code/stages/odm_app.py", line 118, in execute raise e File "/code/stages/odm_app.py", line 82, in execute self.first_stage.run() File "/code/opendm/types.py", line 444, in run self.process(self.args, outputs) File "/code/stages/dataset.py", line 171, in process p = types.ODM_Photo(f) ^^^^^^^^^^^^^^^^^^ File "/code/opendm/photo.py", line 175, in init self.parse_exif_values(path_file) File "/code/opendm/photo.py", line 212, in parse_exif_values tags = exifread.process_file(f, details=True, extract_thumbnail=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/exifread/init.py", line 121, in process_file hdr.decode_maker_note() File "/usr/local/lib/python3.12/dist-packages/exifread/core/exif_header.py", line 612, in decode_maker_note self.dump_ifd(ifd=0, ifd_name="MakerNote", tag_dict=dji.TAGS) File "/usr/local/lib/python3.12/dist-packages/exifread/core/exif_header.py", line 391, in dump_ifd self._process_tag( File "/usr/local/lib/python3.12/dist-packages/exifread/core/exif_header.py", line 342, in _process_tag printable, prefer_printable = self._get_printable_for_field( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/exifread/core/exif_header.py", line 241, in _get_printable_for_field printable = str(values[0]) ~~^^^ IndexError: list index out of range

9 Replies

pierotofy

Can you share 1-2 images from the dataset? It's probably due to changes they made while doing the 3.6.0 update and I think I know exactly where the problem is

dazzle

Hi Piero, I also just ran into the same error message "IndexError: list index out of range" when starting a processing job of 1042 images using WebODM 3.2.1. See console log attached. Has this issue been resolved? 🧐

dazzle Best answer

Upgrading to WebODM 3.2.1 official build 139 might have done the trick. Just restarted the job and according to log output i am already past the stage where the previous build threw an error. @pierotofy consider my question resolved. If I run into another error (or this error somewhat again) I will post again

👍 1
Aeret OP

Thanks for the quick fix! Do you still need an image? Just updated to 3.2.2 and so far so good (in 3.2.1 the error was triggered immediatly at the beginning)

👍 1
Aeret OP

It worked in 3.2.2 thanks again for the quick fix.

🚀 1

Need more help?

This discussion happened in the WebODM community Discord. Join and ask your own question.

Join View Original Thread

This page mirrors a public discussion from the WebODM Discord. How to request a removal.