Error in pc-rectify in 3.0 node: AttributeError: 'Namespace' object has no attribute 'debug'

Hi when I rerun a model with 3.0 and activate pc-rectify I receive the error below,
with 2.8.7 and 2.9.2 node everything is ok, is ok also if i do not select pc-rectify

[INFO] DEM input file /var/www/data/a92b4ddb-476c-4bd2-a114-b02a838555a7/odm_georeferencing/odm_georeferenced_model.laz found: True
[INFO] Classifying /var/www/data/a92b4ddb-476c-4bd2-a114-b02a838555a7/odm_georeferencing/odm_georeferenced_model.laz using Simple Morphological Filter
[INFO] running pdal translate -i /var/www/data/a92b4ddb-476c-4bd2-a114-b02a838555a7/odm_georeferencing/odm_georeferenced_model.laz -o /var/www/data/a92b4ddb-476c-4bd2-a114-b02a838555a7/odm_georeferencing/odm_georeferenced_model.laz smrf --filters.smrf.scalar=1.25 --filters.smrf.slope=0.15 --filters.smrf.threshold=0.5 --filters.smrf.window=18.0
[INFO] Created /var/www/data/a92b4ddb-476c-4bd2-a114-b02a838555a7/odm_georeferencing/odm_georeferenced_model.laz in 0:01:16.925827
Traceback (most recent call last):
File “/code/run.py”, line 59, in
retcode = app.execute()
File “/code/stages/odm_app.py”, line 117, in execute
raise e
File “/code/stages/odm_app.py”, line 81, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 382, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 382, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 382, in run
self.next_stage.run(outputs)
[Previous line repeated 6 more times]
File “/code/opendm/types.py”, line 361, in run
self.process(self.args, outputs)
File “/code/stages/odm_dem.py”, line 75, in process
commands.rectify(dem_input, args.debug)
AttributeError: ‘Namespace’ object has no attribute ‘debug’

My system is ubuntu 22.04 witch nvidia 3070.

Many thanks.

1 Like

Ups! Nice catch. Fixed with Fix pc-rectify · OpenDroneMap/[email protected] · GitHub

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.