Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
914 stars 134 forks source link

error: System.UnauthorizedAccessException #12673

Closed VortexFeedback closed 2 years ago

VortexFeedback commented 2 years ago

Application error

System

Platform win32 10.0.19044
Architecture x64
Application Version 1.6.5
Process renderer

Message

System.UnauthorizedAccessException

Title

Failed to install dependency

Context

gamemode = Skyrim Special Edition,Installing = Glorious Doors of Skyrim SE-32376-1-03-1584773006

Stack

   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)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.ReadAllBytes(String path)
   at Utils.FileSystem.ReadAllBytes(String filePath)
   at FomodInstaller.Interface.Mod.<>c__DisplayClass27_0.<GetScriptFile>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at FomodInstaller.Interface.Mod.GetScriptFile(Boolean validate)
   at FomodInstaller.Interface.Mod.Initialize(Boolean validate)
   at FomodInstaller.ModInstaller.Installer.Install(List`1 modArchiveFileList, List`1 stopPatterns, String pluginPath, String scriptPath, Object preset, Boolean validate, ProgressDelegate progressDelegate, CoreDelegates coreDelegate)
   at CallSite.Target(Closure , CallSite , Object )
   at ModInstallerIPC.Server.DispatchInstall(String id, JObject data)
   at ModInstallerIPC.Server.Dispatch(String id, JObject data)
   at ModInstallerIPC.Server.<>c__DisplayClass24_0.<<OnReceived>b__1>d.MoveNext()

Reported from:
Error
    at showError (C:\Program Files\Vortex\resources\app.asar\renderer.js:9295:202)
    at mApi.showErrorNotification (C:\Program Files\Vortex\resources\app.asar\renderer.js:8338:123)
    at C:\Program Files\Vortex\resources\app.asar\renderer.js:4366:102
    at tryCatcher (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

Reported by: ganayem

IDCs commented 2 years ago

duplicate of #12669