snakemake / snakemake

This is the development home of the workflow management system Snakemake. For general information, see
https://snakemake.github.io
MIT License
2.17k stars 521 forks source link

Issue with unlocking directory #2919

Open n318162971 opened 1 week ago

n318162971 commented 1 week ago

Snakemake version 6.3.0

Describe the bug

Snakemake is called by spacemake run (link: https://spacemake.readthedocs.io/en/latest/index.html). Upon attempting to run I get the error message:

Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory: my_dir If you are sure that no other instances of snakemake are running on this directory, the remaining lock was likely caused by a kill signal or a power loss. It can be removed with the --unlock argument.

Therefore I run snakemake --unlock as suggested, which yields:

Error: no Snakefile found, tried Snakefile, snakefile, workflow/Snakefile, workflow/snakefile.

And the alleged directory lock remains as it is. What could cause this lock?

cmeesters commented 20 hours ago

Hi,

Apparently, you are using a wrapper around Snakemake - and an outdated version of Snakemake. Please update and try again. If it fails, you might want to address the developers of your wrapper?