You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the Bot in logging.DEBUG mode, some (especially GUILDE_CREATE) Events raise a Log Error. UnicodeEncodeError: 'charmap' codec can't encode character
List the steps.
start the bot
logging error in terminal
What you expected.
The Event should be logged in the logging file.
What you saw.
Instead, I received this traceback error given from my Python terminal:
Traceback (most recent call last):
File "C:\...\Python38\lib\logging\__init__.py", line 1088, in emit
stream.write(msg + self.terminator)
File "C:\...\Python38\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2b50' in position 54566: character maps to <undefined>
[.......]
File "c:\...\.venv\lib\site-packages\interactions\api\gateway\client.py", line 256, in _handle_connection
log.debug(f"{event}: {str(data)}")
What version of the library did you use?
stable
Version specification
No response
Code of Conduct
I agree to follow the contribution requirements.
The text was updated successfully, but these errors were encountered:
Describe the bug.
When starting the Bot in logging.DEBUG mode, some (especially GUILDE_CREATE) Events raise a Log Error.
UnicodeEncodeError: 'charmap' codec can't encode character
List the steps.
What you expected.
The Event should be logged in the logging file.
What you saw.
Instead, I received this traceback error given from my Python terminal:
What version of the library did you use?
stable
Version specification
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: