Page 1 of 1

blocks not saving (windows with 0.4.11)

PostPosted: Wed Jan 28, 2015 23:36
by superschizo
I noticed this problem today a few times in the windows version that I downloaded from the minetest site, that I haven't noticed in the linux version. (Recently I moved around computers and have been using windows.) I'll be placing blocks and the DOS window stops recording them. Also {/time 6000} doesn't work anymore when this happens. When I exit to the main menu and then reload the world, the blocks I placed after the error have not been saved. This bug is not reproducible as I've noticed, it just happens randomly that I can tell. Here are the details...

*Windows 7 64 bit
*minetest 0.4.11 MinGW 64 bit from the minetest downloads page as of a few days ago http://minetest.net/download
*mods used are home decor (version from a week or two ago), flatgen, worldedit 1.0, mapfix, startlocation
*Since I can't reproduce this bug, I didn't do the debug 4 thing, but I did find this looking through my debug.txt
15:26:19: ACTION[ServerThread]: scott places node stairs:slab_stone at (96,13,160)
15:26:19: ERROR[ServerThread]: WARNING: endSave() failed, map might not have saved.WARNING: saveBlock: Block failed to save (6,0,9): SQL logic error or missing database
15:26:19: ERROR[ServerThread]: WARNING: saveBlock: Block failed to save (6,0,10): SQL logic error or missing database


Also, I don't know if this is related or not, when I break a flat white light from the home decor mod the output from the DOS window stops outputting things but I don't get the error message.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Thu Jan 29, 2015 17:46
by Krock
Could you try to reproduce this bug with a newer build?
Visit the Builds forum and see try one from there.
I've never seen this bug so I expect it has been fixed a while ago.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Thu Jan 29, 2015 20:51
by superschizo
I just tried the newest windows 64 bit build from sfan available as of today 29 jan 15 at https://sfan5.pf-control.de/minetest-builds/?p, labeled 1702c34. It happened again the second time I opened the world, while I was just flying around looking at what to work on next. The error I got is
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
14:40:08: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta

Re: blocks not saving (windows with 0.4.11)

PostPosted: Thu Jan 29, 2015 21:50
by superschizo
I just noticed this big chunk missing from the stadium. I don't know when it happened, but I'm thinking of not using the windows version of minetest anymore...
Image

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 12:21
by superschizo
I tried the windows version again, with the new build. The save error happened at 06:10:51 in the following debug info, I included lines above and below the error in case it helps.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
06:10:50: ACTION[ServerThread]: scott places node default:stone at (100,24,172)
06:10:50: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:50: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:50: INFO[main]: OpenALSoundManager: Creating playing sound
06:10:50: VERBOSE[ServerThread]: Server: MapEditEvents:
06:10:50: VERBOSE[ServerThread]:   MEET_ADDNODE: - - - - - - - - - - - - - - 1
06:10:50: INFO[main]: Ground right-clicked
06:10:50: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:50: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=3, item=3, pointed=[node under=100,24,172 above=100,24,171]
06:10:50: ACTION[ServerThread]: scott places node default:stone at (100,24,171)
06:10:50: VERBOSE[ServerThread]: Server: MapEditEvents:
06:10:50: VERBOSE[ServerThread]:   MEET_ADDNODE: - - - - - - - - - - - - - - 1
06:10:50: INFO[main]: Pointing at [node under=100,24,171 above=100,25,171]
06:10:50: INFO[main]: Pointing at [node under=100,24,171 above=100,24,170]
06:10:50: INFO[main]: Ground right-clicked
06:10:50: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:50: INFO[main]: Pointing at [node under=100,24,170 above=100,25,170]
06:10:51: INFO[ServerThread]: ServerMap: Written: 0 sector metadata files, 4 block files, 885 blocks in memory.
06:10:51: INFO[ServerThread]: ServerMap: Blocks modified by:
06:10:51: INFO[ServerThread]:   setNode, setNode, setNode, setNode, setNode...: 2
06:10:51: INFO[ServerThread]:   setNode, setNodeNoCheck, setNode, setNodeNoCheck...: 1
06:10:51: INFO[ServerThread]:   setNodeNoCheck, setNode, setNodeNoCheck, setNode...: 1
06:10:51: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:51: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:51: INFO[main]: OpenALSoundManager: Creating playing sound
06:10:51: INFO[ServerThread]: ServerEnvironment::saveMeta(): Failed to write C:\Minetest\minetest-0.4.11-1702c34-win64\bin\..\worlds\Candlestick Park\env_meta.txt
06:10:51: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta
06:10:51: INFO[main]: Pointing at [nothing]
06:10:51: INFO[main]: Pointing at [node under=99,24,176 above=99,24,175]
06:10:51: INFO[main]: Ground right-clicked
06:10:51: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:51: INFO[main]: Pointing at [node under=99,24,175 above=99,24,174]
06:10:51: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:51: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:51: INFO[main]: OpenALSoundManager: Creating playing sound
06:10:52: INFO[main]: Ground right-clicked
06:10:52: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:52: INFO[main]: Pointing at [node under=99,24,174 above=99,24,173]
06:10:52: INFO[main]: Ground right-clicked
06:10:52: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:52: INFO[main]: Pointing at [node under=99,24,173 above=99,24,172]
06:10:52: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:52: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:52: INFO[main]: OpenALSoundManager: Creating playing sound
06:10:52: INFO[main]: Ground right-clicked
06:10:52: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:52: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:52: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:52: INFO[main]: OpenALSoundManager: Creating playing sound
06:10:52: INFO[main]: Pointing at [node under=99,24,172 above=99,24,171]
06:10:53: INFO[main]: Ground right-clicked
06:10:53: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:53: INFO[main]: Pointing at [node under=99,24,171 above=99,24,170]
06:10:53: INFO[main]: Ground right-clicked
06:10:53: VERBOSE[main]: Node placement prediction for default:stone is default:stone
06:10:53: INFO[main]: Pointing at [node under=99,24,170 above=99,24,169]
06:10:53: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
06:10:53: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 1 playing sounds
06:10:53: INFO[main]: OpenALSoundManager: Creating playing sound

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 12:33
by cHyper
06:10:51: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta
...


