-
-
Notifications
You must be signed in to change notification settings - Fork 345
Could not find a part of the path 'C:\Users\name\Appdata\Local\Temp\CdFileMgr\02a3e06-bc35-40.json'. #2342
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
Comments
Interesting. Does this happen every time, or was it a one-off? Can you please check whether these folders exist?
|
Yeah all of those folders exist sorry for the late reply |
Thanks, what about C:\Users\name\Appdata\Local\Temp\CdFileMgr ? |
Oh no it's not there |
How do I get it back there? |
That's quite strange! The Transactions library attempts to create that folder if it doesn't exist: As far as I know, there is nothing that would stop that call from succeeding, since you would always have access to your own Appdata\Local\Temp folder. Maybe one of those Windows Defender type things? You could try creating the folder yourself in Windows Explorer:
|
Creating the folder seems to have fixed it (even if it's empty) |
Even after creating the folder previously, I added 2 new mods today, and it threw this error again. Manually adding the folder fixed it, again. Adding and removing previously cached/installed mods did not trigger this error. |
Thanks, @GargamelKSP, that's a helpful clue. It means that something is deleting the folder, not just failing to create it. Can you please check whether you have this "Storage Sense" thing turned on, and/or "Delete temporary files that my apps aren't using"? Maybe Windows 10 is deleting it in a scheduled background task: |
Nope, had to check, but it's turned off. |
Downloading and installing new mods while CKAN is still open from a manual fix earlier, error is not thrown. |
Closing Ckan, reopening it, and DL and installing new mods also did not throw an error this time. Previous (second) error was after a reboot. |
Running CKAN in administrator mode fixes this for me. |
Why would you do that? Do you not care about your PC becoming part of some bot army, using up all your CPU resources? |
I haven't looked at the code that much, but: It only checks to see if the folder is there when the TxFileManager is created. But this happens hours after it was created. I'm guessing that it creates it when you first go to the web, and relies on it being there for the duration of the session |
Good call, so maybe we can work around this by changing how and when we create |
I'll leave it in your hands |
Suffice to say, I would really like to see this fixed. It's very annoying to have to close and reopen CKAN every few hours |
Background
CKAN Version:
1.24.0
KSP Version:
1.3.1.1819
Operating System:
Windows 10
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No.
Problem
What steps did you take in CKAN?
Was installing mods: EVE, Scatterer, SVE, Science Full reward, Science alert
What did you expect to happen?
Mods being installed
What happened instead?
Screenshots:


*Progress bar is stuck at 70%
CKAN error codes (if applicable):
The text was updated successfully, but these errors were encountered: