Bug 2137269 - license-fedora2spdx dies with KeyError: 'fedora_abbrev'
Summary: license-fedora2spdx dies with KeyError: 'fedora_abbrev'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: license-validate
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-24 09:55 UTC by Petr Pisar
Modified: 2022-11-10 22:24 UTC (History)
1 user (show)

Fixed In Version: license-validate-12-1.fc35 license-validate-12-1.fc36 license-validate-12-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-01 15:56:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2022-10-24 09:55:14 UTC
$ license-fedora2spdx 'GPL+'
Traceback (most recent call last):
  File "/usr/bin/license-fedora2spdx", line 67, in <module>
    LICENSES[data[l]["fedora_abbrev"]] = data[l]["spdx_abbrev"]
             ~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'fedora_abbrev'

$ rpm -qf /usr/bin/license-fedora2spdx 
license-validate-11-1.fc38.noarch
$ rpm -q fedora-license-data
fedora-license-data-1.6-1.fc38.noarch

Comment 1 Fedora Update System 2022-10-24 18:57:48 UTC
FEDORA-2022-25cb4384f6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-25cb4384f6

Comment 2 Fedora Update System 2022-10-24 18:57:49 UTC
FEDORA-2022-16b8137d8d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-16b8137d8d

Comment 3 Fedora Update System 2022-10-24 18:57:50 UTC
FEDORA-2022-8db3d6b7cd has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8db3d6b7cd

Comment 4 Fedora Update System 2022-10-25 11:34:47 UTC
FEDORA-2022-25cb4384f6 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-25cb4384f6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-25cb4384f6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-10-25 12:55:30 UTC
FEDORA-2022-8db3d6b7cd has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8db3d6b7cd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8db3d6b7cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-10-25 13:16:36 UTC
FEDORA-2022-16b8137d8d has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-16b8137d8d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-16b8137d8d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-11-01 15:56:25 UTC
FEDORA-2022-8db3d6b7cd has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-11-01 16:15:15 UTC
FEDORA-2022-16b8137d8d has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-11-10 22:24:33 UTC
FEDORA-2022-25cb4384f6 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.