Skip to content

[C#]: 未知原因导致模组列表消失后无法重新生成 #3285

Description

@Sycxp

检查项 / Checklist

  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过 / I have searched the Issues page and confirmed that this bug has not been reported yet.
  • 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
  • 我确认正在使用当前更新分支的最新版 PCL CE,若不是,此 Issue 可能会被直接关闭(更新方式:启动器 设置-关于-软件更新 检查更新,或在 Releases 页面下载) / I confirm that I am using the latest PCL CE version on the current update channel. If not, this issue may be closed directly. To update, check for updates in Settings → About → Updates, or download the latest version from the Releases page.
  • 我确认会详细描述我所遇到的问题,并附上日志和截图,而不是随便填点东西敷衍了事 / I will describe the problem in detail, attach logs and screenshots, and avoid submitting vague or incomplete information.

描述 / Description

Image 如上图。

重现步骤 / Steps to Reproduce

具体原因位置。

日志与附件 / Logs & Attachments

(仅截取了相关日志)
[13:35:07.910] [INFO] [STA] [Control] 按下单选列表项:模组
[13:35:08.057] [INFO] [STA] [Loader] 加载器 Comp Resource List Loader 状态改变:Loading
[13:35:08.057] [INFO] [STA] [System] 已刷新 Mod 列表
[13:35:08.080] [INFO] [.NET TP Worker] [System] 欲读取的文件不存在,已返回空内容:C:\Users\pc202407\AppData\Local\Temp\PCLCE\Cache\LocalComp.json
[13:35:08.087] [DBG] [.NET TP Worker] Mod 列表加载失败:Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: HashCache'.
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 PCL.Core.Utils.Hash.HashCache._FindCacheEntryAsync(String fullPath)
at PCL.Core.Utils.Hash.HashCache._GetHashAsync(String filePath, IHashProvider provider, String algoName)
at PCL.ModLocalComp.LocalCompFile.get_ModrinthHash()
at PCL.ModLocalComp.CompResourceListLoad(LoaderTask`2 loader)
[13:35:08.088] [INFO] [.NET TP Worker] [Loader] 加载器 Comp Resource List Loader 状态改变:Failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions