File \".../site-packages/spdx_tools/spdx/parser/jsonlikedict/dict_parsing_functions.py\", line 31, in parse_field_or_log_error
return parsing_method(field)
^^^^^^^^^^^^^^^^^^^^^
File \.../site-packages/spdx_tools/spdx/parser/jsonlikedict/license_expression_parser.py\", line 23, in parse_license_expression
raise SPDXParsingError([f\"Error parsing LicenseExpression: {err.args[0]}: {license_expression_str}\"])
~~~~~~~~^^^\nIndexError: tuple index out of range"}
When parsing this file https://github.com/chainguard-dev/bom-shelter/blob/main/in-the-lab/spdx-popular-containers/data/spdx-trivy-vmware_log-intelligence-fluentd-sha256%3A086af034f561f343f633be9d9f9e95f65ae6c61b8ddb2c6755ef5bb25b40f53a.json there is a parsing error with licenses. However, when trying to create and raise an SPDXParsingError the library bugs itself with IndexError. See below: