minetest / minetestmapper

Generates a overview image of a minetest map.
BSD 2-Clause "Simplified" License
112 stars 40 forks source link

Problems with guest accounts on win10 #50

Closed zybex86 closed 6 years ago

zybex86 commented 6 years ago

When I unpack the game using an admin account on my computer, then I can play normally, but when I open the same game using a guest or restricted account, the game crashes when I enter a singleplayer world. When I create a world using a guest account, there is no SQL database created in the worlds folder. The debug is below:

2018-01-15 14:11:36: WARNING[Main]: BanManager: creating C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\qweqwe\ipban.txt 2018-01-15 14:11:36: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition 2018-01-15 14:11:36: WARNING[Main]: /!\ You are using old player file backend. This backend is deprecated and will be removed in next release /!\ 2018-01-15 14:11:36: WARNING[Main]: Switching to SQLite3 or PostgreSQL is advised, please read http://wiki.minetest.net/Database_backends. 2018-01-15 14:11:36: ACTION[Main]: .
2018-01-15 14:11:36: ACTION[Main]: || ____
/ |_ __ ___/ | 2018-01-15 14:11:36: ACTION[Main]: / | |/ \/ \ \/ \ / _/\ _\ 2018-01-15 14:11:36: ACTION[Main]: | Y Y \ | | \ /| | \ / \ \ | |
2018-01-15 14:11:36: ACTION[Main]: ||_| /_|| /_ >| _ >__ > |__|
2018-01-15 14:11:36: ACTION[Main]: \/ \/ \/ \/ \/
2018-01-15 14:11:36: ACTION[Main]: World at [C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\qweqwe] 2018-01-15 14:11:36: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:55446. 2018-01-15 14:11:38: ERROR[Server]: An unhandled exception occurred: Failed to open SQLite3 database file C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\qweqwe\map.sqlite: unable to open database file 2018-01-15 14:11:38: ERROR[Server]: In thread 8: 2018-01-15 14:11:38: ERROR[Server]: /home/stefan/buildbot/64/minetest/src/server.cpp:73: run: A fatal error occured: Failed to open SQLite3 database file C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\qweqwe\map.sqlite: unable to open database 2018-01-15 14:11:38: ERROR[Server]: ile 2018-01-15 14:11:38: ERROR[Server]: Debug stacks: 2018-01-15 14:11:38: ERROR[Server]: DEBUG STACK FOR THREAD 1: 2018-01-15 14:11:38: ERROR[Server]: #0 main 2018-01-15 14:11:38: ERROR[Server]: DEBUG STACK FOR THREAD 8: 2018-01-15 14:11:38: ERROR[Server]: #0 run 2018-01-15 14:11:38: ERROR[Server]: DEBUG STACK FOR THREAD b: 2018-01-15 14:11:38: ERROR[Server]: #0 run 2018-01-15 14:11:38: ERROR[Server]: DEBUG STACK FOR THREAD c: 2018-01-15 14:11:38: ERROR[Server]: #0 run

When I create a world using the admin account and enter it, then there is no problem, but when I try to enter it when relogging on a guest account I get 2 runtime errors. The debug is below:

