ElectronicObserverEN / ElectronicObserver

Electronic Observer is a game viewer for Kantai Collection.
Other
81 stars 19 forks source link

Api file saving error: SQLite Error 11 #414

Closed Jack-of-spade closed 10 months ago

Jack-of-spade commented 10 months ago

度々、以下のエラーメッセージが出るので対処方法を教えてください。


[2023/11/18 12:02:24][3] : Api file saving error: SQLite Error 11: 'database disk image is malformed'. at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at ElectronicObserver.Services.ApiFileService.ApiFileService.SaveApiData(String apiName, String requestBody, String responseBody) in F:\ElectronicObserver\ElectronicObserver\Services\ApiFileService\ApiFileService.cs:line 115 at ElectronicObserver.Services.ApiFileService.ApiFileService.SaveApiData(String apiName, String requestBody, String responseBody) in F:\ElectronicObserver\ElectronicObserver\Services\ApiFileService\ApiFileService.cs:line 115 at ElectronicObserver.Services.ApiFileService.ApiFileService.ProcessApiDataAsync() in F:\ElectronicObserver\ElectronicObserver\Services\ApiFileService\ApiFileService.cs:line 70

myangelkamikaze commented 10 months ago

Renaming/deleting ElectronicObserver.sqlite in the Record folder and restarting 七四式 should fix it. If you can, upload the broken sqlite file somewhere so we can investigate what the problem could be.

Jack-of-spade commented 10 months ago

"ElectronicObserver.sqlite"をリネーム/削除すると"改修計画"に入力していた内容が消えますが、exportする方法はありますか?

myangelkamikaze commented 10 months ago

Yeah, that data is stored in there. If you can send us the ElectronicObserver.sqlite we can try to fix it. Or if you prefer to do it yourself, search the internet on how to restore an sqlite file.

Jack-of-spade commented 10 months ago

解決しました。 Thank you for your support.