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

Error when supplying keywords with --advisory-keywords #329

Closed
copernico opened this issue Oct 10, 2022 · 0 comments
Closed

Error when supplying keywords with --advisory-keywords #329

copernico opened this issue Oct 10, 2022 · 0 comments
Assignees

Comments

@copernico
Copy link
Contributor

When running this: python client/cli/main.py CVE-2020-11997 --use-nvd --repository https://github.com/apache/guacamole-client --report html --version-interval 1.2.0:1.3.0 --use-backend optional --advisory-keywords=access,history,connection,user,visibility,addresses,permission

I get this:

  [ERROR]
Traceback (most recent call last):
  File "/Users/I064196/devel/project-kb/prospector/client/cli/main.py", line 343, in <module>
    main(sys.argv)
  File "/Users/I064196/devel/project-kb/prospector/client/cli/main.py", line 286, in main
    results, advisory_record = prospector(
  File "/Users/I064196/devel/project-kb/prospector/stats/execution.py", line 45, in _wrapper
    result = function(*args, **kwargs)
  File "/Users/I064196/devel/project-kb/prospector/stats/execution.py", line 73, in __exit__
    raise exc_val
  File "/Users/I064196/devel/project-kb/prospector/stats/execution.py", line 45, in _wrapper
    result = function(*args, **kwargs)
  File "/Users/I064196/devel/project-kb/prospector/client/cli/prospector_client.py", line 67, in prospector
    advisory_record = build_advisory_record(
  File "/Users/I064196/devel/project-kb/prospector/client/cli/console.py", line 31, in __exit__
    raise exc_val
  File "/Users/I064196/devel/project-kb/prospector/client/cli/prospector_client.py", line 67, in prospector
    advisory_record = build_advisory_record(
  File "/Users/I064196/devel/project-kb/prospector/datamodel/advisory.py", line 233, in build_advisory_record
    advisory_record.keywords += tuple(advisory_keywords)
TypeError: unsupported operand type(s) for +=: 'set' and 'tuple'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants