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

job manager: encoding issue #657

Closed
soxofaan opened this issue Nov 8, 2024 · 0 comments
Closed

job manager: encoding issue #657

soxofaan opened this issue Nov 8, 2024 · 0 comments

Comments

@soxofaan
Copy link
Member

soxofaan commented Nov 8, 2024

reported by @mbuchhorn:

I get an error in the JobManager during the metadata write out to disk. It looks like due to unicode issues: UnicodeEncodeError: 'charmap' codec can't encode character '\u03c3' in position 56: character maps to

comes from

with open(metadata_path, "w") as f:
json.dump(job_metadata, f, ensure_ascii=False)

adding encoding='utf8' to the open() call fixes the problem. (I'm also not sure about that ensure_ascii=False)

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

No branches or pull requests

1 participant