Comments (4)
my callstack
...
127.0.0.1 - - [29/Aug/2022 15:18:56] "GET /static/js/selectize.js HTTP/1.1" 304 -
[2022-08-29 15:19:13,783] ERROR in app: Exception on /graph.svg [GET]
Traceback (most recent call last):
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/handlers/dot.py", line 455, in _module
return m.groupdict()['module']
AttributeError: 'NoneType' object has no attribute 'groupdict'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/server/server.py", line 36, in graph_svg
dot = DotGraph('', file_contents=run_tf_graph())
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/handlers/dot.py", line 54, in __init__
self.nodes.append(DotNode(e.source))
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/handlers/dot.py", line 415, in __init__
self.module = DotNode._module(self.label) # for module groupings. 'root' or 'module.foo.module.bar'
File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/handlers/dot.py", line 457, in _module
raise Exception("None: ", label)
Exception: ('None: ', '[root] module.admin_group_owner_parent_group_assignment (close)')
127.0.0.1 - - [29/Aug/2022 15:19:13] "GET /graph.svg HTTP/1.1" 500 -
from blast-radius.
If any of you want, you can try my version of Blast Radius using pip:
python3 -m pip install git+https://github.com/Ianyliu/blast-radius-fork
Or Docker:
docker run --rm -it -p 5000:5000 \ -v $(pwd):/data:ro \ --security-opt apparmor:unconfined \ --cap-add=SYS_ADMIN \ ianyliu/blast-radius-fork
I believe I solved that problem...
from blast-radius.
Similar issue here, but different illegal character:
127.0.0.1 - - [07/May/2021 00:24:38] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/jquery.slim.min.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/d3-tip.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/d3.v4.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/blast-radius.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/fontawesome-all.min.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/categories.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/svg-pan-zoom.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:38] "GET /static/js/selectize.js HTTP/1.1" 304 -
127.0.0.1 - - [07/May/2021 00:24:41] "GET /graph.svg HTTP/1.1" 200 -
[2021-05-07 00:24:43,555] ERROR in app: Exception on /graph.json [GET]
Traceback (most recent call last):
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/blastradius/server/server.py", line 61, in graph_json
tf = Terraform(os.getcwd())
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/blastradius/handlers/terraform.py", line 26, in __init__
self.config = hcl.load(config_io)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/hcl/api.py", line 62, in load
return loads(fp.read(), export_comments=export_comments)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/hcl/api.py", line 81, in loads
return HclParser().parse(s, export_comments=export_comments)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/hcl/parser.py", line 642, in parse
return self.yacc.parse(
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/hcl/ply/yacc.py", line 503, in parse
tok = self.errorfunc(errtoken)
File "/home/smontalbano/work/martie_stripped/venv/lib/python3.8/site-packages/hcl/parser.py", line 634, in p_error
raise ValueError(msg)
ValueError: Line 822, column 21563: unexpected RIGHTPAREN; expected PERIOD, COMMA
127.0.0.1 - - [07/May/2021 00:24:43] "GET /graph.json HTTP/1.1" 500 -
from blast-radius.
&
for me.
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
- Hosting on Azure HOT 1
- HTTP 500 internal server error: unexpected LEFTBRACKET HOT 4
- 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
- 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.