have you changed your minetest version?
latest dev builds used?

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 12:41
by superschizo
cHyper wrote:06:10:51: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta
...


have you changed your minetest version?
latest dev builds used?

I originally started with the stable version of 0.4.11 and on Krock's suggestion in this thread switched to the latest dev build I could find for windows 64 bit. I get the same error in both builds, but with different words reported.

stable verbage:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
15:26:19: ERROR[ServerThread]: WARNING: endSave() failed, map might not have saved.WARNING: saveBlock: Block failed to save (6,0,9): SQL logic error or missing database
15:26:19: ERROR[ServerThread]: WARNING: saveBlock: Block failed to save (6,0,10): SQL logic error or missing database

1702c34 latest dev build verbage:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
14:40:08: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta


Last time I got the error this morning, I had placed a line of 6 stone blocks by holding down the right mouse button. It doesn't happen everytime. Another time it happened yesterday was just flying around comparing things and deciding what to work on next.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 12:48
by cHyper
seems to me that it could be a database error.
what about a new world with the old databasefile?

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 13:04
by superschizo
It could be a database error I guess.

Here's the history of this world...
-I originally created it using Krock's flatgen, to build a baseball stadium called Candlestick Park, in ubuntu 14.10 with the minetest version 0.4.10 that comes with the ubuntu software center.
-That world got corrupted possibly by flatgen mod having a problem with the engine change to 0.4.11 so that the world lost chunks of the map and players could fall off the edge, so I used worldedit to copy and paste the stadium into a new flatgen world.
-Then I moved computers around and now use a windows 7 computer for a couple of weeks, so I moved the Candlestick Park map to the windows computer I'm using now with the stable 0.4.11 build.
-Then I switched to the 0.4.11 minetest engine 1702c34 from sfan.

I'll post a link to that world I'm using now in a few minutes once it is compressed and uploaded.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 13:12
by superschizo

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 13:43
by cHyper
I can load this beautiful map with my minetestversion witihout any error-messages or something else...


https://www.dropbox.com/s/czkqcyi5a07bs8o/setup_minetest%2832bit%29_150122.exe?dl=0

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 13:47
by superschizo
Shouldn't I be using 64 bit since I have a 64 bit OS?

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 14:12
by sfan5
Not being able to save env meta is not as critical as not being able to save the map, use the newer dev version. Please try other Minetest builds, for example Krock's build.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 14:18
by superschizo
Thank you everyone for your help, I'm just wondering if I can use 32 bit minetest on my 64 bit OS?

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 14:24
by sfan5
Yes, that should work.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 15:03
by superschizo


CHyper, Google Chrome blocked that download and claimed it was malware for some reason.

Krock's builds confuse me, because there is no subgame. While I've been playing stable versions of minetest on linux occasionally for years, I don't normally use windows or developmental versions of minetest. I'll keep looking.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 15:16
by ExeterDad
Google Chrome Android doesn't complain. Are your preferences too tight?

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 15:24
by superschizo
ExeterDad wrote:Google Chrome Android doesn't complain. Are your preferences too tight?

This is Google Chrome on windows 7, with default settings. The box for blocking phishing and malware is checked in advanced settings, but I don't want to uncheck that due to my past experiences with Windows and malware.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 17:49
by cHyper
superschizo wrote:


CHyper, Google Chrome blocked that download and claimed it was malware for some reason.

Krock's builds confuse me, because there is no subgame. While I've been playing stable versions of minetest on linux occasionally for years, I don't normally use windows or developmental versions of minetest. I'll keep looking.


It's an installer for krock's build, with this build-version I could play your world !

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 17:58
by Krock
superschizo wrote:Krock's builds confuse me, because there is no subgame.

Sorry for going off-topic but that's because I do not want to prefer any subgame. (And it minimizes the archive size)
Thus, I added a simple text file (README.txt) with some must-know links.

