WebODM - SubModel Creation Error - OSError: [WinError 1] Incorrect function:

I am running Win 11 and fail to create submodels. The WebODM is setup on external Sandisk Extreme Pro 1 TB drive.

A set of 1476 photos runs without issue when not using split-merge, even with both feature quality and pc quality at high.

However, when set to split the dataset (tried 100, 300, 500 and 1000 with overlap = 150 and 0m) it is always failing after generating the submodel folders with no photos in it.

Read out python error
OSError: [WinError 1] Incorrect function: ‘F:\WebODM\resources\app\apps\NodeODM\data\df3664fa-9528-4bce-9aa4-3941f10910f6\images\DJI_000A(4).JPG’ → ‘F:\WebODM\resources\app\apps\NodeODM\data\df3664fa-9528-4bce-9aa4-3941f10910f6*\opensfm..*\submodels\submodel_0000\images\DJI_000A(4).JPG’

This seems to be relating to python (error “[WinError 1] Incorrect function:” seems to be a common python error), however, is the path string command correct?

Strange path string, why is “openfsm” and “…” part of the path string? Should the path string not be

'F:\WebODM\resources\app\apps\NodeODM\data\df3664fa-9528-4bce-9aa4-3941f10910f6\submodels\submodel_0000\images\DJI_000A(4).JPG'

without

\opensfm\..
1 Like

What’s the format type of the drive? I’m thinking the links are failing. OpenSfM doesn’t copy the data into the subdirectories, but symlinks them. Windows supports symlinks, but not all drive formats do.

1 Like

Only NTFS does, and not over network-mounted volumes.

ExFAT/FAT32, et al do not.

Thank you, format is exFAT

1 Like

Thank you, as per reply above, format is exFAT

1 Like

Thanks for the confirmation. Linking to the github issue so they are connected:

We’d definitely welcome a pull request that warns Windows users when using file systems that don’t support split merge.

Barring that, a pull request adding a warning in the split-merge documentation would help as well:

The workaround in the meantime is to backup and reformat or transfer to a drive that supports symlinks.

1 Like

Thank you for considering updating the help files.

To confirm, have formatted drive to NTFS and first round of large split (750 photos) did not complain, also still running a small split (300 photos) on ultra settings, but seems to successfully process split-merge. Will follow up with confirmation on result.

1 Like

Excellent. Thanks for the update. Looking forward to seeing if we’ve got you sorted.

1 Like

Now there is something else related to memory.

1476 photos, split size 300, overlap 50, pc-quality ultra and errors, no photo resizing

[INFO] running “F:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\DensifyPointCloud” “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\scene.mvs” --resolution-level 1 --dense-config-file “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\Densify.ini” --max-resolution 5472 --max-threads 12 --number-views-fuse 2 --sub-resolution-levels 2 --archive-type 3 -w “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\depthmaps” -v 0 --cuda-device -1
[WARNING] OpenMVS ran out of memory, we’re going to turn on tiling to see if we can process this.
[INFO] running “F:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\DensifyPointCloud” “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\scene.mvs” --resolution-level 1 --dense-config-file “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\Densify.ini” --max-resolution 5472 --max-threads 12 --number-views-fuse 2 --sub-resolution-levels 2 --archive-type 3 -w “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\depthmaps” -v 0 --fusion-mode 1 --cuda-device -1
[INFO] Computing sub-scenes
[INFO] running “F:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\DensifyPointCloud” “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\scene.mvs” --sub-scene-area 660000 --max-threads 12 -w “F:\WebODM\resources\app\apps\NodeODM\data\44c6364a-2a85-4722-8846-d89578fce176\submodels\submodel_0000\opensfm\undistorted\openmvs\depthmaps” -v 0 --cuda-device -1

===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 3221225725
Traceback (most recent call last):
File “F:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 82, in execute
self.first_stage.run()
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 470, in run
self.next_stage.run(outputs)
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 470, in run
self.next_stage.run(outputs)
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 470, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 449, in run
self.process(self.args, outputs)
File “F:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 138, in process
system.run(‘“%s” “%s” %s’ % (context.omvs_densify_path,
File “F:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 112, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 3221225725

===== Done, human-readable information to follow… =====

[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org

===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 4294967295
Traceback (most recent call last):
File “F:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 82, in execute
self.first_stage.run()
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 470, in run
self.next_stage.run(outputs)
File “F:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 449, in run
self.process(self.args, outputs)
File “F:\WebODM\resources\app\apps\ODM\stages\splitmerge.py”, line 193, in process
system.run(" ".join(map(double_quote, map(str, argv))), env_vars=os.environ.copy())
File “F:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 112, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 4294967295

===== Done, human-readable information to follow… =====

[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org

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