DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
4.1k stars 192 forks source link

[Bug]: 抽卡记录无法获取,获取途中闪退 #1568

Closed AnRan-c closed 7 months ago

AnRan-c commented 7 months ago

检查清单

Windows 版本

22635.3495

Snap Hutao 版本

1.9.9.0

设备 ID

AB6EC9B5E0553C39300BEE6C4CC4B221

问题分类

祈愿记录

发生了什么?

无法获取祈愿记录,获取记录会导致软件崩溃

你期望发生的行为?

No response

最后一步

dgp-bot[bot] commented 7 months ago

device_id: AB6EC9B5E0553C39300BEE6C4CC4B221

Exception Data:
----------------------------------------
System.Collections.Generic.KeyNotFoundException: The given key '阿蕾奇诺' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemByNameAndType(String name, String type) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 46
   at Snap.Hutao.Service.GachaLog.GachaLogFetchContext.AddItem(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogFetchContext.cs:line 131
   at Snap.Hutao.Service.GachaLog.GachaLogService.FetchGachaLogsAsync(GachaLogQuery query, Boolean isLazy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 200
   at Snap.Hutao.Service.GachaLog.GachaLogService.RefreshGachaLogAsync(GachaLogQuery query, RefreshStrategy strategy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 130
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshInternalAsync(RefreshOption option) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 180
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.Collections.Generic.KeyNotFoundException: The given key '阿蕾奇诺' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemByNameAndType(String name, String type) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 46
   at Snap.Hutao.Service.GachaLog.GachaLogFetchContext.AddItem(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogFetchContext.cs:line 131
   at Snap.Hutao.Service.GachaLog.GachaLogService.FetchGachaLogsAsync(GachaLogQuery query, Boolean isLazy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 200
   at Snap.Hutao.Service.GachaLog.GachaLogService.RefreshGachaLogAsync(GachaLogQuery query, RefreshStrategy strategy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 130
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshInternalAsync(RefreshOption option) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 180
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.Collections.Generic.KeyNotFoundException: The given key '阿蕾奇诺' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Snap.Hutao.Service.GachaLog.GachaLogServiceMetadataContext.GetItemByNameAndType(String name, String type) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogServiceMetadataContext.cs:line 46
   at Snap.Hutao.Service.GachaLog.GachaLogFetchContext.AddItem(GachaLogItem item) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogFetchContext.cs:line 131
   at Snap.Hutao.Service.GachaLog.GachaLogService.FetchGachaLogsAsync(GachaLogQuery query, Boolean isLazy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 200
   at Snap.Hutao.Service.GachaLog.GachaLogService.RefreshGachaLogAsync(GachaLogQuery query, RefreshStrategy strategy, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\GachaLogService.cs:line 130
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshInternalAsync(RefreshOption option) in D:\appveyor\project\Snap.Hutao.Project-acglpvn9aw3288cx\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 180
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Lightczx commented 7 months ago

主页公告麻烦你仔细阅读

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.