Page 1 of 1

ERROR: An unhandled exception occurred: Cannot open database file

PostPosted: Sun Jun 16, 2013 16:06
by Poke
Hi, I've just downloaded MineTest and I have many problems with it... I've searched on YTB and Internet, but I haven't found anything.

My problem is this:

Image
"minetest.exe stopped running.
Windows is searching any solution for the problem..."


When I start playing a new map, the game say: ERROR[Server Thread]: ERROR: An unhandled exception occurred: Cannot open database file. I don't know what happens, and I don't find any information anywhere...
If you could help me, I'd be so greatfully =)

Note: I have 0.4.4 MineTest version and Windows 7.

Thanks! ^^

PostPosted: Sun Jun 16, 2013 16:49
by sfan5
In which folder do you have Minetest?

PostPosted: Sun Jun 16, 2013 16:52
by Poke
sfan5 wrote:In which folder do you have Minetest?


In a folder created by me at the desktop.

PostPosted: Sun Jun 16, 2013 16:55
by sfan5
Hm, have you tried creating another world?

PostPosted: Sun Jun 16, 2013 16:57
by Poke
sfan5 wrote:Hm, have you tried creating another world?


Yep, but it doesn't work anyway... I've tried downloading a created map on the Internet, but it doesn't work again... Any suggestion? :/

PostPosted: Sun Jun 16, 2013 16:58
by sfan5
Try using 0.4.7

PostPosted: Sun Jun 16, 2013 17:01
by Poke
sfan5 wrote:Try using 0.4.7


It doesn't work in my computer, versions higher than 0.4.4 don't work... I had problems later with it... What could I do?

PostPosted: Sun Jun 16, 2013 17:14
by PilzAdam
Poke wrote:
sfan5 wrote:Try using 0.4.7


It doesn't work in my computer, versions higher than 0.4.4 don't work... I had problems later with it... What could I do?

What doesnt work?

PostPosted: Sun Jun 16, 2013 17:26
by Poke
PilzAdam wrote:
Poke wrote:
sfan5 wrote:Try using 0.4.7


It doesn't work in my computer, versions higher than 0.4.4 don't work... I had problems later with it... What could I do?

What doesnt work?


Euh... I don't know how to say it, I'm not English... xD I'll try: at my computer only run versions under 0.4.4 of MineTest, including it. I've tried installing 0.4.7 version, but it doesn't work.

PostPosted: Sun Jun 16, 2013 18:00
by Topywo
Something with using special characters? Unfortunenately the link in the link doesn't work:

http://forum.minetest.net/viewtopic.php?pid=55657#p55657

PostPosted: Sun Jun 16, 2013 18:47
by Poke
Topywo wrote:Something with using special characters? Unfortunenately the link in the link doesn't work:

http://forum.minetest.net/viewtopic.php?pid=55657#p55657


Noup... And I saw this post later, but the link didn't work... :/

PostPosted: Sun Jun 16, 2013 18:48
by Calinou
Poke wrote:
Topywo wrote:Something with using special characters? Unfortunenately the link in the link doesn't work:

http://forum.minetest.net/viewtopic.php?pid=55657#p55657


Noup... And I saw this post later, but the link didn't work... :/


Please don't write in colors when it is not needed.

PostPosted: Sun Jun 16, 2013 19:23
by Poke
Ok, sorry.

PostPosted: Sun Jun 16, 2013 21:12
by VanessaE
So, what precisely is the error you get when you try to run 0.4.7? Run it from a command prompt (DOS window, terminal, whatever it is on your machine) and either copy&paste the entire output to here, or give us a screenshot of the command prompt that shows the error.

PostPosted: Mon Jun 17, 2013 16:41
by Poke
VanessaE wrote:So, what precisely is the error you get when you try to run 0.4.7? Run it from a command prompt (DOS window, terminal, whatever it is on your machine) and either copy&paste the entire output to here, or give us a screenshot of the command prompt that shows the error.


When I try to run 0.4.7 version, the game stops immediatly. I show you what appears when I run it:

Image


You won't understand anything, I know, because it is Spanish... I'll translate it:

"minetest.exe stopped running.

The program stopped running correctly because of a problem. Windows will close the program and will notice if there is any solution.

Close program."


How can I run the program from the terminal? I'm noob, sorry... T.T

Thanks for all! =)

PostPosted: Tue Jun 18, 2013 11:54
by fairiestoy
Simply hit the Windows Button on your Keyboard or the button on your taskbar and type in cmd. After hitting return you will get a console. Now drag the minetest.exe into it and hit return again. The game should try to start and will print all output to console. If it doesnt work, you can use a Batch file. Just open a Notepad and write this:
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
@echo off
minetest.exe
pause

Save this file as run_minetest.bat in the same directory as your minetest.exe ( ~/Desktop/minetest/bin/run_minetest.bat as example ) and double click this batch file.

Greetings

PostPosted: Tue Jun 18, 2013 12:54
by Poke
fairiestoy wrote:Simply hit the Windows Button on your Keyboard or the button on your taskbar and type in cmd. After hitting return you will get a console. Now drag the minetest.exe into it and hit return again. The game should try to start and will print all output to console. If it doesnt work, you can use a Batch file. Just open a Notepad and write this:
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
@echo off
minetest.exe
pause

Save this file as run_minetest.bat in the same directory as your minetest.exe ( ~/Desktop/minetest/bin/run_minetest.bat as example ) and double click this batch file.

Greetings


The same error... I've tried both of the ways, but it doesn't work yet... :/

PostPosted: Tue Jun 18, 2013 14:17
by fairiestoy
Poke wrote:The same error... I've tried both of the ways, but it doesn't work yet... :/

Sorry, now i get whats your problem. The prompt doesnt show anything and crashes before any information could be print. Have you checked if there is anything in your debug.txt in the bin folder? And maybe take a look if your folders are read/write protected for some reason. Maybe something went wrong.

PostPosted: Tue Jun 18, 2013 14:24
by Calinou
It could be because of your username; reate an user that doesn't have a non-ASCII character (an ASCII character is A-Z, a-z, 0-9 and a few other characters).

PostPosted: Tue Jun 18, 2013 17:40
by Ducky
Have you tried running one of the other packages as listed on http://minetest.net/download under "Unofficial builds" ?

PostPosted: Tue Jun 18, 2013 20:10
by Poke
fairiestoy wrote:
Poke wrote:The same error... I've tried both of the ways, but it doesn't work yet... :/

Sorry, now i get whats your problem. The prompt doesnt show anything and crashes before any information could be print. Have you checked if there is anything in your debug.txt in the bin folder? And maybe take a look if your folders are read/write protected for some reason. Maybe something went wrong.


I've checked and the file is OK, and I've also checked if the folders were read/write protected and they weren't.


Calinou wrote:It could be because of your username; reate an user that doesn't have a non-ASCII character (an ASCII character is A-Z, a-z, 0-9 and a few other characters).


I've tried to use different nicknames, but the error persists...


Ducky wrote:Have you tried running one of the other packages as listed on http://minetest.net/download under "Unofficial builds" ?


Yes, I've already tried it, but the same... The same error appears. :/

PostPosted: Thu Jun 20, 2013 01:33
by fairiestoy
Poke, what if you move your minetest folder to this location:
C:\minetest\
Because Calinou mentioned that the non-ASCII character in your windows name could cause the error. Im at the moment not sure if the folder name changes from C:\Users\User Name\ after changing the name. I think it worths a try.

PostPosted: Thu Jun 20, 2013 13:02
by Poke
fairiestoy wrote:Poke, what if you move your minetest folder to this location:
C:\minetest\
Because Calinou mentioned that the non-ASCII character in your windows name could cause the error. Im at the moment not sure if the folder name changes from C:\Users\User Name\ after changing the name. I think it worths a try.


THANK YOU SO MUCH! It runs! That was the error! I put the game folder at C: and it ran correctly! Thanks, thanks a lot!

The moderators can close the topic now, my problem is solved! =D

Thank you again!~