2018-01-15 14:26:33: [Main]: Automatically selecting world at [C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\123123] 2018-01-15 14:26:36: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition 2018-01-15 14:26:36: ACTION[Main]: .
2018-01-15 14:26:36: ACTION[Main]: || ____
/ |_ __ ___/ | 2018-01-15 14:26:36: ACTION[Main]: / | |/ \/ \ \/ \ / _/\ _\ 2018-01-15 14:26:36: ACTION[Main]: | Y Y \ | | \ /| | \ / \ \ | |
2018-01-15 14:26:36: ACTION[Main]: ||_| /_|| /_ >| _ >__ > |__|
2018-01-15 14:26:36: ACTION[Main]: \/ \/ \/ \/ \/
2018-01-15 14:26:36: ACTION[Main]: World at [C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\123123] 2018-01-15 14:26:36: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:57762. 2018-01-15 14:26:37: ACTION[Server]: singleplayer [127.0.0.1] joins game. 2018-01-15 14:26:37: ACTION[Server]: singleplayer joins game. List of players: singleplayer 2018-01-15 14:26:38: ERROR[Emerge-0]: An unhandled exception occurred: Failed to open SQLite3 database file C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\123123\map.sqlite: unable to open database file 2018-01-15 14:26:38: ERROR[Emerge-0]: In thread d: 2018-01-15 14:26:38: ERROR[Emerge-0]: /home/stefan/buildbot/64/minetest/src/emerge.cpp:293: run: A fatal error occured: Failed to open SQLite3 database file C:\Users\Uczeń13\Documents\rozrywka\minetest-0.4.16-win64\minetest-0.4.16-win64\bin..\worlds\123123\map.sqlite: unable to open database 2018-01-15 14:26:38: ERROR[Emerge-0]: file 2018-01-15 14:26:38: ERROR[Emerge-0]: Debug stacks: 2018-01-15 14:26:38: ERROR[Emerge-0]: DEBUG STACK FOR THREAD 1: 2018-01-15 14:26:38: ERROR[Emerge-0]: #0 main 2018-01-15 14:26:38: ERROR[Emerge-0]: DEBUG STACK FOR THREAD 8: 2018-01-15 14:26:38: ERROR[Emerge-0]: #0 run 2018-01-15 14:26:38: ERROR[Emerge-0]: #1 AsyncRunStep 2018-01-15 14:26:38: ERROR[Emerge-0]: DEBUG STACK FOR THREAD b: 2018-01-15 14:26:38: ERROR[Emerge-0]: #0 run 2018-01-15 14:26:38: ERROR[Emerge-0]: DEBUG STACK FOR THREAD c: 2018-01-15 14:26:38: ERROR[Emerge-0]: #0 run 2018-01-15 14:26:38: ERROR[Emerge-0]: DEBUG STACK FOR THREAD d: 2018-01-15 14:26:38: ERROR[Emerge-0]: #0 run 2018-01-15 14:26:39: ERROR[Server]: An unhandled exception occurred: Failed to prepare query 'BEGIN;': unable to open database file 2018-01-15 14:26:39: ERROR[Server]: In thread 8: 2018-01-15 14:26:39: ERROR[Server]: /home/stefan/buildbot/64/minetest/src/server.cpp:73: run: A fatal error occured: Failed to prepare query 'BEGIN;': unable to open database file 2018-01-15 14:26:39: ERROR[Server]: Debug stacks: 2018-01-15 14:26:39: ERROR[Server]: DEBUG STACK FOR THREAD 1: 2018-01-15 14:26:39: ERROR[Server]: #0 main 2018-01-15 14:26:39: ERROR[Server]: DEBUG STACK FOR THREAD 8: 2018-01-15 14:26:39: ERROR[Server]: #0 run 2018-01-15 14:26:39: ERROR[Server]: DEBUG STACK FOR THREAD b: 2018-01-15 14:26:39: ERROR[Server]: #0 run 2018-01-15 14:26:39: ERROR[Server]: DEBUG STACK FOR THREAD c: 2018-01-15 14:26:39: ERROR[Server]: #0 run 2018-01-15 14:26:39: ERROR[Server]: DEBUG STACK FOR THREAD d: 2018-01-15 14:26:39: ERROR[Server]: #0 run

I want to let my students play minetest so I can create interactive lessons for them at school like in Minecraft Education. If the guest account crashes, I can't do it. Please help...

sfan5 commented 6 years ago

wrong repo, you should open this issue at minetest/minetest.

Non-English characters in paths can cause problems, try moving your Minetest installation to a location that doesn't include "Uczeń13".

zybex86 commented 6 years ago

Thanks ;) It helped when I used english chars only :)