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

Application Crashed #362

Open
iamshouvikmitra opened this issue Oct 8, 2021 · 0 comments
Open

Application Crashed #362

iamshouvikmitra opened this issue Oct 8, 2021 · 0 comments

Comments

@iamshouvikmitra
Copy link

Version: 0.14.0
Python: 3.8.10 (default, Sep 28 2021, 16:10:42)
[GCC 9.3.0]
boto3 version: 1.17.53
Platform: Linux-5.4.0-88-generic-x86_64-with-glibc2.29
Args:
['/home/navigus/.local/bin/awslogs', 'get', '/ecs/staging-xxx-yyy-server', '--query=message', '--start=60m ago', '--end=30m ago']
Config:
{'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE', 'aws_region': None, 'aws_endpoint_url': None, 'log_group_name': '/ecs/staging-xxx-yyy-server', 'log_stream_name': 'ALL', 'filter_pattern': None, 'watch': False, 'watch_interval': 1, 'output_group_enabled': True, 'output_stream_enabled': True, 'output_timestamp_enabled': False, 'output_ingestion_time_enabled': False, 'start': '60m ago', 'end': '30m ago', 'color': 'auto', 'query': 'message', 'func': 'list_logs'}

Traceback (most recent call last):
  File "/home/xxx/.local/lib/python3.8/site-packages/awslogs/bin.py", line 179, in main
    getattr(logs, options.func)()
  File "/home/xxx/.local/lib/python3.8/site-packages/awslogs/core.py", line 229, in list_logs
    consumer()
  File "/home/xxx/.local/lib/python3.8/site-packages/awslogs/core.py", line 212, in consumer
    parsed = json.loads(event['message'])
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
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

1 participant