Git Product home page Git Product logo

Comments (7)

cedricwritescode avatar cedricwritescode commented on July 20, 2024 1

Thank you, version 0.14.1 indeed fixed this bug.

from cyclonedx-editor-validator.

cedricwritescode avatar cedricwritescode commented on July 20, 2024

It seems that the license file SLA0048.txt is causing the issue. If I interpret the traceback correctly, the closing special quote character from “I ACCEPT” is causing this issue.

from cyclonedx-editor-validator.

mmarseu avatar mmarseu commented on July 20, 2024

If you feel adventurous, you could try the branch from #160. It makes sweeping changes to several parts of amend and IIRC this particular problem should also be fixed.
Otherwise, you can wait of course until the PR gets merged and released in an upcoming version. I can't say how long that will take.

from cyclonedx-editor-validator.

italvi avatar italvi commented on July 20, 2024

@cedricwritescode could you please test, if the error still exists with the latest release? It's already available at pypi.

from cyclonedx-editor-validator.

cedricwritescode avatar cedricwritescode commented on July 20, 2024

Based on the info provided as help from cdx-ev and after updating to 0.14.0, I tried running cdx-ev amend --operation add-license-text --license-dir "_colected_license_files" --output "build" "build/conan.cdx.json" using my example.

However, I'm getting this error message:

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Appl\Python\Scripts\cdx-ev.exe_main
.py", line 7, in
File "C:\Appl\Python\Lib\site-packages\cdxev_main
.py", line 47, in main
return args.cmd_handler(args)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Appl\Python\Lib\site-packages\cdxev_main_.py", line 658, in invoke_amend
amend.run(sbom, operations, config)
File "C:\Appl\Python\Lib\site-packages\cdxev\amend\command.py", line 43, in run
operations = create_operations(selected, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Appl\Python\Lib\site-packages\cdxev\amend\command.py", line 21, in create_operations
instances.append(op(**options))

from cyclonedx-editor-validator.

mmarseu avatar mmarseu commented on July 20, 2024

Sorry about the bug. I can reproduce it and will look into it tomorrow.

from cyclonedx-editor-validator.

italvi avatar italvi commented on July 20, 2024

@cedricwritescode please try it again with the newest release 0.14.1 and reopen the issue, if the error still persists.

from cyclonedx-editor-validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.