[Bug 2107721] [NEW] smbios-token-ctl raises uncaptured "RuntimeError: generator raised StopIteration"

Rolf Leggewie 2107721 at bugs.launchpad.net
Sun Apr 20 13:05:58 UTC 2025


Public bug reported:

leggewie at igel:~$ sudo smbios-token-ctl
Traceback (most recent call last):
  File "/usr/lib/python3/dist-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

** Affects: libsmbios (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libsmbios in Ubuntu.
https://bugs.launchpad.net/bugs/2107721

Title:
  smbios-token-ctl raises uncaptured "RuntimeError: generator raised
  StopIteration"

Status in libsmbios package in Ubuntu:
  New

Bug description:
  leggewie at igel:~$ sudo smbios-token-ctl
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsmbios/+bug/2107721/+subscriptions




More information about the foundations-bugs mailing list