JSON data not loaded due to bad text encoding #100
Labels
No labels
AutoScripts
Bug
Duplicate
Enhancement
HW-Diagnostics
Invalid
Linux
Question
UFD
WinPE
Windows
WontFix
ddrescue-tui
macOS
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 2Shirt/WizardKit#100
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This error was being silenced when decoding the output from lsblk in hw_diags.py > DiskObj > get_details() function:
Need to change
json.loads(result.stdout.decode())calls tojson.loads(result.stdout.decode('utf-8', errors='ignore'))Better to have incomplete data than no data IMO