Skip to content

plebnet dashboard with prod graph #137

@bliotti

Description

@bliotti

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions