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

--iava lookup fails ungracefully on missing IAVAs #61

Closed
ryran opened this issue Dec 1, 2016 · 2 comments
Closed

--iava lookup fails ungracefully on missing IAVAs #61

ryran opened this issue Dec 1, 2016 · 2 comments
Assignees
Labels

Comments

@ryran
Copy link
Collaborator

ryran commented Dec 1, 2016

$ rhsecapi --iava 2016-A-0000
Traceback (most recent call last):
  File "/home/rsaw/bin/rhsecapi", line 415, in <module>
    main(opts)
  File "/home/rsaw/bin/rhsecapi", line 372, in main
    iavaOutput = apiclient.mget_iavas(iavas=opts.iavas, numThreads=opts.threads, outFormat=opts.outFormat, urls=opts.printUrls)
  File "/g/dev-rhsecapi/rhsda.py", line 836, in mget_iavas
    results = p.get(timeout=timeout)
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 567, in get
    raise self._value
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

WHOOPS. I thought I took care of that. Something changed.

@ryran ryran added the bug label Dec 1, 2016
@ryran ryran self-assigned this Dec 1, 2016
@ryran
Copy link
Collaborator Author

ryran commented Dec 1, 2016

Fixed.

$ rhsecapi --iava 2016-A-0332 -i 2016-A-9999 
[NOTICE ] rhsda: Valid Red Hat IAVA results retrieved: 0 of 2

2016-A-0332
  Not present in Red Hat IAVA database

2016-A-9999
  Not present in Red Hat IAVA database

@ryran
Copy link
Collaborator Author

ryran commented Dec 1, 2016

Fixed in rc9.

@ryran ryran closed this as completed Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant