Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
null value in column "details" when parsing SMART error log #1498
Thanks to forum member alexey in the following thread for reporting this issue. The SMART error log parser is, under specific hardware conditions, producing unexpected and incompatible output resulting in the following Web-UI error message whenever the "Refresh" button in the smart screen for the specific drive is pressed:
with the associated Traceback having the penultimate line:
resulting in no SMART info available via the Web-UI for this drive.
As a result of alexey submitting the requested command outputs from the affected drive via the forum thread the reported issue has been reproduced and narrowed down to the error log parsing component of the pre-processing that is required to display the same in the Web-UI.
Please update the following forum thread with significant progress on this issue:
The error seems to come from parsing the output of:
and parsing the following line is where our None (null) value comes from:
the expected format of this line is as follows (from a real drive whose error log is parsed correctly):
Hence we are missing the "at LBA = 0x0003f7db = 260059" which is normally assigned to the "details" column via error_logs() in system/smart.py: