-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [Errno 18] Invalid cross-device link error in move os.rename(src, real_dst) #1645
Comments
Hello @AriBad ; can you re-run with Checking the latest version of Also, I would recommend upgrading your cwltool to a newer version as well. Conda has version |
a workaround would be to set
|
Hi, sorry for the late reply. Thanks for your reply. Indeed, by precising the path of TMP dir allow to not have the error with os.rename. However. the second part of the error is already here :
I have different using of my pipeline with the using of scatter at a step or not. And depending on the scenario of the pipeline that I choose, the error is present or not. I think the error come when cwltool try to copy file in tmp dir in output dir. As The error appear in some cases and not in another I am not be able to give you a toy script to show you the problem because I don't understand the cause of it. Maybe it is because I have many output to copy. (Here the log is little different because I have used cwltool with calrissian on k8s. But the error is the same. ) |
Hi, I use cwltool to run a pipeline and I sometimes have an error when I run it. The error is :
OSError: [Errno 18] Invalid cross-device link
andFile "/path/to/.conda/envs/name_env/lib/python3.7/shutil.py", line 566, in move os.rename(src, real_dst)
I think the error is the same as here and the problem is the using of
os.rename
instead ofshutil.move().
This error appears at the end of the pipeline when cwltool moves temp files into local.
Have you ever encountered this error ? If yes, is there a way to troubleshoot it ?
Expected Behavior
no error
Actual Behavior
OSError: [Errno 18] Invalid cross-device link
andFile "/path/to/.conda/envs/name_env/lib/python3.7/shutil.py", line 566, in move os.rename(src, real_dst)
Full Traceback
Your Environment
The text was updated successfully, but these errors were encountered: