Skip to content

Issues with the gobgp_to_mongo.py file #5

@Suriiiiiii

Description

@Suriiiiiii

Hi,

After following the tutorial, we got the dashboard running. However, it is not being updated with new data.

The following errors keep popping up constantly when we run the build:

gobgp_1 | File "/var/tmp/gobgp_to_mongo.py", line 177, in
gobgp_1 | sys.exit(main())
gobgp_1 | File "/var/tmp/gobgp_to_mongo.py", line 167, in main
gobgp_1 | prefix_from_gobgp = build_json(get_update_entry(line))
gobgp_1 | File "/var/tmp/gobgp_to_mongo.py", line 75, in build_json
gobgp_1 | '_id': update_entry['nlri']['prefix'],
gobgp_1 | TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions