-
Notifications
You must be signed in to change notification settings - Fork 9
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
Jail fails to load after creating a new jail with cells, then restarting the server. #41
Comments
Which version of the plugin are you using? More specifically, which build?
|
Build #154 |
it looks to me like its the same problem we were having with #40. When the server starts the load state for Jail, it attempts to read the data.yml which isn't being formatted correctly, and it throws the error. |
Can you provide the data.yml?
|
yeah, give me a couple of secs to send it from the live server to my mediafire |
Can you turn debugging on ( |
ok, give me a few moments |
Thanks |
ok, this is pretty much all I got when I started it up with the data.yml from the live server.
|
Can you provide the logs before that? |
I can give you the whole log from startup if thats what you want. |
Just the lines from where Jail starts to load until that error is all I really need. |
that was all I got from the log, here is the entire log if you arent sure: http://www.mediafire.com/download/ilxqosfd2l5pdi6/latest.log |
oh I see it now! Its really hard to see the debug data! |
Okay, you can disable debugging and download the latest build...if you don't mind. |
of course I don't mind, I'm helping someone out! :) |
ok, the clip from the lastest build being run: [17:44:05] [Server thread/INFO]: [Jail] Enabling Jail v3.0.0-SNAPSHOT-b157 |
Okay, so you don't have a world |
I do have a world called Void, its a exact duplicate of my live server. |
hmm, I wonder if its a problem with jail talking to worlds generated by Multiverse? |
let me try this on my barebones world. It doesnt have any plugins installed. |
Yes it is, since those worlds aren't loaded yet even though the Jail plugin is set to load |
ok, then we'll try this again, lol |
Let's try after this build. I just changed up a few things. First, it will load the Jails which their world is disabled/not loaded but the Jail will be disabled. Second, it will load after multiverse. |
ok, sounds good. |
the new build is 158 correct? |
Correct |
oh crud...#158 just crashed and burned...
|
Eh, it won't work. Hang on, forgot |
It happens to everyone, its just one of those long restless nights :) |
Here we go, in theory it should work just fine...but let's see let you test it first. 😝 |
Did that work or have you yet to try it @madisonofccs? |
oh! sorry, was doing laundry, lol! let me get that build |
Oh that's for sure more important! 😜 |
lol, you tease! The build results: [18:25:08] [Server thread/INFO]: [Jail] Enabling Jail v3.0.0-SNAPSHOT-b159 looks like you squished that bug! Just have to figure out how to get rid of the extra "jail" thats being generated :) |
Yeah...so are you able to replicate this extra thing 100% of the time? |
yeah, it happens whenever cells are created in the jail, once you do /jail stop it writes that line into data.yml. It might have something to do with how cells are being written into the flatfile. I can try it with the new build, and see if it does it this time. |
Huh, interesting...wonder where I've messed up to cause this. |
im testing with the build 159 to see if it creates it again. |
I just pushed another change, can you try build 160? |
well, the test with 159 didn't generate the additional "jail", it looks like whatever you did to kill this bug killed that one at the same time |
How many cells did you create? Cause when testing I only created one cell.. |
I did the test with 159 creating a new jail called Foo, and giving it 3 cells. When I was done I did /jail stop, and then stopped the server. |
Well yay then! 😄 Thanks for all your help! |
its not a problem, we make a very good team! |
Try to break something else now so I can fix something else haha |
if you ever need anyone to test stuff for you, you have my email already, just give me a shout :) |
Will do, thanks! |
but...but, it works so good now, I don't want to break it again :( |
Fair enough :) |
well, I suppose this is goodbye for now, until I break something again :). You have a good night, and take a break! |
Sounds good to me, I'll be taking a break soon to grab something to eat. 🍔 Thanks again for your help! |
no problem :) have a good one! |
Looks like jail is returning an error when it tries to load the flatfile. I've included the error below.
I basically deleted the data.yml file, started up the live server, then created the jail for a fresh file. I then copied the files in the folder over to my local test server, which is an identical copy of my live server, and started it up. The error showed up when I checked the logs to see if the jail loaded successfully.
The text was updated successfully, but these errors were encountered: