Closed colinxfleming closed 2 years ago
I am facing the same issue.
Currently I'm facing the same bug. A fresh install and other attempts also failed.
Strangely I do get #118 and #119 depending on the hardware.
Same error, with jake 1.4.5 and 2.0.0, over python 3.8.9, with or without clearing the cache
Command: jake -X ddt --clear-cache
Same error with jake 2.0.0, python 3.9.9 installed using poetry both as dev requirement and normal requirement.
I assume this is related to https://ossindex.sonatype.org/updates-notice?
This has been brought to my attention. The OSS Index team is working on a fix for this issue now. Sorry for the inconvenience.
thanks much @ken-duck , glad to hear the OSS Index team is going to hit this bug with a flying elbow drop. ooh yeah
A new update has been pushed to our servers that should resolve the issue.
Downloaded latest version and jake ddt
witouot additional parameters works.
However when I try adding --output-file or even doing a redirect (jake ddt > some-file
) I get an error message:
Traceback (most recent call last):
File "C:\Users\C276261\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\C276261\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\projects\repos\tr\truccr\truccr_azure-manual-transmission\.venv\Scripts\jake.exe\__main__.py", line 7, in <module>
File "C:\projects\repos\tr\truccr\truccr_azure-manual-transmission\.venv\lib\site-packages\jake\app.py", line 106, in main
JakeCmd(args).execute()
File "C:\projects\repos\tr\truccr\truccr_azure-manual-transmission\.venv\lib\site-packages\jake\app.py", line 80, in execute
exit_code: int = command.execute(arguments=self._arguments)
File "C:\projects\repos\tr\truccr\truccr_azure-manual-transmission\.venv\lib\site-packages\jake\command\__init__.py", line 43, in execute
return self.handle_args()
File "C:\projects\repos\tr\truccr\truccr_azure-manual-transmission\.venv\lib\site-packages\jake\command\oss.py", line 183, in handle_args
schema_version=SchemaVersion['V{}'.format(
File "C:\Users\C276261\AppData\Local\Programs\Python\Python39\lib\enum.py", line 432, in __getitem__
return cls._member_map_[name]
KeyError: 'V1_4)'
BTW -- running python 3.9.9 on Windows 10
@ken-duck yep, can confirm that you all have made this return results instead of erroring again - builds are once again the cream of the crop. (Some fresh stuff too, so the results are a little different, but I imagine that's to be expected since I imagine some new stuff got released into the pond, and it looks like OSS Index free is using a new pipeline.)
@colinxfleming great, thanks for letting us know.
OSS Index is definitely using a new pipeline which should provide many more vulnerabilities, with more frequent updates, and with MUCH lower false positives and negatives. It has a significantly larger research team behind it now as well.
Unfortunately we have caused some problems with the switch, since it was a massive change which took well over a year to complete. I am hoping we can get these teething problems dealt with quickly, and your feedback has certainly helped.
That makes sense! I think for us that means we'll keep it off a little while longer while it settles/while we figure out what to do about some of the stuff without an established cure yet. (for ex, the warning on pip
that is marked as disputed, which may or may not have a fix right now.) That said, that's definitely a me problem and not a sonatype problem, so ball's back in my court! Thanks much, you all are a bunch of intercontinental champions.
Thanks for resolving this @ken-duck !
@ken-duck confirmed this was a change at ossindex.sonatype.org, and not a but per se in jake
.
Describe the bug Running
jake ddt
in ci and local envs on 2.0.0 is failing with an unexpected kwarg. From a quick scan of the error looks like this might be a snake case vs camelcase problem onsonatypeOssiScore
? idk.To Reproduce Steps to reproduce the behavior:
jake ddt
Expected behavior Successful run
Screenshots I don't have a screenshot but hopefully this helps
Desktop (please complete the following information):
Additional context hi @DarthHater