Skip to content

Test aborted: cannot parse smartctl output: invalid JSON data #100

@ogregpt

Description

@ogregpt

Version and Environment

  • GSmartControl version: latest published, .ZIP version
  • OS: Windows 11 22h2

Describe the Bug
The test aborts. The full error text
Test aborted: cannot parse smartctl output: invalid JSON data: [json.exception.parse error.101] parse error at line 112, column 14: syntax error while parsing object key - invalid string: missing closing quote; last read: '"exec_o'; expected string literal
JSONlint website shows no error in the output produced by View Output button.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Drive page
  2. Click on Conveyance Self-Test
  3. Press Execute
  4. See error

Screenshots
For some reason I'm unable to add any files, but would have added:

  1. Error message screenshot
  2. JSON produced by program

PS: A Short Self-Test on another drive errs like this:
Test aborted: cannot parse smartctl output: invalid JSON data: [json.exception.parse error.101] parse error at line 126, column 38: syntax error while parsing object - unexpected end of input; expected '}'
The output from this test also passes the JSONlint test.

PPS: Both drives are in external enclosures connected via USB3.0

PPPS: Some tests have run ok

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds infoNeeds more information

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions