dell / dell/libsmbios

`RuntimeError: generator raised StopIteration` upon invocation with `sudo`.

Open
#150 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
221
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I've installed `smbios-utils-python-2.4.3-17.fc42.noarch` via `dnf5-5.2.13.0-1.fc42.x86_64`. When I perform `sudo smbios-utils-python`, I see:

~~~py
Traceback (most recent call last):
File "/usr/lib64/python3.13/site-packages/libsmbios_c/smbios_token.py", line 134, in __iter__
raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/sbin/smbios-token-ctl", line 475, in
sys.exit( main() )
~~~~^^
File "/usr/sbin/smbios-token-ctl", line 380, in main
dumpTokens(tokenTable, tokenXlator, options)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/sbin/smbios-token-ctl", line 214, in dumpTokens
for token in tokenTable:
^^^^^^^^^^
RuntimeError: generator raised StopIteration
~~~

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.