Closed DSakura207 closed 5 months ago
device_id: 2DA44F8264495636ACC5D4C0BC30C148
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 54
at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 107
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.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 54
at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 107
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:
----------------------------------------
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteConnectionInternal..ctor(SqliteConnectionStringBuilder connectionOptions, SqliteConnectionPool pool)
at Microsoft.Data.Sqlite.SqliteConnectionPool.GetConnection()
at Microsoft.Data.Sqlite.SqliteConnection.Open()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Create()
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)
at Snap.Hutao.Core.DependencyInjection.IocConfiguration.AddDbContextCore(IServiceProvider provider, DbContextOptionsBuilder builder) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Core\DependencyInjection\IocConfiguration.cs:line 51
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider, Action`2 optionsAction)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass17_0`1.<AddCoreServices>b__0(IServiceProvider p)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Snap.Hutao.Service.DailyNote.DailyNoteDbService.GetDailyNoteEntryIncludeUserListAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteDbService.cs:line 77
at Snap.Hutao.Service.DailyNote.DailyNoteService.RefreshDailyNotesCoreAsync(Boolean forceRefresh) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteService.cs:line 113
at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.RefreshAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 93
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()
别关后台
没关,不如说一直保持在非焦点状态。倒是每次开启程序的时候都会自动刷新。 如图所示。
在调整到4分钟的情况下等待至少8分钟,检查页面上的树脂刷新时间 @DSakura207
时间保持在启动程序的时刻不变。
94a96c76bc25e4a53353917332124236fcb85dd4 已修复此问题
包含解决该问题的程序版本 1.10.4 已发布。
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.
检查清单
Windows 版本
22631.3593
Snap Hutao 版本
1.10.3.0
设备 ID
2DA44F8264495636ACC5D4C0BC30C148
问题分类
实时便笺
发生了什么?
实时便笺不自动刷新。 用户账户位于美服。已经正常登录HoyoLab。 已经确认自动刷新为开启。无论如何调整时间间隔,便笺也不自动刷新。 可以确认并非API问题。当点击“立即刷新”时,能正确从服务器取得数据并弹出通知。
你期望发生的行为?
实时便笺能够自动刷新。
最后一步