DGP-Studio / Snap.Hutao

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

[Bug]: 活动公告图片无法加载 #1882

Closed Latomoyocarl closed 1 month ago

Latomoyocarl commented 1 month ago

检查清单

Windows 版本

19045.4651

Snap Hutao 版本

1.10.7.0

设备 ID

CDBAE21A62486FEC7319FBBCFFAFAD64

问题分类

公告

发生了什么?

自从几日前的上个版本,胡桃的 api 和 homa 无法连接网络后,主页下游戏公告就一直无法加载,空荡一片。此次更新后,账号、便签、成就等功能恢复正常,公告依旧没有。于是按照说明解除了 loopback 限制,重新连接,公告并未恢复,此次更新后又做了一遍,也不行,开启和关闭代理的情况下都试过了。此间时有报错出现,按照手册排查后依然无济于事。所以这一次卸载后重新安装,可公告依旧无法加载,以及很长时间以后弹出网络问题报错。目前胡桃 loopback 已在代理中清除,不确定应用本体是否是这样的。我并未注册胡桃账号,只知道离线下即使报错,除去公告外也依旧其他功能正常。 1 2

你期望发生的行为?

启动后稍等片刻游戏公告加载完成并正常显示

最后一步

dgp-bot[bot] commented 1 month ago

device_id: CDBAE21A62486FEC7319FBBCFFAFAD64

Exception Data:
[string]:Description:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedDescription:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D): 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Extension.AppNotificationBuilderExtension.Show(AppNotificationBuilder builder, AppNotificationManager manager) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Extension\AppNotificationBuilderExtension.cs:line 18
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 118
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'reference.Window')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Core.LifeCycle.CurrentXamlWindowReferenceExtension.GetXamlRoot(ICurrentXamlWindowReference reference) in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\LifeCycle\CurrentXamlWindowReferenceExtension.cs:line 14
   at Snap.Hutao.Factory.ContentDialog.ContentDialogFactory.CreateForConfirmCancelAsync(String title, String content, ContentDialogButton defaultButton) in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 42
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 93
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 61
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 38
   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.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Genshin Impact\Genshin Impact Game\YuanShen_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-t183meqdaei7jimw\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()
github-actions[bot] commented 1 month ago

Probable Similar Topics

  1. 55% #1128
Lightczx commented 1 month ago

公告无法加载 与 api.snapgenshin.com 5xx 系列状态码为不同的问题,请分别提交Issues

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.