lnav/test/expected/test_config.sh_a0907769aba112d628e7ebe39c4ec252e5e0bc69.err
2023-07-09 10:11:10 -07:00

4.5 KiB

✘ error: 'bad' is not a supported configuration $schema version
--> {test_dir}/bad-config2/formats/invalid-config/config.bad-schema.json:2
| "$schema": "bad"
= note: expecting one of the following $schema values:
https://lnav.org/schemas/config-v1.schema.json
= help: Property Synopsis
/$schema <schema-uri>
Description
The URI that specifies the schema that describes this type of file
Example
https://lnav.org/schemas/config-v1.schema.json
⚠ warning: unexpected value for property “/ui
--> {test_dir}/bad-config2/formats/invalid-config/config.malformed.json:2
| "ui": "theme",
= help: Available Properties
$schema <schema-uri>
tuning/
ui/
log/
global/
✘ error: invalid JSON
--> {test_dir}/bad-config2/formats/invalid-config/config.malformed.json:3
| parse error: object key and value must be separated by a colon (':')
| "ui": "theme", "abc", "def": "" }
| (right here) ------^
|
⚠ warning: unexpected value for property “/ui
--> {test_dir}/bad-config2/formats/invalid-config/config.truncated.json:2
| "ui": "theme"
= help: Available Properties
$schema <schema-uri>
tuning/
ui/
log/
global/
✘ error: invalid JSON
reason: parse error: premature EOF
--> {test_dir}/bad-config2/formats/invalid-config/config.truncated.json:3
✘ error: invalid value for property “/tuning/file-format/application~1vnd.example.com/header/expr/default
reason: SQL expression is invalid
| reason: unrecognized token: "'foobar"
| --> /tuning/file-formats/application~1vnd.example.com/header/expr/default
| | :header REGEXP 'foobar
--> {test_dir}/bad-config2/configs/invalid-file-format/config.json:9
= help: Property Synopsis
/tuning/file-format/application~1vnd.example.com/header/expr/default
Description
SQLite expression
✘ error: missing value for property “/tuning/file-format/application~1vnd.example.com/converter
reason: A converter is required for a file format
| reason: The converter script transforms the file into a format that can be consumed by lnav
= help: Property Synopsis
/tuning/file-format/application~1vnd.example.com/converter
Description
The script used to convert the file
✘ error: missing value for property “/tuning/file-format/application~1vnd.example2.com/header/expr/
reason: At least one header expression is required for a file format
| reason: Header expressions are used to detect a format
= help: Property Synopsis
/tuning/file-format/application~1vnd.example2.com/header/expr/
Description
SQLite expression
✘ error: missing value for property “/tuning/file-format/application~1vnd.example2.com/converter
reason: A converter is required for a file format
| reason: The converter script transforms the file into a format that can be consumed by lnav
= help: Property Synopsis
/tuning/file-format/application~1vnd.example2.com/converter
Description
The script used to convert the file