Comments (4)
environment:
(cpy382_1) oberstet@intel-nuci7:~/scm/crossbario/xbr-network-terraform$ python -V
Python 3.8.2
(cpy382_1) oberstet@intel-nuci7:~/scm/crossbario/xbr-network-terraform$ pip show blastradius
Name: BlastRadius
Version: 0.1.23
Summary: Interactive visualizations of Terraform dependency graphs
Home-page: http://pypi.python.org/pypi/BlastRadius/
Author: Patrick McMurchie
Author-email: [email protected]
License: LICENSE.txt
Location: /home/oberstet/cpy382_1/lib/python3.8/site-packages
Requires: pyhcl, jinja2, requests, BeautifulSoup4, Flask
Required-by:
(cpy382_1) oberstet@intel-nuci7:~/scm/crossbario/xbr-network-terraform$ terraform --version
Terraform v0.12.28
+ provider.aws v2.69.0
(cpy382_1) oberstet@intel-nuci7:~/scm/crossbario/xbr-network-terraform$
from blast-radius.
I'm getting a similar but slightly different error with an identical stack trace.
Stacktrace
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.8/site-packages/blastradius/server/server.py", line 61, in graph_json
tf = Terraform(os.getcwd())
File "/usr/local/lib/python3.8/site-packages/blastradius/handlers/terraform.py", line 26, in __init__
self.config = hcl.load(config_io)
File "/usr/local/lib/python3.8/site-packages/hcl/api.py", line 62, in load
return loads(fp.read(), export_comments=export_comments)
File "/usr/local/lib/python3.8/site-packages/hcl/api.py", line 81, in loads
return HclParser().parse(s, export_comments=export_comments)
File "/usr/local/lib/python3.8/site-packages/hcl/parser.py", line 642, in parse
return self.yacc.parse(
File "/usr/local/lib/python3.8/site-packages/hcl/ply/yacc.py", line 503, in parse
tok = self.errorfunc(errtoken)
File "/usr/local/lib/python3.8/site-packages/hcl/parser.py", line 634, in p_error
raise ValueError(msg)
ValueError: Line 47, column 1254: unexpected RIGHTBRACE; expected $end, COMMA, IDENTIFIER, STRING, COMMENT, MULTICOMMENT, MINUS, NUMBER, FLOAT```
from blast-radius.
Environment
Python 3.8.4
~/P/T/terraform-aws-s3 ❯❯❯ pip3 show blastradius
Name: BlastRadius
Version: 0.1.23
Summary: Interactive visualizations of Terraform dependency graphs
Home-page: http://pypi.python.org/pypi/BlastRadius/
Author: Patrick McMurchie
Author-email: [email protected]
License: LICENSE.txt
Location: /usr/local/lib/python3.8/site-packages
Requires: BeautifulSoup4, requests, pyhcl, jinja2, Flask
Required-by:
~/P/T/terraform-aws-s3 ❯❯❯ terraform --version
Terraform v0.12.29
+ provider.aws v2.70.0```
from blast-radius.
I just made a PR that replaces pyhcl with python-hcl2 and found that it cleared up a bunch of my parsing errors. Could you try this fork and see if this clears it up?
Here's the fork: https://github.com/Jrc356/blast-radius
just clone that guy and run a pip install . in the cloned dir then use as normal
and here's the PR: #84
from blast-radius.
Related Issues (20)
- Receiving issue when trying to connect to git for AWS provider HOT 4
- When using with an AWS project, diagram is blank. HOT 9
- BUG: Commit a7ec4ef Docker feature not functional, returns `no such file or dir` error HOT 3
- REQ: SemVer Release or Tag
- Python 3.10 incomptablity due to collections HOT 3
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 1
- Error using && Logical Operators
- Terraform initialized in an empty directory! but directory is not empty
- Importing ABC directly from collections will be removed in Python 3.10
- Using blast-radius for the first time HOT 1
- All I see is the graphviz svg graph HOT 1
- Error fetching terraform module in blast-radius HOT 16
- AttributeError: 'NoneType' object has no attribute 'groupdict' HOT 12
- Is this project still maintained? HOT 2
- Local install fails to find templates
- Error: Unsuitable value type HOT 1
- Blast Radius triggers 500 response HOT 4
- WORKING VERSION
- Does not start up HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blast-radius.