I’m having troubles in updating webodm via docker. By now I need instructions how to downgrade 1.9.11 to 1.9.7 or older.
I tried to update my webodm and then rebuild using my processor like this post:
In the first test I made i got success, but in this case i got the following error:
[INFO] running “/code/SuperBuild/install/bin/odm_orthophoto” -inputFiles /var/www/data/75b20dc3-fc99-41d5-b5c8-8cdd8f08c990/odm_texturing_25d/odm_textured_model_geo.obj -logFile “/var/www/data/75b20dc3-fc99-41d5-b5c8-8cdd8f08c990/odm_orthophoto/odm_orthophoto_log.txt” -outputFile “/var/www/data/75b20dc3-fc99-41d5-b5c8-8cdd8f08c990/odm_orthophoto/odm_orthophoto_render.tif” -resolution 23.25028777514098 -outputCornerFile “/var/www/data/75b20dc3-fc99-41d5-b5c8-8cdd8f08c990/odm_orthophoto/odm_orthophoto_corners.txt”
/bin/sh: 1: /code/SuperBuild/install/bin/odm_orthophoto: not found
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 127
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)
[Previous line repeated 7 more times]
File “/code/opendm/types.py”, line 327, in run
self.process(self.args, outputs)
File “/code/stages/odm_orthophoto.py”, line 71, in process
system.run(’"{odm_ortho_bin}" -inputFiles {models} ’
File “/code/opendm/system.py”, line 106, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 127
===== Done, human-readable information to follow… =====
Since i got the same error above i manually rebuilt all packages and got stuck on this error inside WebODM:
Traceback (most recent call last):
File “/code/run.py”, line 15, in
from opendm.utils import get_processing_results_paths, rm_r
File “/code/opendm/utils.py”, line 3, in
from opendm.photo import find_largest_photo_dim
File “/code/opendm/photo.py”, line 18, in
from opensfm.sensors import sensor_data
File “/code/SuperBuild/install/bin/opensfm/opensfm/sensors.py”, line 3, in
from opensfm import context
File “/code/SuperBuild/install/bin/opensfm/opensfm/context.py”, line 8, in
from loky import get_reusable_executor
File “/usr/local/lib/python3.9/dist-packages/loky/init.py”, line 19, in
from .backend.reduction import set_loky_pickler
File “/usr/local/lib/python3.9/dist-packages/loky/backend/reduction.py”, line 82, in
import cloudpickle # noqa: F401
File “/usr/local/lib/python3.9/dist-packages/cloudpickle/init.py”, line 3, in
from cloudpickle.cloudpickle import *
File “/usr/local/lib/python3.9/dist-packages/cloudpickle/cloudpickle.py”, line 145, in
_cell_set_template_code = _make_cell_set_template_code()
File “/usr/local/lib/python3.9/dist-packages/cloudpickle/cloudpickle.py”, line 126, in _make_cell_set_template_code
return types.CodeType(
TypeError: an integer is required (got type bytes)