jorgebastida / awslogs

AWS CloudWatch logs for Humans™

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You've found a bug

tlong305 opened this issue · comments

Version: 0.15.0
Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
boto3 version: 1.34.86
Platform: Windows-11-10.0.22631-SP0

Traceback (most recent call last):
File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\site-packages\awslogs\bin.py", line 210, in main
getattr(logs, options.func)()
File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\site-packages\awslogs\core.py", line 219, in list_logs
consumer()
File "C:\Users\user1AppData\Local\Programs\Python\Python312\Lib\site-packages\awslogs\core.py", line 206, in consumer
print(" ".join(output))
File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode characters in position 1900-1905: character maps to

commented

The same issue with Win 11.

Version: 0.15.0
Python: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
boto3 version: 1.34.131
Platform: Windows-10-10.0.22631-SP0

Sometimes it works, sometimes not.