-
Notifications
You must be signed in to change notification settings - Fork 103
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
Exception:<class 'ValueError'>read length must be non-negative or -1 #145
Comments
Current workaround is to move DIM7/data/taiga_meteors.dat, data/taiga_meteors.dat, The_Beneath/data/taiga_meteors.dat out of the world folder, run regionfixer, then move them back in. |
Here is a copy of the taiga_meteors files: |
Hello! Sorry for the late answer, the end of term it's a pretty busy time for me. I've got the file and I confirm this is a bug in region fixer. Will look into it when I get some time. Thanks for the report and the files. Anyway, it's probably too late but from the crash report I think that the file is lost because it's a compressed file and it seems the length of it is -1. That means is corrupted and most probably you can't get anything from it. So, if I'm right, removing it is the only solution. |
Oh yeah, that's no problem. Thanks for getting back to me!
Hmm... I see. As I said before, I moved the taiga_meteors files out, ran regionfixer, and moved them back in. Everything still works, and it seems that two of the taiga_meteors.dat files changed (their hashes are now different), and AFAIK, the world is not currently corrupt (although I can run regionfixer to double-check), so some mod is definitely using it. Feel free to close this issue if you feel that the workaround I described is sufficient. Otherwise, maybe regionfixer could be amended to skip over such corrupt files or perhaps even prompt users to delete them? I can also run tests/send files that would help you solve the issue. Thanks! |
As I said, AFAIK the files taiga_meteors.dat are corrupted. But I will give this a better look later, thanks for the report. If they are really corrupted region-fixer should detect them and, at least, report them. I will leave this open as a remainder |
While trying to run this on my corrupt MC Eternal world, I get this error:
The command I ran was:
I really appreciate any help you can provide. :)
The text was updated successfully, but these errors were encountered: