Plantage du Mcmod.info
-
Encore un petit problème :s , mais cette fois pas de codage. Mon mcmod.info plante en m’indiquant la ligne 17.
Voila le rapport dans la console :2013-09-14 19:36:24 [SEVERE] [ForgeModLoader] The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored argo.saj.InvalidSyntaxException: At line 17, column 2: Expected either , or ] but got [34]. at argo.staj.InvalidSyntaxRuntimeException$1.asInvalidSyntaxException(InvalidSyntaxRuntimeException.java:39) at argo.saj.SajParser.parse(SajParser.java:107) at argo.saj.SajParser.parse(SajParser.java:55) at argo.jdom.JdomParser$1.parse(JdomParser.java:59) at argo.jdom.JdomParser.parse(JdomParser.java:66) at argo.jdom.JdomParser.parse(JdomParser.java:57) at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:44) at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:68) at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:52) at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:64) at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:115) at cpw.mods.fml.common.Loader.identifyMods(Loader.java:348) at cpw.mods.fml.common.Loader.loadMods(Loader.java:480) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) at net.minecraft.client.Minecraft.startGame(Minecraft.java:411) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source)
Et voila mon mcmod.info
[ { "modid": "MGS", "name": "Metal gear cubid", "description": "Un mod ajoutant le contenu des Metal Gear Solid !", "version": "1.1.1", "credits": "Robin4002, Sticor, Hideo Kojima", "logoFile": "/https://www.dropbox.com/s/2vih9knh28n034u/logo.png", "mcversion": "1.5.2", "url": "http://forum.minecraft-france.fr/index.php?threads/metal-gear-cubid-mgs-mod.14982/", "updateUrl": "http://forum.minecraft-france.fr/index.php?threads/metal-gear-cubid-mgs-mod.14982/", "authors": [ "Nolan-XX"], "parent":"NolanCore", "screenshots": [], "dependencies": [ "mod_MinecraftForge" ], } ]
Merci d’avance.
-
Il ne faut pas mettre de virgule quand c’est la fin :
"dependencies": [ "mod_MinecraftForge" ],
Ici, le programme croit qu’il y a une ligne après ça, or tu ferme le fichier avec ça :
} ]
Du coup ça plante, et les logs indique que la dernière ligne est erroné.
-
j’ai supprimé la virgule , et
2013-09-14 19:44:29 [SEVERE] [ForgeModLoader] The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored argo.saj.InvalidSyntaxException: At line 17, column 2: Expected either , or ] but got [34]. at argo.staj.InvalidSyntaxRuntimeException$1.asInvalidSyntaxException(InvalidSyntaxRuntimeException.java:39) at argo.saj.SajParser.parse(SajParser.java:107) at argo.saj.SajParser.parse(SajParser.java:55) at argo.jdom.JdomParser$1.parse(JdomParser.java:59) at argo.jdom.JdomParser.parse(JdomParser.java:66) at argo.jdom.JdomParser.parse(JdomParser.java:57) at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:44) at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:68) at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:52) at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:64) at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:115) at cpw.mods.fml.common.Loader.identifyMods(Loader.java:348) at cpw.mods.fml.common.Loader.loadMods(Loader.java:480) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) at net.minecraft.client.Minecraft.startGame(Minecraft.java:411) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source)
ça ne venait pas de la …