Your message dated Wed, 12 Mar 2025 03:32:58 +0000 with message-id <[🔎] E1tsCq2-007tsJ-SX@fasolo.debian.org> 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 owner@bugs.debian.org immediately.) -- 1033585: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033585 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: "submit@bugs.debian.org" <submit@bugs.debian.org>
- Subject: "smbios-token-ctl -d" yields "RuntimeError: generator raised StopIteration"
- From: Robert Mavrinac <mavrinac@uwindsor.ca>
- Date: Mon, 27 Mar 2023 19:29:52 +0000
- Message-id: <YT2PR01MB47010DEC174DB020C6C4C416D48B9@YT2PR01MB4701.CANPRD01.PROD.OUTLOOK.COM>
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 = falseDesc: Configure the system's first/only built-in serial port to respond as COM2..........================================================================================Token: 0xf654 - unknown (unknown)value: bool = falseDesc: unknownTraceback (most recent call last):File "/usr/lib/python3/dist-packages/libsmbios_c/smbios_token.py", line 134, in __iter__raise StopIterationStopIteration
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 maindumpTokens(tokenTable, tokenXlator, options)File "/usr/sbin/smbios-token-ctl", line 214, in dumpTokensfor 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:+ returnelse:- raise StopIteration+ return@traceLog()def __getitem__(self, id):
I am running Debian Bookworm
# uname -aLinux 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: mavrinac@uwindsor.ca
--- End Message ---
--- Begin Message ---
- To: 528484-done@bugs.debian.org,544321-done@bugs.debian.org,1033585-done@bugs.debian.org,1087138-done@bugs.debian.org,
- Cc: libsmbios@packages.debian.org
- Subject: Bug#1099864: Removed package(s) from unstable
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Wed, 12 Mar 2025 03:32:58 +0000
- Message-id: <[🔎] E1tsCq2-007tsJ-SX@fasolo.debian.org>
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 ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Paul Tagliamonte (the ftpmaster behind the curtain)
--- End Message ---