UnicodeEncodeError when writing to log
Open
Nobody has claimed this yet.
bug
question
- Dominant language
- Python
- Stars
- 61
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Suggested solution: add encoding parameter to log open - main.py, line 258
with output_dir.joinpath(log_name).open("w", encoding='utf-8') as log_file_ptr:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at main.py line 258, where the log file is opened, and review the reported UnicodeEncodeError when writing logs. Verify the change with log content containing non-ASCII characters; done means the log is written without the encoding error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100