thomasgraham18 / Fallout76-QuickConfiguration

Change *.ini settings and install mods.
https://www.nexusmods.com/fallout76/mods/546
MIT License
14 stars 0 forks source link

System.IO.DirectoryNotFoundException - Nexus - Mod Manager Download #1

Closed jdadian closed 4 months ago

jdadian commented 4 months ago

Error message System.AggregateException: One or more errors occurred.

**** System Info **** Operating system: Windows 11 64-bit Program version: 1.12.6 User agent: Fo76QuickConfiguration/1.12.6 (Windows NT 10.0.22631.0; x64) .NETFramework/4.7.2 Running as admin: No System culture: English (United States) App locale: en-US Game edition: Steam

**** Stack Trace **** If any files are listed (like "at ... in ...*.cs:line 123"): Those are files on my computer, so don't worry if you can't find them.

System.AggregateException: One or more errors occurred. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Fo76ini.Mods.ModInstallations.DownloadFile(String url, String path, Action1 ProgressChanged) in X:\Repos\Fo76\Fo76ini\Mods\ModInstallations.cs:line 263 at Fo76ini.Mods.ModInstallations.InstallRemote(ManagedMods mods, String nxmLinkStr, Boolean useSourceBA2Archive, Action1 ProgressChanged) in X:\Repos\Fo76\Fo76ini\Mods\ModInstallations.cs:line 220 at Fo76ini.FormMods.<>c__DisplayClass93_0.b__0() in X:\Repos\Fo76\Fo76ini\Forms\FormMods\FormMods.cs:line 1207 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

** Inner Exception ** System.Net.WebException: An exception occurred during a WebClient request.

** Inner Exception ** System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\Games\Steam\steamapps\common\Fallout76\Quick Configuration\Downloads\Nuka Label Fix (BA2)-1260-1-0-1639442043.7z'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.Net.WebClient.DownloadFileAsync(Uri address, String fileName, Object userToken)


After enabling "Associate with 'Mod Manager Download' links", and clicking the related download button on the nexus, QC app freezes on the downloading screen and throws the error shown above.

thomasgraham18 commented 4 months ago

Unable to reproduce with given steps.

Please try shortening the path to the utility, ie:

'F:\Games\Steam\steamapps\common\Fallout76\QC'

instead of

'F:\Games\Steam\steamapps\common\Fallout76\Quick Configuration'.

You can also try running as admin, or please verify you selected the correct path when launching the program for the first time.

Example:

image

jdadian commented 4 months ago

Thank you, shortening the path solved my issue!