Skip to content

Directory %TEMP%\CdFileMgr not exist cause install mod fail #2474

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

Closed
ghost opened this issue Jul 11, 2018 · 2 comments
Closed

Directory %TEMP%\CdFileMgr not exist cause install mod fail #2474

ghost opened this issue Jul 11, 2018 · 2 comments
Labels
Duplicate Duplicate of another issue Windows Issues specific for Windows

Comments

@ghost
Copy link

ghost commented Jul 11, 2018

Background

CKAN Version:
1.25.1

KSP Version:
1.4.4.2215

Operating System:
Windows 10 1803 Pro x64

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No

Problem

What steps did you take in CKAN?
Select a mod, install

What did you expect to happen?
Install success

What happened instead?
Download success, then throw error

System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Zch\AppData\Local\Temp\CdFileMgr\b5565c89-ff5d-4a.json”的一部分。

I manually create %TEMP%\CdFileMgr folder, then everything goes well

CKAN error codes (if applicable):
Full stack trace:

************** 异常文本 **************
System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Zch\AppData\Local\Temp\CdFileMgr\b5565c89-ff5d-4a.json”的一部分。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   在 ChinhDo.Transactions.WriteAllTextOperation.Execute()
   在 ChinhDo.Transactions.TxFileManager.EnlistOperation(IRollbackableOperation operation)
   在 CKAN.RegistryManager.Save(Boolean enforce_consistency)
   在 CKAN.ModuleInstaller.InstallList(ICollection`1 modules, RelationshipResolverOptions options, IDownloader downloader)
   在 CKAN.Main.InstallMods(Object sender, DoWorkEventArgs e)
   在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
@politas
Copy link
Member

politas commented Jul 11, 2018

Hmm. Normally, that folder gets created automatically without any problem.

Sorry, something went wrong.

@HebaruSan HebaruSan added the Windows Issues specific for Windows label Jul 11, 2018
@HebaruSan
Copy link
Member

This is a duplicate of #2342 (as was #2461). Apparently this is affecting a few people, but so far there are no clues as to the cause. If you're able to figure out why the folder creation fails, please post comments on #2342.

Sorry, something went wrong.

@HebaruSan HebaruSan added the Duplicate Duplicate of another issue label Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue Windows Issues specific for Windows
Projects
None yet
Development

No branches or pull requests

2 participants