28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.03k stars 256 forks source link

Does not start up #99

Open dogmatic69 opened 2 years ago

dogmatic69 commented 2 years ago

Running on a fresh python:3-alpine box, installed graphviz, terraform and the pip lib.

/ # python --version
Python 3.10.2
/ # terraform --version
Terraform v1.0.11
on linux_amd64

Traceback (most recent call last):
  File "/usr/local/bin/blast-radius", line 14, in <module>
    from blastradius.handlers.dot import DotGraph, Format, DotNode
  File "/usr/local/lib/python3.10/site-packages/blastradius/handlers/dot.py", line 12, in <module>
    from blastradius.graph import Graph, Node, Edge
  File "/usr/local/lib/python3.10/site-packages/blastradius/graph.py", line 11, in <module>
    from blastradius.util import Counter
  File "/usr/local/lib/python3.10/site-packages/blastradius/util.py", line 65, in <module>
    class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
luispabon commented 2 years ago

Same here on Ubuntu 22.04 with Python 3.10.

markdjones82 commented 2 years ago

Same, I'm trying to find the issue.

heechankim commented 1 year ago

Same here on Mac M1 Pro with Python 3.10.6

Ianyliu commented 1 year ago

This version of Blast Radius doesn't support Python 3.10. The packages it uses are outdated, and some of the code also has to be changed accordingly.

Since the creator hasn't been active on this repo, I created my own repo and Docker image.

You can try downloading my version:

python3 -m pip install git+https://github.com/Ianyliu/blast-radius-fork

or run it on Docker:

docker run --rm -it -p 5000:5000 \ -v $(pwd):/data:ro \ --security-opt apparmor:unconfined \ --cap-add=SYS_ADMIN \ ianyliu/blast-radius-fork

chaoscreater commented 1 year ago

Is blast-radius supposed to be a .exe or something? I ran it and it's showing this, because there isn't a file type and therefore no app association...

image

UPDATE:

Got it a bit further by just using Python to run it, but I'm getting this:

image

Tried the above in a brand new installation of Python in a fresh VM and it's the same result.