Giter Site home page Giter Site logo

Comments (4)

dgp-bot avatar dgp-bot commented on July 28, 2024

device_id: 142B7FE807BE1FC30C5B8C874F397C57

Exception Data:
----------------------------------------
System.IO.IOException: The process cannot access the file 'C:\Users\ASUS\Documents\Hutao\UpdateCache\Snap.Hutao.msix' 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.Core.IO.Hashing.SHA256.HashFileAsync(String filePath, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Core\IO\Hashing\SHA256.cs:line 12
   at Snap.Hutao.Service.Update.UpdateService.CheckUpdateCacheSHA256Async(String filePath, String remoteHash, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 109
   at Snap.Hutao.Service.Update.UpdateService.CheckForUpdateAndDownloadAsync(IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 65
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 64
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 57
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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.IOException: The process cannot access the file 'C:\Users\ASUS\Documents\Hutao\UpdateCache\Snap.Hutao.msix' 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.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Snap.Hutao.Core.IO.Http.Sharding.HttpShardCopyWorkerOptions`1.GetFileHandle() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Sharding\HttpShardCopyWorkerOptions.cs:line 29
   at Snap.Hutao.Core.IO.Http.Sharding.HttpShardCopyWorker`1..ctor(HttpShardCopyWorkerOptions`1 options) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Sharding\HttpShardCopyWorker.cs:line 31
   at Snap.Hutao.Core.IO.Http.Sharding.HttpShardCopyWorker`1.CreateAsync(HttpShardCopyWorkerOptions`1 options) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Sharding\HttpShardCopyWorker.cs:line 54
   at Snap.Hutao.Service.Update.UpdateService.DownloadUpdatePackageAsync(HutaoVersionInformation versionInformation, String filePath, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 137
   at Snap.Hutao.Service.Update.UpdateService.CheckForUpdateAndDownloadAsync(IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 70
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 64
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 57
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gqlgajyq8rir7ot7\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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.Net.Http.HttpIOException: The response ended prematurely, with at least 4194304 additional bytes expected. (ResponseEnded)
   at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at Snap.Hutao.Core.IO.Http.Sharding.HttpShardCopyWorker`1.<>c__DisplayClass10_0.<<CopyAsync>g__CopyShardAsync|1>d.MoveNext() in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Sharding\HttpShardCopyWorker.cs:line 82
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Snap.Hutao.Service.Update.UpdateService.DownloadUpdatePackageAsync(HutaoVersionInformation versionInformation, String filePath, IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 128
   at Snap.Hutao.Service.Update.UpdateService.CheckForUpdateAndDownloadAsync(IProgress`1 progress, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 69
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 64
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 57
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-gtnlccxsdruvqumu\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   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()

from snap.hutao.

halointernet avatar halointernet commented on July 28, 2024

powershell重新安装后,在开始菜单只能管理员权限启动

from snap.hutao.

halointernet avatar halointernet commented on July 28, 2024

已修复系统问题

from snap.hutao.

github-actions avatar github-actions commented on July 28, 2024

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.

from snap.hutao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.