Open x-ancin opened 5 years ago
I have been going back and forth with the server admin, and I think we have found the problem: Symlinks has issues when running on a cifs file system, which requires adding the mfsymlink flag to the mount command, and that is why I was getting the error. After adding the mfsymlink flag, the process works fine. I am running a bigger dataset now to make sure, but it seems like it is fixed now.
Yes, this makes perfect sense. The heavy use of symlinks is a definite gotcha for the file system.
Piero -- do you still consider this a bug, or should we request x-ancin adds something to the docs, if they can?
I don't think this is a bug but a file system issue. Closing.
I am running Win 11 and have the same problem.
A set of 1476 photos runs without issue, 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 = 0m) it is always failing after generating the submodel folders with no photos in it.
Can there be a similar issue on Windows where the ODMNode is not able to copy the photos over to the submodel folders?
If so, it is a bug as the user is not able to deduce from the task output what the real issue is.
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'
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\..
Related community forum post: https://community.opendronemap.org/t/webodm-submodel-creation-error-oserror-winerror-1-incorrect-function/22235
Confirmed: this is a file system issue. Perhaps we can do a file system check when using split-merge and warn the user. I wouldn't be against copying data on a file system that doesn't support symlinks, but that's probably a conversation.
I'll re-open, as it would be useful to at least warn the user, but I'll mark it as help wanted.
How did you install OpenDroneMap? (Docker, natively, ...)?
Using Docker in a linux server
What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)
Command line via PuTTy
What is the problem?
When I run ODM in a local machine it works fine with and without splitting the dataset, using
or
As long as I have the data in a local folder (either hard drive or USB external disk), it does everything as expected
But when I run it on the server, it works only without the split command:
to the code, I get the following error:
It seems like it opensfm has problems read/writing the submodels folder. I am added to the docker user group, but I do not have sudo rights when I run the command.
What should be the expected behavior? If this is a feature request, please describe in detail the changes you think should be made to the code, citing files and lines where changes should be made, if possible.
The expected behavior is that ODM creates the submodel folders, and processes the dataset in chunks, so then I can extract each submodel's orthophoto and DSM to work with smaller tif files afterward
How can we reproduce this? (What steps did you do to trigger the problem? What parameters are you using for processing? If possible please include a copy of your dataset uploaded on Google Drive or Dropbox. Be detailed)
Run ODM with --split on a server disk