jorgebastida / jorgebastida/awslogs
Error when reading logs
- Dominant language
- Python
- Stars
- 5k
- Forks
- 342
- PR merge metrics
- No merged PRs in 30d
Description
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.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)]
boto3 version: 1.38.39
Platform: macOS-15.5-arm64-arm-64bit-Mach-O
Args: ['/opt/homebrew/bin/awslogs', 'get', 'processor-develop', '--query=message', '--timestamp', '--profile=nonlive', '-w', '-s', '10m']
Config: {options}
Traceback (most recent call last):
File "/opt/homebrew/Cellar/awslogs/0.15.0_2/libexec/lib/python3.13/site-packages/awslogs/bin.py", line 210, in main
getattr(logs, options.func)()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/awslogs/0.15.0_2/libexec/lib/python3.13/site-packages/awslogs/core.py", line 219, in list_logs
consumer()
~~~~~~~~^^
File "/opt/homebrew/Cellar/awslogs/0.15.0_2/libexec/lib/python3.13/site-packages/awslogs/core.py", line 201, in consumer
parsed = json.loads(event["message"])
File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/decoder.py", line 345, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/decoder.py", line 361, in raw_decode
obj, end = self.scan_once(s, idx)
~~~~~~~~~~~~~~^^^^^^^^
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 135 (char 134)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.