Skip to content

RuntimeError: generator raised StopIteration upon invocation with sudo. #150

Description

@beedell-roke

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:

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 <module>
    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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions