-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Help with LicenseExpressionAlongWithOthersException #826
Comments
Thanks for reporting this. this appears to be an unintended behaviour. @villaflaminio , Could you help me craft a reproducible environment for this? |
A practical solution, i'd imagine: this needs to be handled by the licence gathering in this very application. |
@villaflaminio is this something you want to contribute a fix for? |
I don't know, for example in this case I only have one license expression but I have several text files to parse.
What kind of repository do you need? What do I need to include? |
the thing is: the spec does not allow a mix of expression and named/id-licenses, yet. |
@villaflaminio, no additional information needed. for reproducing: run analysis on |
Honestly, I can't think of "a clean way" to include this information without breaking the specification (especially according with the #454). But first of all, it seems to me necessary to avoid the entire extraction process being interrupted from this. |
here is a possible solution: PS: I will drop you a "fixed" solution, just give me some |
a fix was published via https://github.com/CycloneDX/cyclonedx-python/releases/tag/v5.1.1 |
Hi
I am experiencing an ambiguous case related to this issue .
The
LicenseExpressionAlongWithOthersException
is thrown if we have aLicenseExpression
from a Python package and use the--gather-license-texts
option at the same time.Step to reproduce :
Error:
In the case of not including the
--gather-license-texts
option, it works perfectly!Taking a closer look at what happens before the exception is raised there , this is the element content:
How do you recommend handling this situation? Thank you for your support!
The text was updated successfully, but these errors were encountered: