Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

Hi all, i have following error 

An error occorred while importing games: SQLite Error 11: 'database disk image is malformed'.

SQLite Error 11: 'database disk image is malformed'.

App:     LaunchBox
Version: 13.20
Theme:   Default
Type:    Microsoft.Data.Sqlite.SqliteException
Site:    Void ThrowExceptionForRC(Int32, SQLitePCL.sqlite3)
Source:  Microsoft.Data.Sqlite

   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Unbroken.LaunchBox.LocalDb.GamesDb.GetValidPlatformNameAsync(String name, Nullable`1 cancelToken)
   at Unbroken.LaunchBox.LocalDb.GamesDb.GetValidPlatformNameAsync(String name, Nullable`1 cancelToken)
   at Unbroken.LaunchBox.LocalDb.GamesDb.GetPlatformByNameAsync(String name, Nullable`1 cancelToken)
   at Unbroken.LaunchBox.Windows.Monitoring.GameDirectoryMonitor.StartWatching()
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.ResolveNotificationDescriptor(Object)
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.FindMultipartAttribute()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ReflectMultipartMessage(Object)
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ChangeStatelessParameter()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

Recent Log:

   12:39:08 Exception

How can i fix this?

Kind regards

Edited by boiydiego
  • 2 weeks later...
Posted
32 minutes ago, Retrovania64 said:

Hello how did you manage to fix this? I just got the same error last night as well....

I'm not sure how they fixed it, but you can try force updating the metadata file.

Tools < Download < Force Update Games Database Metadata...

Posted
6 hours ago, JoeViking245 said:

I'm not sure how they fixed it, but you can try force updating the metadata file.

Tools < Download < Force Update Games Database Metadata...

That seems to have done the trick thanks for the help! And also your personal launchbox tools are amazing as well!

I think the error also originated when I had to shutdown my system when it was frozen and Launchbox was still running.

  • Like 1
Posted
5 hours ago, Retrovania64 said:

That seems to have done the trick thanks for the help! And also your personal launchbox tools are amazing as well!

I think the error also originated when I had to shutdown my system when it was frozen and Launchbox was still running.

Thanks!  And glad it awas an easy fix.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...