-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.2.0.z
-
None
-
None
-
Low
-
rhel-sst-kernel-debug
-
ssg_core_kernel
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
Importing the dmidecode module to python give misleading error. Everything works, as the module is able to read dmidata correctly.
[root@hostname] / $ python3
Python 3.9.16 (main, May 29 2023, 00:00:00)
[GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dmidecode
-
- ERROR ** Failed to save log entry
SMBIOS3: entry point at 0x68e39000
>>> print(type(dmidecode.bios()))
<class 'dict'>
>>> quit()
- ERROR ** Failed to save log entry
-
- COLLECTED WARNINGS **
Wrong DMI structures count: 0 announced, only 77 decoded. - END OF WARNINGS **
- COLLECTED WARNINGS **
[root@hostname] / $ rpm -q python3
python3-3.9.16-1.el9_2.1.x86_64
[root@hostname] / $ rpm -q python3-dmidecode
python3-dmidecode-3.12.3-2.el9.x86_64
Please provide the package NVR for which bug is seen:
python3-dmidecode-3.12.3-2.el9.x86_64
python3-3.9.16-1.el9_2.1.x86_64
How reproducible:
Every Time
Steps to reproduce
- Start python3
- Import dmidecode
- Observer error
Expected results
Importing the dmidecode module to python should only result in errors when something is wrong.
Actual results
Misleading errors when importing the dmidecode module in python3