-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
[Bug] Cache path setting can be just a drive letter but it doesn't work #3801
Comments
Is your download folder configured to use the E: drive? Do you have an E: drive? |
Does the "Change..." button do anything? |
When i press Open, it opens the E:\ drive in file explorer |
OK, can you close CKAN and then run it from a command prompt like this (from whatever folder has your ckan.exe)?
... and then try the Reset button again? It looks like something is throwing an exception, and that would let us see it. |
Wilco |
(The "N files, M MB" string is a placeholder that's supposed to be overwritten with real info about your cache folder, so something's stopping it from getting to that point.) |
Oh, I didn't notice you're using powershell! Try this instead:
Forgot that PS adopted Unix's practice of not executing files in current dir by default. |
Now it's running! |
When trying to input a new directory the CMD doesn't react at all, no change, no new lines |
When i don't mess with the directory of the cache and reach that weird state where the line is empty, the installations just work it seems that any change to the cache directory bricks the program, but resetting it completely by deleting the CKAN localdata folder and reinstalling KSP fixes it |
edited to reflect the problem seems to stem from changing the download cache location |
Here is the json config file: {
"AutoStartInstance": null,
"DownloadCacheDir": "E:",
"CacheSizeLimit": null,
"RefreshRate": null,
"Language": "en-US",
"GameInstances": [
{
"Name": "Kerbal Space Program",
"Path": "F:/SteamLibrary/steamapps/common/Kerbal Space Program",
"Game": "KSP"
}
],
"AuthTokens": {},
"GlobalInstallFilters": []
} |
Background
Have you made any manual changes to your GameData folder (i.e., not via CKAN)? No
Problem
Installation fails every time for what ever mods used.
Steps to reproduce
It seems what causes the error during installation is changing the cache directory in the settings as shown in the picture:(Blue is before change, red after)
then i try to change the directory by just entering through the text box
at first it seems like it works, but do not be fooled, it's sneaky.
then after leaving and re-entering the settings page, this is what you get
you can no longer edit the download cache location with the change button or any button.
then when attempting to install a mod an error will be out put as so:
Access to the path 'E:\System Volume Information' is denied.
Error during installation!
If the above message indicates a download error, please try again. Otherwise, please open an issue for us to investigate.
If you suspect a metadata problem: https://github.com/KSP-CKAN/NetKAN/issues/new/choose
If you suspect a bug in the client: https://github.com/KSP-CKAN/CKAN/issues/new/choose
Be advised - if you first install a mod or two, then try to change the directory. it will all work as it should with no problems!
Expected behavior
Installation succesful
CKAN DOWNLOAD CACHE EDIT FAILURE.txt
The text was updated successfully, but these errors were encountered: