Your message dated Wed, 12 Mar 2025 03:32:58 +0000 with message-id <[email protected]> and subject line Bug#1099864: Removed package(s) from unstable has caused the Debian Bug report #1033585, regarding "smbios-token-ctl -d" yields "RuntimeError: generator raised StopIteration" to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1033585: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033585 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: smbios-utils Any dependency in the smbios-tools python scripts on /usr/lib/python3/dist-packages/libsmbios_c/smbios_token.py imporperly raises a StopIteration exception with newer versions of Python 3 and terminates. # smbios-token-ctl -d ================================================================================ Token: 0x0005 - Serial Port 1 (COM2) value: bool = false Desc: Configure the system's first/only built-in serial port to respond as CO M2. ... ... ... ================================================================================ Token: 0xf654 - unknown (unknown) value: bool = false Desc: unknown 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 This patch corrects the problem, allowing iterations to continue as expected: --- smbios_token.py 2023-03-27 13:47:02.135215225 -0400 +++ smbios_token.py.new 2023-03-27 13:47:32.275214757 -0400 @@ -129,9 +129,12 @@ while 1: cur =DLL.token_table_get_next( self._tableobj, cur ) if bool(cur): - yield cur.contents + try: + yield cur.contents + except StopIteration: + return else: - raise StopIteration + return @traceLog() def __getitem__(self, id): I am running Debian Bookworm # uname -a Linux lt3107-1 6.1.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1 (2023-03-05) x86_64 GNU/Linux -- Robert Mavrinac Systems Analyst School of Computer Science Room 3103B Lambton Tower University of Windsor 401 Sunset Avenue, Windsor, ON N9B 3P4 519-253-3000 (4410) Email: [email protected]<mailto:[email protected]>
--- End Message ---
--- Begin Message ---Version: 2.4.3-2+rm Dear submitter, as the package libsmbios has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1099864 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Paul Tagliamonte (the ftpmaster behind the curtain)
--- End Message ---