On-topic again:
A cause for this issue could be the minetest.conf setting "sqlite_synchronous", either it shouldn't be in the configuration of set to 2.
Also start Minetest without Administrator rights, outside of %programfiles%.
If that didn't help, add a scan exception to your Antivirus program.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 18:12
by superschizo
CHyper, I'm sure Chrome did a false positive. I just mentioned it because I thought you should know that it was blocked for some reason. I did scan it and Comodo said it was clean, but the installer was in German so I couldn't use it anyway lol. I do appreciate your help, thank you.

Krock, I'll try adjusting the minetest.conf setting, and I'll add a scan exemption if I can figure out how to do it. I have been playing it without admin rights, outside of program files. Thank you.

Re: blocks not saving (windows with 0.4.11)

PostPosted: Fri Jan 30, 2015 18:41
by superschizo
With minetest excluded from real time scanning and sqlite_synchronous = 1 (changed from 2) on sfan's recent 1702c34 build, I had that error again where it stopped saving blocks at 12:31:57. I was placing a line of stone slabs quickly. I'll try the minimal build from Krock without a subgame to see if it works.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
12:31:53: INFO[main]: Client::addUpdateMeshTaskForNode(): (100,18,181)
12:31:53: VERBOSE[main]: OpenALSoundManager::maintain(): 2 playing sounds, 33 sound names loaded
12:31:53: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 2 playing sounds
12:31:53: INFO[main]: OpenALSoundManager: Creating playing sound
12:31:53: INFO[main]: Digging completed
12:31:53: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=2, item=3, pointed=[node under=100,18,181 above=100,18,180]
12:31:53: ACTION[ServerThread]: scott digs default:stone at (100,18,181)
12:31:53: VERBOSE[ServerThread]: Server: MapEditEvents:
12:31:53: VERBOSE[ServerThread]:   MEET_REMOVENODE: - - - - - - - - - - - -  1
12:31:53: INFO[main]: Client::addUpdateMeshTaskForNode(): (100,18,181)
12:31:53: VERBOSE[main]: OpenALSoundManager::maintain(): 1 playing sounds, 33 sound names loaded
12:31:53: INFO[main]: OpenALSoundManager: Creating playing sound
12:31:53: INFO[main]: Pointing at [node under=100,18,182 above=100,18,181]
12:31:54: INFO[main]: Pointing at [node under=101,18,182 above=101,18,181]
12:31:55: INFO[main]: Pointing at [node under=102,18,182 above=102,18,181]
12:31:55: INFO[main]: Pointing at [nothing]
12:31:56: INFO[main]: Client: time_of_day=8020 time_speed=72 dr=1000
12:31:56: INFO[main]: Pointing at [node under=102,18,182 above=102,18,181]
12:31:56: INFO[ServerThread]: ServerMap: Unloaded 375 blocks from memory, of which 7 were written, 2380 blocks in memory.
12:31:56: INFO[ServerThread]: ServerMap: Blocks modified by:
12:31:56: INFO[ServerThread]:   Timestamp older than 60s (step), setTimestamp...: 7
12:31:57: INFO[main]: Ground right-clicked
12:31:57: VERBOSE[main]: Node placement prediction for stairs:slab_stone is stairs:slab_stone
12:31:57: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=3, item=4, pointed=[node under=102,18,182 above=102,18,181]
12:31:57: ACTION[ServerThread]: scott places node stairs:slab_stone at (102,18,181)
12:31:57: VERBOSE[ServerThread]: OpenALSoundManager::maintain(): 2 playing sounds, 33 sound names loadedServer: MapEditEvents:
12:31:57: VERBOSE[ServerThread]:   MEET_ADDNODE: - - - - - - - - - - - - - - 1
12:31:57: VERBOSE[main]:
12:31:57: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 2 playing sounds
12:31:57: INFO[main]: OpenALSoundManager: Creating playing sound
12:31:57: INFO[main]: Pointing at [node under=102,18,181 above=102,19,181]
12:31:57: INFO[main]: Pointing at [node under=101,18,182 above=101,18,181]
12:31:57: INFO[ServerThread]: ServerMap: Written: 0 sector metadata files, 1 block files, 2380 blocks in memory.
12:31:57: INFO[ServerThread]: ServerMap: Blocks modified by:
12:31:57: INFO[ServerThread]:   setNodeNoCheck, setNode, setNode, setNodeNoCheck...: 1
12:31:57: INFO[ServerThread]: ServerEnvironment::saveMeta(): Failed to write C:\Minetest\minetest-0.4.11-1702c34-win64\bin\..\worlds\Candlestick Park\env_meta.txt
12:31:57: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta
12:31:58: INFO[main]: Ground right-clicked

Re: blocks not saving (windows with 0.4.11)

PostPosted: Sun Feb 01, 2015 11:00
by superschizo
Krock's 32 bit build from 28 jan 15 with the minetest_game linked at the minetest download page seems to be working fine so far. So the problem appears to me to be with the 64 bit builds.