Error on snakemake publish
After successfully running snakemake
I got an rerror when running snakemake publish
:
rsync: failed to set times on "/s/public_webshare/project/scared/.": Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
Error in job publish while creating output file .
RuleException:
CalledProcessError in line 29 of /data/nasif12/home_if12/herzogma/workspace/scared/.wBuild/wBuild.snakefile:
Command 'rsync -rt Output/html/ /s/public_webshare/project/scared' returned non-zero exit status 23
File "/data/nasif12/home_if12/herzogma/workspace/scared/.wBuild/wBuild.snakefile", line 29, in __rule_publish
File "/opt/modules/i12g/anaconda/3-4.1.1/lib/python3.5/concurrent/futures/thread.py", line 55, in run
Will exit after finishing currently running jobs.
Exiting because a job execution failed. Look above for error message
Chris fixed this by manually changing the rule publish
command in the .wBuild/wBuild.snakefile
to:
shell: "rsync -Ort Output/html/ {config[webDir]}"
(he hadded -O
).
Is this a general issue and can it be fixed for everyone?
Edited by Maximilian Herzog