rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.91k stars 156 forks source link

New Issue #917

Open Ally526 opened 5 months ago

Ally526 commented 5 months ago

Describe the bug A clear and concise description of what the bug is. Tried to scan library. Error occured: SQLite Error 13: 'database or disk is full'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.MoveNext() at Dinah.Core.Collections.Generic.IEnumerable_T_Ext.ToDictionarySafe[TKey,TSource](IEnumerable1 source, Func2 keySelector, WinnerEnum winner) at DtoImporterService.BookImporter.loadLocal_books(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\BookImporter.cs:line 51 at DtoImporterService.BookImporter.DoImport(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\BookImporter.cs:line 36 at DtoImporterService.ImporterBase1.Run[TResult](Func2 func, T param) in D:\a\Libation\Libation\Source\DtoImporterService\ImporterBase.cs:line 39 at DtoImporterService.LibraryBookImporter.DoImport(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\LibraryBookImporter.cs:line 24 at DtoImporterService.ImporterBase1.Run[TResult](Func2 func, T param) in D:\a\Libation\Libation\Source\DtoImporterService\ImporterBase.cs:line 39 at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at ApplicationServices.LibraryCommands.importIntoDbAsync(List1 importItems) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 324 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 apiExtendedfunc, Account[] accounts) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 143 at LibationWinForms.Form1.scanLibrariesAsync(Account[] accounts) in D:\a\Libation\Libation\Source\LibationWinForms\Form1.ScanManual.cs:line 77 To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I expected Libation to scan my library.

Screenshots SQLite Error 13: 'database or disk is full'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.MoveNext() at Dinah.Core.Collections.Generic.IEnumerable_T_Ext.ToDictionarySafe[TKey,TSource](IEnumerable1 source, Func2 keySelector, WinnerEnum winner) at DtoImporterService.BookImporter.loadLocal_books(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\BookImporter.cs:line 51 at DtoImporterService.BookImporter.DoImport(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\BookImporter.cs:line 36 at DtoImporterService.ImporterBase1.Run[TResult](Func2 func, T param) in D:\a\Libation\Libation\Source\DtoImporterService\ImporterBase.cs:line 39 at [Uploading _Log202405.zip…]() [Uploading _Log202405.zip…]() DtoImporterService.LibraryBookImporter.DoImport(IEnumerable1 importItems) in D:\a\Libation\Libation\Source\DtoImporterService\LibraryBookImporter.cs:line 24 at DtoImporterService.ImporterBase1.Run[TResult](Func2 func, T param) in D:\a\Libation\Libation\Source\DtoImporterService\ImporterBase.cs:line 39 at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at ApplicationServices.LibraryCommands.importIntoDbAsync(List1 importItems) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 324 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 apiExtendedfunc, Account[] accounts) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 143 at LibationWinForms.Form1.scanLibrariesAsync(Account[] accounts) in D:\a\Libation\Libation\Source\LibationWinForms\Form1.ScanManual.cs:line 77

Platform

Windows 11

Log Files Attach your Libation log file here.

rmcrackan commented 5 months ago

This sounds like your hard drive was filled up by the new books. See if you can move them to another drive and restart Libation.