Skip to content
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

Writing rds files as log can crash Snakemake execution #535

Open
votti opened this issue Apr 19, 2024 · 0 comments
Open

Writing rds files as log can crash Snakemake execution #535

votti opened this issue Apr 19, 2024 · 0 comments

Comments

@votti
Copy link

votti commented Apr 19, 2024

I noticed that this workflow often saves the snakemake object as a log output as rds objects.

Unfortunately in some snakemake configurations (ie a setting/executor that uses --show-failed-logs) this causes the whole workflow execution to crash.

The error is something in the line of:

  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

This has been reported to snakemake (snakemake/snakemake#2826) and I have authored a fix (snakemake/snakemake#2827).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant