Closed DannyPokemon closed 8 years ago
Add 'parseOldSings:true' the config
Op do 17 dec. 2015 19:34 schreef DannyPokemon notifications@github.com:
so i updated my entire server from 1710 to 188 and it all boots up fine but then i go to a sign and see that the plugin changed all my signs from (without quotes): '[train]' to: 'train' if i create a new sign, it works fine but i have TONS AND TONS of them and i don't have that much time in my life to go to all edges of my map to rectify it All help appreciated - Thanks in advance
— Reply to this email directly or view it on GitHub https://github.com/bergerhealer/TrainCarts/issues/36.
Met vriendelijk groeten,
Matthijs Giezenberg
thanks - i didn't know it was that obvious! LMAOOO i'll let you know if it worked.
err..... it didn't work. infact if insert a new line in the config it throws a wobbly. idk y doe......
[21:49:25 INFO]: [Train_Carts] Enabling Train_Carts v1.75-SNAPSHOT [21:49:25 ERROR]: [Configuration] An error occured while loading file 'plugins\T rain_Carts\config.yml' [21:49:25 ERROR]: [Configuration] A backup of this (corrupted?) file named 'conf ig.yml.old' can be found in case you wish to restore java.io.IOException: YAML file is corrupt at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:103) ~[BKCommonLib.jar:?] at com.bergerkiller.bukkit.common.config.FileConfiguration.load(FileConf iguration.java:51) [BKCommonLib.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.loadConfig(TrainCarts.java:218) [TrainCarts.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:490) [Tr ainCarts.jar:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:75 6) [BKCommonLib.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [sp igot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:340) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:405) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.jav a:357) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer. java:317) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:4 14) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:3 78) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:3 33) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.jav a:263) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :524) [spigot.jar:git-Spigot-0359393-9a17f01] at java.lang.Thread.run(Unknown Source) [?:1.8.0] Caused by: org.bukkit.configuration.InvalidConfigurationException: mapping value s are not allowed here in 'string', line 2, column 7: normal: ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
nfiguration.java:57) ~[spigot.jar:git-Spigot-0359393-9a17f01] at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:101) ~[BKCommonLib.jar:?] ... 15 more Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not a llowed here in 'string', line 2, column 7: normal: ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:87
1) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja va:360) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.scanner.ScannerImpl.peekToken(ScannerImpl.java:249 ) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentEnd.produce(ParserI mpl.java:253) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~ [spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:168) ~[ spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 4) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:120) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot.jar:gi t-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot.jar:git-Spigot-0 359393-9a17f01] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo nfiguration.java:55) ~[spigot.jar:git-Spigot-0359393-9a17f01] at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:101) ~[BKCommonLib.jar:?] ... 15 more
Put the file in a yml parser. And check what needs to be fixed.
Op do 17 dec. 2015 22:59 schreef DannyPokemon notifications@github.com:
[21:49:25 INFO]: [Train_Carts] Enabling Train_Carts v1.75-SNAPSHOT [21:49:25 ERROR]: [Configuration] An error occured while loading file 'plugins\T rain_Carts\config.yml' [21:49:25 ERROR]: [Configuration] A backup of this (corrupted?) file named 'conf ig.yml.old' can be found in case you wish to restore java.io.IOException: YAML file is corrupt at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:103) ~[BKCommonLib.jar:?] at com.bergerkiller.bukkit.common.config.FileConfiguration.load(FileConf iguration.java:51) [BKCommonLib.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.loadConfig(TrainCarts.java:218) [TrainCarts.jar:?] at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:490) [Tr ainCarts.jar:?] at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:75 6) [BKCommonLib.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [sp igot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:340) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:405) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.jav a:357) [spigot.jar:git-Spigot-0359393-9a17f01] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer. java:317) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:4 14) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:3 78) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:3 33) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.jav a:263) [spigot.jar:git-Spigot-0359393-9a17f01] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :524) [spigot.jar:git-Spigot-0359393-9a17f01] at java.lang.Thread.run(Unknown Source) [?:1.8.0] Caused by: org.bukkit.configuration.InvalidConfigurationException: mapping value s are not allowed here in 'string', line 2, column 7: normal: ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
nfiguration.java:57) ~[spigot.jar:git-Spigot-0359393-9a17f01] at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:101) ~[BKCommonLib.jar:?] ... 15 more Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not a llowed here in 'string', line 2, column 7: normal: ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:87
1) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja va:360) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.scanner.ScannerImpl.peekToken(ScannerImpl.java:249 ) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentEnd.produce(ParserI mpl.java:253) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~ [spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:168) ~[ spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 4) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:120) ~[spigot.jar:git-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot.jar:gi t-Spigot-0359393-9a17f01] at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot.jar:git-Spigot-0 359393-9a17f01] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo nfiguration.java:55) ~[spigot.jar:git-Spigot-0359393-9a17f01] at com.bergerkiller.bukkit.common.config.BasicConfiguration.loadFromStre am(BasicConfiguration.java:101) ~[BKCommonLib.jar:?] ... 15 more
— Reply to this email directly or view it on GitHub https://github.com/bergerhealer/TrainCarts/issues/36#issuecomment-165592363 .
Met vriendelijk groeten,
Matthijs Giezenberg
Lol it was a tab issue :/ but it turns out its another problrm. when i put that in, on boot it completely deletes that column without an error in console. this is annoying, help!!!!!!!!! thanks in advance!
Can you please post your config with the value added?
Op do 17 dec. 2015 23:59 schreef DannyPokemon notifications@github.com:
Lol it was a tab issue :/ but it turns out its another problrm. when i put that in, on boot it completely deletes that column without an error in console. this is annoying, help!!!!!!!!! thanks in advance!
— Reply to this email directly or view it on GitHub https://github.com/bergerhealer/TrainCarts/issues/36#issuecomment-165609135 .
Met vriendelijk groeten,
Matthijs Giezenberg
My fault. It is parseOldSign: true
Typing is hard :tongue:
no it isn't - i noticed that and fixed it so ignore that error. this time it is REMOVING ITSELF FROM THE CONFIG! idk why but it is. i get no error feed saying it doesn't like it, it removes the line. i'm gonna record it and show you. hold on...
It does that because it was programmed to do so. Are you signs getting fixed? Because if they are then everything is working fine
no still not. can you step-by-step it for me?!?!?!?!?!
Stop server. Open config. Add 'parseOldSigns: true' to the bottom of the config. Safe file. Startup the server.
ok will try. thanks!
oh, and sorry to waste your time on petty things like this! :8ball:
no not fixing it. i am using Multiverse, maybe plugin conflict?!?! :angry:
Any error that is logging to the console? Can I get the whole log? Versions? Anything? Other plugins you are using?
Merry Xmas!
nothing, do you think it,s a multiverse issue??!???9
there doesnt seem a way arround it. ill fix it when i get home =issue closed.
so i updated my entire server from 1.7.10 to 1.8.8 and it all boots up fine. but then i go to a sign and see that the plugin changed all my signs from (without quotes): '[train]' to: 'train'. if i create a new sign, it works fine. but i have TONS AND TONS of them and i don't have that much time in my life to go to all edges of my map to rectify it. All help appreciated - Thanks in advance.