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

plebnet dashboard with prod graph #137

Open
bliotti opened this issue Dec 26, 2022 · 0 comments
Open

plebnet dashboard with prod graph #137

bliotti opened this issue Dec 26, 2022 · 0 comments

Comments

@bliotti
Copy link
Contributor

bliotti commented Dec 26, 2022

Tried replacing prod lnd's describegraph.json in plebnet dashboard visualizer. (This is suggested in readme)

but dashboard logs throws a missing attribute error.

Should it be f['name'] not f.name ?

found graph data: describegraph.json
{'name': 'data-loss-protect', 'is_required': False, 'is_known': True}
Traceback (most recent call last):
  File "dashboard.py", line 444, in <module>
    MG = get_node_multigraph(response)
  File "dashboard.py", line 133, in get_node_multigraph
    last_update=node.last_update)) for node in response.nodes))
  File "/opt/conda/lib/python3.7/site-packages/networkx/classes/digraph.py", line 472, in add_nodes_from
    for n in nodes_for_adding:
  File "dashboard.py", line 133, in <genexpr>
    last_update=node.last_update)) for node in response.nodes))
  File "dashboard.py", line 115, in get_features
    results[k] = dict(name=f.name,
AttributeError: 'dict' object has no attribute 'name'
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