-
Notifications
You must be signed in to change notification settings - Fork 760
.command.run permission denied in 3.16.1, 3.17.0, 3.18.0 #1554
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
Comments
Same Issue. I thought it was an internet problem, but it looks like someone else is having the same problem I am! |
I spent two days trying to figure out where my permission problem was, all to no avail until I recalled last time I ran it just fine using a previous version and... voila (also, great fun first troubleshooting that sample names for some reason can no longer be numeric when the error said something about a space in the filename.. sigh). Of course it could still be specific to my setup, so good to hear I'm not alone in having this problem. |
Our experience is very similar, I have no problem at all if I specify version 3.16.0. Also, I have installed other piplines such as fetchings, sarek, differntialabundance,all without problems. But it's worth mentioning that I've installed 3.18.0 successfully before, but because of a slight problem with docker, I deleted all the containers, but it didn't work when I pulled it again |
A user on our HPC-cluster has the same problem. I also thought our setup was the problem until I found this issue. |
Same issue. |
It is the first time that I hear about all those issues, but the
part of your error message piqued my interest. Searching for issues in the nf-core organization quickly brought up this template fix by @ewels and an associated Nextflow issue. Admittedly, I do not know what I can recommend to you to act on the problem. Since a change in the pipeline template was required, once probably has to consider these pipeline versions incompatible with certain Nextflow versions? But maybe just providing a custom config with
to I think, this warrants a blog post from the nf-core maintainers once there is a good solution in place. |
It looks like the Lines 307 to 315 in 15c160f
So if you run the pipeline with This particular error only shows up when several specific criteria are met:
Fixes are:
An explanation with more detail of what's going on can be found here: nf-core/tools#3416 (comment) |
oh, and can also overwrite the above syntax with a custom config too - probably the easiest fix! Untested, but:
// Set bash options
process.shell = [
"bash",
"-C", // No clobber - prevent output redirection from overwriting files.
"-e", // Exit if a tool returns a non-zero status/exit code
"-u", // Treat unset variables and parameters as an error
"-o", // Returns the status of the last command to exit..
"pipefail" // ..with a non-zero status or zero if all successfully execute
] nextflow run nf-core/rnaseq -c nf_config_fix.config ... |
Thanks for all the suggestions and for getting back to me about this bug. I can confirm that running the dev branch using -r dev works for both docker and singularity containers. For now I just used 3.16.0. |
@ewels Just commenting to say thank you for suggesting a custom config (in #1554 (comment)). I came across a very similar issue with a different Nextflow-based pipeline (avantonder/assembleBAC#28), and appending my current config with your text seems to have gotten me past the error. I was using Nextflow 24.10.5. Hopefully this is helpful, at least in letting people know how widespread the issue is. |
Yup, looks like that pipeline was originally based on the nf-core template. So even though it's not an nf-core pipeline, it's the same situation. |
I think the unhappy test cases for this feature is missing when the process.shell is provided via config. Hope to see new test cases to cover this on new release. |
I suggest forking the Nextflow repository and opening a pull request with the test cases that you have in mind. I am sure that this is the best way to get them in or at least find out, if they have deliberately been omitted. |
I fix the test cases, rewrite validate shell function to raise error @MatthiasZepper @ewels |
I had the same issue. Thanks for the version suggestion! |
Uh oh!
There was an error while loading. Please reload this page.
Description of the bug
New versions of rnaseq pipeline fails when running the test pipeline under docker (and singularity, conda was not tested). 3.16.1, 3.17.0 and 3.18.0 is affected. 3.16.0 and 3.14.0 tested fine.
Command used and terminal output
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: