2017-11-23 07:32 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014124CentOS-7python-dmidecodepublic2017-11-14 15:44
Reportermzilyas 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
Product Version7.4.1708 
Target VersionFixed in Version 
Summary0014124: Python exception is thrown when iterating the memory entries and passing the last entry
Descriptioncode:

import dmidecode
for entry in dmidecode.memory().values():
  if entry.get('dmi_type') == self._DMIDECODE_MEMORY_DEVICE_TYPE and entry.get('data').get('Part Number') != "NO DIMM":
    do_something()


output:

  for entry in dmidecode.memory().values():
IndexError: list assignment index out of range


This only happens on specific devices. When it happens it always happens.
TagsNo tags attached.
abrt_hash
URL
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-11-14 15:44 mzilyas New Issue
+Issue History