Comments (7)
Thank you, version 0.14.1 indeed fixed this bug.
from cyclonedx-editor-validator.
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.
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.
@cedricwritescode could you please test, if the error still exists with the latest release? It's already available at pypi.
from cyclonedx-editor-validator.
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.
Sorry about the bug. I can reproduce it and will look into it tomorrow.
from cyclonedx-editor-validator.
@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)
- Filename validation happens with default schema HOT 2
- `build-public` incorrectly deletes nested components
- Merge is not hierarchical HOT 1
- `build-public` shouldn't require a schema HOT 1
- `build-public` messes up compositions
- `merge-vex` reference check doesn't take nested components into account
- What is the point of `merge-vex`? HOT 4
- Should `amend` set `compositions` to `unknown` rather than `incomplete`? HOT 3
- feat: add support for cdx 1.6
- Missing attribution for license data HOT 3
- Add 'add_to_dependencies' option for merge command HOT 1
- Ad further options for the modification of a sbom HOT 1
- refactor: change documentation creation from mkdocs to sphinx
- Automatically update copyright year
- fix: allow only license in custom schema
- Should validate silently overwrite `issues.json`? HOT 1
- fix: add copyright information to files
- Custom validation applies components requirements to tools HOT 2
- Should `build-public` delete `licensing`? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclonedx-editor-validator.