-
Notifications
You must be signed in to change notification settings - Fork 74
Description
- ricecooker version: 0.7.0b3
- Python version: 3.9
- Operating System: Windows
Description
Running chef script for creating the channel.
The problem here is with loggers and open files that used files.
There is unicode that are not recognized.
This happened when I use Arabic language, but we can get this error on some other languages too.
Here is one error:
UnicodeEncodeError: 'charmap' codec can't encode characters in position 52-60: character maps to
What I Did
We can fix this error if we use encode='utf-8'
Where these errors occur
https://github.com/learningequality/ricecooker/blob/develop/ricecooker/managers/tree.py
https://github.com/learningequality/ricecooker/blob/develop/ricecooker/classes/nodes.py
Error Traceback copy
UnicodeEncodeError: 'charmap' codec can't encode characters in position 86-95: character maps to
File "C:\projects\learning_equallity\chefs_integrations\sushi-chef-kamkalima\venv\lib\site-packages\ricecooker\managers\tree.py", line 303, in add_nodes