Page 1 of 1

[Bug/Problem]env meta[0.4.9]

PostPosted: Sat Mar 29, 2014 14:39
by Minetest247
I get an error say something about env meta on Minutest 0.4.9. I don't know why I getting it or how fix. Plus it crash my game. Luckily It automatically save the world.

PostPosted: Sat Mar 29, 2014 14:54
by CraigyDavi
Can you post the error from the debug.txt?

PostPosted: Sat Mar 29, 2014 14:58
by Minetest247
This it says...
Code: Select all
XX:XX:XX: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta

PostPosted: Sat Mar 29, 2014 15:10
by CraigyDavi
Minetest247 wrote:This it says...
Code: Select all
XX:XX:XX: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta


Quite odd. Was there any other errors? If not then I think it is just a one-off occurrence.

PostPosted: Sat Mar 29, 2014 15:30
by Minetest247
No other errors I can find.
It has something do with the env meta whatever, it is or do.

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Fri Aug 01, 2014 21:25
by LazerRay
I get a similer bug in version 0.4.10, the debug text shows:

Code: Select all
INFO[ServerThread]: ServerEnvironment::saveMeta(): Failed to write C:\Users\Raymond\Documents\Game Mods\Minetest\minetest-0.4.10\bin\..\worlds\Peaceful Retreat\env_meta.txt
ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta


Then nothing works anymore and I have to restart Minetest to do anything again, until the crash triggers again.

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Wed Jul 29, 2015 11:41
by TheMCPenguin
Simply saying, but I have exactly the same problem. I believe it has something to do with how old the world is, but I don't know. The "env_meta" file is in every world folder, if you know how to fix it.

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Wed Jul 29, 2015 11:47
by Calinou
TheMCPenguin wrote:Simply saying, but I have exactly the same problem. I believe it has something to do with how old the world is, but I don't know. The "env_meta" file is in every world folder, if you know how to fix it.


Take the env_meta.txt file of another working world folder (create a new world if you don't have any), and replace the problematic world's env_meta.txt file with the working one.

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Sat Aug 01, 2015 14:10
by TheMCPenguin
[quote="CalinouTake the env_meta.txt file of another working world folder (create a new world if you don't have any), and replace the problematic world's env_meta.txt file with the working one.[/quote]

Ummmm... yeah... All my worlds have the error. All of them. I've already tried that, anyway. I'm going to try and replace the env_meta file with a blank one, see if that works. I'll get back the results to you.

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Sat Aug 01, 2015 14:33
by Sokomine
No, an empty file won't work. Just put this text into your env_meta.txt:
Code: Select all
game_time = 100
time_of_day = 6000
EnvArgsEnd

and it ought to work again. The information you loose is only how long that world has been played on (game_time) and which ingame time it currently has (time_of_day=6000 -> it's in the morning now).

Re: [Bug/Problem]env meta[0.4.9]

PostPosted: Sun May 05, 2019 17:18
by Miniontoby
I had also an env_meta.txt error: viewtopic.php?f=6&t=22341