is not a valid JSON file!""> is not a valid JSON file!"">
MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002198VCMILauncherpublic2015-05-29 19:582023-06-27 19:22
ReporterDrake 
Assigned ToIvan 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSWindows 7OS Version6.1
Product Version0.98 
Target VersionFixed in Version 
Summary0002198: Launcher command window "File <unknown> is not a valid JSON file!"
DescriptionThis occurs on version 0.98b as well
On the Launcher command window it gives the following error-

File <unknown> is not a valid JSON file!
At line 40, position 1 warning: Comma expected!

File <unknown> is not a valid JSON file!
At line 40, position 1 warning: Comma expected!


I haven't seen this error before, so I thought I'd report it. This is on a clean installation of Heroes 3 Complete (GOG Version).
Steps To ReproduceOpening VCMI Launcher and/or downloading & refreshing repositories
Additional InformationAfter all of this, I went back and deleted the vcmi folder in C:\Users\user\Documents\My Games\ as to have a completely fresh VCMI install.
After deleting that folder, I opened the VCMI Launcher again and it failed to open file C:\Users\user\Documents\My Games\vcmi\config\modSettings.json (Obviously.)
But when closing VCMI and reopening it, it now gives me this following error-

File CONFIG/MODSETTINGS is not a valid JSON file!
At line 1, position 0 error: File is empty

Along with the error from earlier repeated twice like usual and it failing to open file C:\Users\user\Documents\My Games\vcmi\config\modSettings.json

I'll be uploading the VCMI_Launcher_log files. 1 from before I deleted the vcmi folder in Documents and 2 from after.
TagsNo tags attached.
Attached Filestxt file icon VCMI_Launcher_log 1.txt [^] (4,664 bytes) 2015-05-29 19:58 [Show Content]
txt file icon VCMI_Launcher_log 2.txt [^] (4,956 bytes) 2015-05-29 19:59 [Show Content]

- Relationships

-  Notes
(0006739)
ruppertus (reporter)
2016-09-24 13:46

I may reproduce a similar problem on Linux (ArchLinux, aur/vcmi-git package, git revision: a03419e). I removed all config files. Those are the logs from VCMI_Launcher:
2016-Sep-24 15:38:14.842726 WARN global [7f1f6ec9fc80] - File <unknown> is not a valid JSON file!
2016-Sep-24 15:38:14.842891 WARN global [7f1f6ec9fc80] - At line 21, position 2 warning: Comma expected!
At line 36, position 1 warning: Comma expected!

2016-Sep-24 15:38:14.848056 WARN global [7f1f6ec9fc80] - File <unknown> is not a valid JSON file!
2016-Sep-24 15:38:14.848196 WARN global [7f1f6ec9fc80] - At line 21, position 2 warning: Comma expected!
At line 36, position 1 warning: Comma expected!
(0008656)
Ivan (developer)
2023-06-27 19:22

already fixed

- Issue History
Date Modified Username Field Change
2015-05-29 19:58 Drake New Issue
2015-05-29 19:58 Drake Status new => assigned
2015-05-29 19:58 Drake Assigned To => Ivan
2015-05-29 19:58 Drake File Added: VCMI_Launcher_log 1.txt
2015-05-29 19:59 Drake File Added: VCMI_Launcher_log 2.txt
2016-09-24 13:46 ruppertus Note Added: 0006739
2022-12-17 14:05 Ivan Assigned To Ivan =>
2023-06-27 19:22 Ivan Note Added: 0008656
2023-06-27 19:22 Ivan Status assigned => closed
2023-06-27 19:22 Ivan Assigned To => Ivan
2023-06-27 19:22 Ivan Resolution open => fixed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean