-
Notifications
You must be signed in to change notification settings - Fork 186
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 generate html output when running with scancode #844
Comments
@abhaykatheria do you want to take a look at this? |
Oh ok cool. |
@aalexanderr @rnjudge I ran tern on the given image using same commands(BOTH OF THEM) and it ran well. And these are the logs
@aalexanderr I would recommend updating tern and scancode-toolkit. |
@abhaykatheria I've checked your fork but the only active branch I see (master) is the same as here. Both tern and scancode I used are latest releases. Same with python- latest release of 3.6.
(before submitting I have verifed it on 2 different host machines with different vagrant versions and two different versions of generic/ubuntu2004 versions (latest and a bit older one). |
I installed it manually from the source code (Instructions are in contribution.md). I didn't made any commits I checked the git logs. its strange the commit hash in report is pointing to nowhere. @rnjudge can you take a look at this ..? |
I did everything as in linked contributing, then |
Bumping the priority on this. Will work on a fix in the next week or two. @abhaykatheria if you have time, would be lovely for you to take a look also ;) We have two users reporting issues with the html format when using scancode. |
There was a traceback error running Tern with Scancode for multiple report formats due to Scancode reporting licenses as a list containing a single string or a list containing a license dictionary when Tern was expecting just a string. This commit resolves the issue by parsing the license list to get the license text before assigning it to a Package object's 'pkg_license' value. Resolves tern-tools#985 tern-tools#844 Signed-off-by: Rose Judge <[email protected]>
There was a traceback error running Tern with Scancode for multiple report formats due to Scancode reporting licenses as a list containing a single string or a list containing a license dictionary when Tern was expecting just a string. This commit resolves the issue by parsing the license list to get the license text before assigning it to a Package object's 'pkg_license' value. Resolves #985 #844 Signed-off-by: Rose Judge <[email protected]>
@aalexanderr Sincere apologies for the delay on this fix. Should work now. |
Describe the bug
Can't generate html output when running tern with scancode:
To Reproduce
Steps to reproduce the behavior:
Error in terminal
Expected behavior
Get a html report
Environment you are running Tern on
Enter all that apply
Tern version 2.3.0
python version = 3.6.12 (default, Aug 17 2020, 23:45:20)
Ubuntu 20.04
Vagrantfile.txt
(had to add extension otherwise github complained it is not supported)
N/A
Python 3.6.12
N/A
Please attach files if they exist
tern.log
N/A
The text was updated successfully, but these errors were encountered: