-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[issue]: ventoy.json not working, always says "syntax error" no matter what I write #1125
Comments
update: I copied json file into jsonparseronline and it had no errors |
Sorry, but I cannot see the file from here and I don't have my crystal ball. Maybe you could attach the file to your post? |
@MrQuasar173 |
It won't allow me to attach a JSON file. Here is is copied and pasted {
"password": {
"bootpwd": "test"
},
"theme_legacy":{
"file":"/ventoy/themes/Vimix/theme.txt",
"gfxmode":"1024x768"
},
"theme_uefi":{
"file":"/ventoy/themes/Vimix/theme.txt",
"gfxmode":"1366x768"
}
} |
I test this and it does not report syntax error. |
Ventoy_json.zip |
The ventoy.json you attach is different from what you pasted before and has too many syntax errors:
This is the correct content:
|
In pretty style
|
@MrQuasar173 Any update? |
Here is updated json file with just the themes following your syntax. It still doesn't work |
What do you mean by 'doesn't work'? |
@MrQuasar173 It still report syntax error? |
Yes |
OK, after the report, you can still boot into Ventoy's main menu.
It will output the md5 of the ventoy.json you use. Take a photo about it and upload the photo. |
@MrQuasar173 Any update? |
@ventoy any idea what's going on here? |
The problem is that the ventoy.json you give is in UCS-2 encoding, Ventoy need UTF-8 no BOM encoding. |
Ok, Thanks! I will look up how to change the encoding and then close this issue if it works |
ventoy.json must in UTF-8 encoding. The BOM is auto skipped if exist.
@MrQuasar173 Any update? |
Official FAQ
Ventoy Version
1.0.53
What about latest release
Yes. I have tried the latest release, but the bug still exist.
BIOS Mode
Both
Partition Style
MBR
Disk Capacity
256GB
Disk Manufacturer
SanDisk
Image file checksum (if applicable)
No response
Image file download link (if applicable)
No response
What happened?
note: I don't know whether this is on MBR or GPT so I said MBR
When I boot into ventoy, it says there is a syntax error in ventoy.json. I have tried copying and pasting examples directly from ventoy.net , and using IDE's to look for errors and fix them, but it still doesn't work. When I press enter ventoy launches with default settings. I have tried both BIOS and UEFI modes.
The text was updated successfully, but these errors were encountered: