TheLazyGrizzly 0 Posted August 6, 2016 So i have almost updated my single xvm.xc file It seems no matter what i change i keep getting this error in the xvm.log file: JSONxLoaderException: PAIR: <pair> expected, got "}" at 1888:1 in "res_mods\configs\xvm\xvm.xc" I been spending hours trying to get rid of this error but im clueless, it might be so obvious that i overlooked it. xvm.log xvm.xc Quote Share this post Link to post Short link Share on other sites
cokebottle 15 #343647 Posted August 6, 2016 (edited) Remove the comma from row 1887. The comma indicates that more code is coming, but it is the end of the section. That is, change }, to just } Edited August 6, 2016 by cokebottle Quote Share this post Link to post Short link Share on other sites
TheLazyGrizzly 0 #343657 Posted August 6, 2016 So i removed the comma from row 1887 and now i get JSONxLoaderException: File not found Quote Share this post Link to post Short link Share on other sites
cokebottle 15 #343662 Posted August 6, 2016 Can you upload the new xvm.log and xvm.rc? Quote Share this post Link to post Short link Share on other sites
TheLazyGrizzly 0 #343668 Posted August 6, 2016 Here they are, have fixed/updated some of the other code so its a bit larger now. xvm.xc xvm.log Quote Share this post Link to post Short link Share on other sites
kupjones 30 #343669 Posted August 6, 2016 Sad to tell you -- this is the reason XVM is now broken into multiple config files. On load the parsing engine will zero in on the file and line that is syntactically incorrect. With smaller .xc files it becomes infinitely easier to debug syntax erros. I know this doesnt help your immediate issue -- but I would consider breaking your config into smaller pieces and then having those called. 1 Quote Share this post Link to post Short link Share on other sites
Andyss 16 #343676 Posted August 6, 2016 expected, got "} so its waiting comma? try to fiddle those last two lines Quote Share this post Link to post Short link Share on other sites
cokebottle 15 #343678 Posted August 6, 2016 (edited) On line 99 you call on a file named elements.xc "elements": ${"elements.xc":"elements"}, That file either needs to exist in the same folder as your xvm.xc, or you need to add the correct path to where it is. For example: "elements": ${"default/elements.xc":"elements"}, With this change your config at least loads properly. Edited August 6, 2016 by cokebottle 2 Quote Share this post Link to post Short link Share on other sites
TheLazyGrizzly 0 #343690 Posted August 6, 2016 Thank you very much cokebottle, seems like everything is working now Quote Share this post Link to post Short link Share on other sites