Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'epoch' #11

Closed
KAWAHARA-souta opened this issue Aug 9, 2024 · 1 comment
Closed

KeyError: 'epoch' #11

KAWAHARA-souta opened this issue Aug 9, 2024 · 1 comment

Comments

@KAWAHARA-souta
Copy link
Owner

OpenIPMI-devel:
    version: 2.0.32
    epoch: 0
    release: 3.el9
    arch: i686
    pkgid(sha256?): 79fd84a6b832bc6e2f743c0aa4b0c60e6dac3010d795aea2f4a7ed57737a23a1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1721822449.399081 2465355 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache
Traceback (most recent call last):
  File "/home/khwarizmi/test-sbommaking/alma_sbom.py", line 704, in <module>
    cli_main()
  File "/home/khwarizmi/test-sbommaking/alma_sbom.py", line 678, in cli_main
    sbom = get_info_about_package(
  File "/home/khwarizmi/test-sbommaking/alma_sbom.py", line 383, in get_info_about_package
    add_package_info(
  File "/home/khwarizmi/test-sbommaking/alma_sbom.py", line 296, in add_package_info
    source_rpm, package_nevra = _get_specific_info_about_package(
  File "/home/khwarizmi/test-sbommaking/alma_sbom.py", line 157, in _get_specific_info_about_package
    epoch=immudb_metadata['epoch'],
KeyError: 'epoch'
kawaharasouta added a commit to kawaharasouta/alma-sbom that referenced this issue Aug 18, 2024
When data cannot be retrieved from immudb, or when data for package is
missing, if the --rpm-package option was used to specify an rpm package,
I made it so that the rpm package is used to supplement the information.

The following issues have been partially fixed.
 - KAWAHARA-souta#11
 - KAWAHARA-souta#12
@kawaharasouta
Copy link

hash: 79fd84a6b832bc6e2f743c0aa4b0c60e6dac3010d795aea2f4a7ed57737a23a1
{'Name': 'OpenIPMI-devel-2.0.32-3.el9.i686.rpm', 'Kind': 'file', 'Size': 129828, 'Hash': '79fd84a6b832bc6e2f743c0aa4b0c60e6dac3010d795aea2f4a7ed57737a23a1', 'Metadata': {'arch': 'i686', 'git_commit': '7366558c4f3b4991ab8f68e25f22515e7133a2c0', 'git_ref': 'imports/c9/OpenIPMI-2.0.32-3.el9', 'git_url': 'https://git.almalinux.org/rpms/OpenIPMI.git', 'name': 'OpenIPMI-devel', 'release': '3.el9', 'sbom_api': '0.2', 'source_type': 'git', 'sourcerpm': 'OpenIPMI-2.0.32-3.el9.src.rpm', 'version': '2.0.32'}, 'Signer': 'sbom_signer_almalinux', 'Original_timestamp': '0001-01-01T00:00:00Z', 'timestamp': 1695069478}

kawaharasouta added a commit to kawaharasouta/alma-sbom that referenced this issue Aug 21, 2024
When data cannot be retrieved from immudb, or when data for package is
missing, if the --rpm-package option was used to specify an rpm package,
I made it so that the rpm package is used to supplement the information.

The following issues have been partially fixed.
 - KAWAHARA-souta#11
 - KAWAHARA-souta#12
KAWAHARA-souta added a commit that referenced this issue Aug 27, 2024
When data cannot be retrieved from immudb, or when data for package is
missing, if the --rpm-package option was used to specify an rpm package,
I made it so that the rpm package is used to supplement the information.

The following issues have been partially fixed.
 - #11
 - #12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants