-
Notifications
You must be signed in to change notification settings - Fork 129
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
Lock file permission issues #1239
Comments
Yes, it is the same issue as #1232. Unfortunately, the best I can recommend is to remove the lockfile or disable history. Maybe this should be addressed in the |
You could also try and install wlandau/txtq@ba15026. That commit forces |
Hmm... that turns out to not work on Windows for some reason. Try wlandau/txtq@4bf8876. In that commit, the lockfile is created in advance and outside |
None of the two |
Would it be possible to change the permissions on the lock file using: Sys.chmod(".drake/drake/history/lock", "660", use_umask = FALSE) So that people from the same user group can use the lock file too? |
Possible, yes, but not something I am likely to do in drake itself. I recommend invoking it in your script(s) that invoke drake, and posting an issue to filelock if you can reproduce the issue without drake or txtq. |
|
Closing again due to wlandau/txtq#18 (comment). Sorry to have gotten your hopes up. |
From r-lib/filelock#26, it looks like this error came from the fact that some file systems do not support file locking. Should be fixed for |
It works! Thanks for your work! |
Thanks for confirming. |
Hello,
On a Linux machine if a user runs a drake pipeline, the same pipeline can't be run again (or the results checked) by another user. The following error occurs:
If the file
.drake/drake/history/lock
is removed manually, the second user can use the pipeline again.Is there a way to unlock the pipeline from R?
I used the option
lock_envir = FALSE
in the make function but the problem is still occurring.I am using drake v7.7.0.9002 with R3.5.1
Is this the same issue as #1232? I would prefer to keep the history, so do I have a solution that doesn't require me setting
history = FALSE
.Shouldn't the lock file be removed if the pipeline is finished?
Kindly,
Pierre
The text was updated successfully, but these errors were encountered: