Jump to content

Editor Crashs


Weylon Santana
  • Version: Beta 5 Closed Bug Report

my editor does not open anymore, and only gives this error. Is it something very serious? What can it be?

 

2019-02-03 22:03:09.217 [Error] Message: The database disk image is malformed
database disk image is malformed
2019-02-03 22:03:09.220 [Error] Stack Trace:    at Mono.Data.Sqlite.SQLite3.Prepare(SqliteConnection cnn, String strSql, SqliteStatement previous, UInt32 timeoutMS, String& strRemain)
   at Mono.Data.Sqlite.SqliteCommand.BuildNextCommand()
   at Mono.Data.Sqlite.SqliteCommand.GetStatement(Int32 index)
   at Mono.Data.Sqlite.SqliteDataReader.NextResult()
   at Mono.Data.Sqlite.SqliteDataReader..ctor(SqliteCommand cmd, CommandBehavior behave)
   at Mono.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
   at Mono.Data.Sqlite.SqliteConnection.Open()
   at Intersect.Editor.Database.InitMapCache() in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Editor\Classes\Core\Database.cs:line 61
   at Intersect.Editor.Forms.FrmLogin.frmLogin_Load(Object sender, EventArgs e) in C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Editor\Forms\frmLogin.cs:line 46
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2019-02-03 22:03:09.221 [Error] Time: 2/3/2019 10:03:09 PM

--------------------------------------------------------------------------------



User Feedback

Recommended Comments

1 hour ago, Dashplant said:

Looks like your database is corrupted? 

 

Try to use a backup?

Not yet. I will try now and I let you know

Share this comment


Link to comment
Share on other sites
1 hour ago, Dashplant said:

Looks like your database is corrupted? 

 

Try to use a backup?

Well, this is as situation, the editor does not connect to the server if the server is online via vps. But the editor connect while localhost.

And more.
If I make changes offline, send the database to the vps and replace there, the changes take effect in the same way.

The server always connects normally and the client can always connect normally. Only the publisher does not.

It does not look like a corrupted database behavior for me.

Share this comment


Link to comment
Share on other sites

I looked for something on google on how to check if the database is corrupted.
I checked this command in database gamedata and it returned to me that everything is ok.

I do not know if it's the right command, but if it is, maybe it was an error, maybe it would have appeared.

 

dfa7f975991ec9280ff13e4df0bbd834.png


@jcsnider Is there anything I can do to fix it?

Share this comment


Link to comment
Share on other sites
1 minute ago, jcsnider said:

Delete the Editor/Resources/Mapcache.db file. 

It worked. Thank you.

Could you tell me why this mistake happens?
For me, if I know an error I can try to avoid it.

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×