DGP-Studio / Snap.Hutao

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

[Bug]: 502錯誤導致無法更新祈願紀錄 #1871

Closed SSB-ARFCN closed 1 month ago

SSB-ARFCN commented 1 month ago

检查清单

Windows 版本

22H2(OS組建19045.3803)

Snap Hutao 版本

1.10.7.0

设备 ID

26A3CF99630E579F6135632638122B4A

问题分类

祈愿记录

发生了什么?

在祈願紀錄功能 點選更新-URL更新 彈出502錯誤對話方塊 螢幕擷取畫面 (209) 螢幕擷取畫面 (210) 完證過程視頻 https://www.mediafire.com/file/o0syrv88h541qvm/Genshin+Impact+2024.07.30+-+14.10.41.02.mp4/file

你期望发生的行为?

正常更新祈願紀錄

最后一步

dgp-bot[bot] commented 1 month ago

device_id: 26A3CF99630E579F6135632638122B4A

Exception Data:
[string]:Description:找不到與此錯誤碼關聯的文字。

[string]:RestrictedDescription:Layout cycle detected.  Layout could not complete.
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:True
----------------------------------------
Microsoft.UI.Xaml.LayoutCycleException: 找不到與此錯誤碼關聯的文字。

Layout cycle detected.  Layout could not complete.
Exception Data:
----------------------------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Genshin Impact\Genshin Impact game\GenshinImpact_Data\Persistent\ScriptVersion'.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.AsyncWindowsFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.AsyncStreamReader(String path, Encoding encoding)
   at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)
   at Snap.Hutao.ViewModel.Game.LaunchGameShared.HandleConfigurationFileNotFoundAsync() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameShared.cs:line 71
   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 1 month ago

你需要清除缓存,重新刷新

github-actions[bot] commented 1 week 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.