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

argparse code probably outdated #16

Open
SteveClement opened this issue Oct 10, 2021 · 1 comment
Open

argparse code probably outdated #16

SteveClement opened this issue Oct 10, 2021 · 1 comment

Comments

@SteveClement
Copy link
Member

After installing all the required deps it fails on a namespace error.

(venv) misp@misp-test:~/code/BGP-Ranking$ bgpranking
Traceback (most recent call last):
  File "/home/misp/code/BGP-Ranking/venv/bin/bgpranking", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/misp/code/BGP-Ranking/client/bin/bgpranking", line 43, in <module>
    if args.which == 'simple':
AttributeError: 'Namespace' object has no attribute 'which'
@Rafiot
Copy link
Contributor

Rafiot commented Oct 10, 2021

It is probably because a required paramater is not enforced by the script. Try bgpranking simple --asn 6661?

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

2 participants