weobodm 3.2.3 fails multispectral processing

hernan

Hi everyone! Webodm fails with this info using mulstipectral options on a mavic 3m images project.

Will try on previous version, I believe it worked Ok without any other changes.

`[WARNING] Cannot generate report, OpenSfM stats are missing
100 - done.
Traceback (most recent call last):
File "D:\WebODM\resources\app\apps\ODX\\run.py", line 60, in <module>
retcode = app.execute()
^^^^^^^^^^^^^
File "D:\WebODM\resources\app\apps\ODX\stages\odm_app.py", line 118, in execute
raise e
File "D:\WebODM\resources\app\apps\ODX\stages\odm_app.py", line 82, in execute
self.first_stage.run()
File "D:\WebODM\resources\app\apps\ODX\opendm\types.py", line 465, in run
self.next_stage.run(outputs)
File "D:\WebODM\resources\app\apps\ODX\opendm\types.py", line 465, in run
self.next_stage.run(outputs)
File "D:\WebODM\resources\app\apps\ODX\opendm\types.py", line 465, in run
self.next_stage.run(outputs)
[Previous line repeated 8 more times]
File "D:\WebODM\resources\app\apps\ODX\opendm\types.py", line 444, in run
self.process(self.args, outputs)
File "D:\WebODM\resources\app\apps\ODX\stages\odm_report.py", line 149, in process
if odm_stats.get('point_cloud_statistics') and point_cloud_file and views_dimension:
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'`

4 Replies

hernan OP

hi everyone, Tried with an RGB set, keep finding an error when computing Stats for OpenSfm. every other outputs looks ok, but it breaks report generation (as much as I understand msgs)

pierotofy Best answer

Seems a problem finding a font, or a corrupted cache in matplotlib: ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=6.9399999999999995, and fallback to the default font was disabled

💯 1
pierotofy

Try opening the ODX console (C:\WebODM\resources\app\apps\ODX\console.bat) and run: python -c "import matplotlib; print(matplotlib.get_cachedir())" to find the cache dir, then delete that folder and restart the task

hernan OP

tried the brute force way uninstalling and reinstalling, no change. tried your solution and voila!!! Thanks @pierotofy

👍 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.