obsidian/笔记文件/2.笔记/sqlite存在问题和修复.md

74 lines
5.4 KiB
Markdown
Raw Permalink Normal View History

2025-04-01 18:29:38 +08:00
#灵感
![[img_v3_02kt_1fb5e484-9202-4f12-bc3e-dd7ae3b2dehu.jpg]]
2025-04-11 21:47:05 +08:00
![[Pasted image 20250401140148.png]]
```
[2025-04-09 16:33:36] {
"Sys": "Android",
"Ver": "0.14.5",
"IP": "24.234.138.39",
"Model": "Maxwest MX-A63",
"Uid": "53542198857",
"Device": "60e499bc255db385dcba58b44958a5fc"
}
SQLiteException: database disk image is malformed
SQLite.SQLiteCommand.ExecuteNonQuery () (at <00000000000000000000000000000000>:0)
SQLite.SQLiteConnection.Execute (System.String query, System.Object[] args) (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.SQLiteManager.UpsertDataAsync (System.Collections.Generic.Dictionary`2[TKey,TValue] tableDataMap, System.String columnName) (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.SQLiteManager.UpsertDataAsync (System.Collections.Generic.Dictionary`2[TKey,TValue] tableDataMap, System.String columnName) (at <00000000000000000000000000000000>:0)
CGBU_SDK.SessionCache+<>c__DisplayClass27_0.<UpdateSQLiteCache>b__0 () (at <00000000000000000000000000000000>:0)
CGBU_SDK.SessionCache+<>c__DisplayClass27_0.<UpdateSQLiteCache>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue.ProcessQueue () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
--- End of stack trace from previous location where exception was thrown ---
CGBU_SDK.SessionCache+<>c__DisplayClass27_0.<UpdateSQLiteCache>b__0 () (at <00000000000000000000000000000000>:0)
CGBU_SDK.SessionCache+<>c__DisplayClass27_0.<UpdateSQLiteCache>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue.ProcessQueue () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
--- End of stack trace from previous location where exception was thrown ---
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue.ProcessQueue () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
--- End of stack trace from previous location where exception was thrown ---
Cysharp.Threading.Tasks.UniTaskCompletionSource`1[T].GetResult (System.Int16 token) (at <00000000000000000000000000000000>:0)
CGBU_SDK.SessionCache.UpdateSQLiteCache () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () (at <00000000000000000000000000000000>:0)
Cysharp.Threading.Tasks.UniTaskCompletionSource`1[T].TrySignalCompletion (Cysharp.Threading.Tasks.UniTaskStatus status) (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue+<>c__DisplayClass7_0.<EnqueueTask>b__0 () (at <00000000000000000000000000000000>:0)
SQLite4Unity3d.TaskQueue.ProcessQueue () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <00000000000000000000000000000000>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <00000000000000000000000000000000>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <00000000000000000000000000000000>:0)
[2025-04-09 16:33:36] {
"Sys": "Android",
"Ver": "0.14.5",
"IP": "2607:fb91:1ee2:92c2:1d06:6a14:3704:fa2",
"Model": "motorola moto e6 (XT2005DL)",
"Uid": "29057263195",
"Device": "b6e46749ab02a9f03294b0eaa707ff17"
}
Creature1:2405: attempt to index a boolean value (field 'mVisitorInfo')
stack traceback:
LGReporter:59: in function 'debug.traceback'
[C]: in metamethod 'newindex'
Creature1:2405: in method 'SetMountAsset'
Creature1:2382: in method 'MountAssetActionStart'
Creature1:2361: in function <Creature1:2360>
f:SetMountAsset--l:4
v pMountAssetID:10001.000000
f:MountAssetActionStart--l:5
f:unknown--l:6
```