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

You've found a bug #400

Open
tlong305 opened this issue Apr 18, 2024 · 3 comments
Open

You've found a bug #400

tlong305 opened this issue Apr 18, 2024 · 3 comments

Comments

@tlong305
Copy link

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

@Balobanov
Copy link

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.

@mtarleton-istation-21
Copy link

You've found a bug! Please, raise an issue attaching the following traceback
https://github.com/jorgebastida/awslogs/issues/new

Version: 0.15.0
Python: 3.12.4 (tags/v3.12.4:8e8a4ba, Jun 6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]
boto3 version: 1.34.149
Platform: Windows-11-10.0.22631-SP0
Args: ['C:\Python312\Scripts\awslogs', 'get', '/importservices/application/ImportService', '-s', '30m', '--filter-pattern=%[Ee]xception|[Ee]rror%', '--profile', 'istation.staging2']
Config: {options}

Traceback (most recent call last):
File "C:\Python312\Lib\site-packages\awslogs\bin.py", line 210, in main
getattr(logs, options.func)()
File "C:\Python312\Lib\site-packages\awslogs\core.py", line 219, in list_logs
consumer()
File "C:\Python312\Lib\site-packages\awslogs\core.py", line 206, in consumer
print(" ".join(output))
File "C:\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 character '\ufffd' in position 426: character maps to

@patylgoto
Copy link

Is this repository being maintained?

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

No branches or pull requests

4 participants