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

raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #14

Open
rambhaskark opened this issue Feb 20, 2023 · 0 comments

Comments

@rambhaskark
Copy link

Getting the below error while trying to run the tool.

(.venv) [cfn-template]$ cat aws-waf-security-automations.yml | cfviz | dot -Tsvg -oexample.svg
-bash: dot: command not found
Traceback (most recent call last):
File "/home/rambhaskar/cloud-formation-viz/.venv/bin/cfviz", line 33, in
sys.exit(load_entry_point('cloud-formation-viz==0.0.1', 'console_scripts', 'cfviz')())
File "/home/rambhaskar/cloud-formation-viz/.venv/lib/python3.10/site-packages/cloud_formation_viz-0.0.1-py3.10.egg/cloud_formation_viz/main.py", line 22, in main
template = open_cfn(sys.argv)
File "/home/rambhaskar/cloud-formation-viz/.venv/lib/python3.10/site-packages/cloud_formation_viz-0.0.1-py3.10.egg/cloud_formation_viz/main.py", line 47, in open_cfn
template = json.load(sys.stdin)
File "/usr/local/lib/python3.10/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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