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

can't get this to run locally #152

Open
brutif opened this issue Dec 9, 2020 · 0 comments
Open

can't get this to run locally #152

brutif opened this issue Dec 9, 2020 · 0 comments

Comments

@brutif
Copy link

brutif commented Dec 9, 2020

This project looks like it's inactive, but I thought I'd ask anyway -
When I try to run this locally per the readme, I get an exception regarding invalid feeds. I'm probably doing something wrong or there's some subtle thing missing in the setup instructions. I also tried an image from a year ago and got the same result. Any advice appreciated!

docker run -ti --rm  -e CVEJOB_DATE_RANGE=2018/01/01-2020/12/09 -v /Users/bruce/projects/cvejob/cvejob:/cvejob/:z quay.io/openshiftio/fabric8-analytics-cvejob python3.6 run.py
2020-12-09 22:30:15,570 [DEBUG]: Using selector: EpollSelector
2020-12-09 22:30:15,571 [DEBUG]: Using selector: EpollSelector
2020-12-09 22:30:15,571 [DEBUG]: Using selector: EpollSelector
Traceback (most recent call last):
  File "run.py", line 227, in <module>
    run()
  File "run.py", line 132, in run
    feed_names=feed_names, data_dir=feed_dir, update=True
  File "/usr/local/lib/python3.6/site-packages/nvdlib/manager.py", line 645, in fetch_feeds
    self.feeds_check(*feed_names, data_dir=data_dir)
  File "/usr/local/lib/python3.6/site-packages/nvdlib/manager.py", line 763, in feeds_check
    f"Invalid feeds found: {invalid}"
ValueError: Invalid feeds found: [2018, 2019, 2020]
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