Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 更新后无法正常启动 #2336

Closed
1 task done
mihy762 opened this issue Jan 2, 2025 · 6 comments
Closed
1 task done

[Bug]: 更新后无法正常启动 #2336

mihy762 opened this issue Jan 2, 2025 · 6 comments
Labels
area-LifeCycle App生命周期问题

Comments

@mihy762
Copy link

mihy762 commented Jan 2, 2025

Windows 版本

22000.1817

Snap Hutao 版本

1.12.8

设备 ID

CA59CAE75234713EDCEE8CAD64DC274A

问题分类

安装和环境

发生了什么?

从老版本(约3个月前)启动时应用内提示更新,由应用内更新并重新启动时出现问题,无法启动,后续卸载重新安装无法解决问题

Generated by Snap Hutao Diagnosis Tool

Windows version: 10.0.22000.1817
Public IP: 60.178.150.130
Your machine id: CA59CAE75234713EDCEE8CAD64DC274A

你期望发生的行为?

正常启动

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@mihy762 mihy762 added the priority:none Priority not set label Jan 2, 2025
@dgp-bot

This comment has been minimized.

@dgp-bot dgp-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@dgp-bot dgp-bot bot added the 需要更多信息 需要提交更多信息 label Jan 2, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 2, 2025

device_id: CA59CAE75234713EDCEE8CAD64DC274A

Exception Data:
----------------------------------------
System.IO.IOException: The process cannot access the file 'C:\Users\MIHUYOU\AppData\Local\Packages\60568DGPStudio.SnapHutao_wbnnev551gwxy\LocalCache\ImageCache\7F68E30FEC6ADDD7584DDAFABCD4EA0767B91B49' because it is being used by another process.
   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.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.OpenRead(String path)
   at Snap.Hutao.Service.BackgroundImage.BackgroundImageService.GetNextBackgroundImageAsync(BackgroundImage previous, CancellationToken token) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\Service\BackgroundImage\BackgroundImageService.cs:line 49
   at Snap.Hutao.ViewModel.MainViewModel.UpdateBackgroundCoreAsync(Boolean forceRefresh) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\ViewModel\MainViewModel.cs:line 68
   at Snap.Hutao.ViewModel.MainViewModel.UpdateBackgroundAsync() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\ViewModel\MainViewModel.cs:line 57
   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.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 C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\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 C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 58
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 123
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeOverrideAsync() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 67
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.InitializeAsync() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 48
   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()

@dgp-bot dgp-bot bot added the area-LifeCycle App生命周期问题 label Jan 2, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 2, 2025

Windows 11 Build 21H2 是一个过时的 Windows 版本。

Windows 10 生命周期

image

Snap Hutao 最低系统要求

  • Windows 10Build 19045 (22H2)
    • Build 19045 (22H2)
  • Windows 11 Build 22621 (22H2)
    • Build 22621 (22H2)
  • 低于上述版本可能会导致程序会有不可预知的错误

@dgp-bot dgp-bot bot removed 需要更多信息 需要提交更多信息 priority:none Priority not set labels Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Probable Similar Topics

  1. 50% [Bug]: 成就管理界面无法正常启动 #1387

@mihy762 mihy762 changed the title [Bug]: 在这里填写一个合适的标题 [Bug]: 更新后无法正常启动 Jan 2, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 2, 2025

标题已经修改

@dgp-bot dgp-bot bot reopened this Jan 2, 2025
@dgp-bot dgp-bot bot added the priority:none Priority not set label Jan 2, 2025
@Lightczx
Copy link
Member

Lightczx commented Jan 2, 2025

#2217

@Lightczx Lightczx closed this as completed Jan 2, 2025
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-LifeCycle App生命周期问题
Projects
None yet
Development

No branches or pull requests

2 participants