-
-
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
CKAN complains about temp files when upgrading a mod and installing another one at the same time #1367
Comments
May be related to #801 |
I don't think so. @Postremus |
Okay, I cleared my temp file, issue doesn't seem to come up. Closing this, and it seems that it is related to #801 |
All right, I'm sick of this. Now it's holding onto a different temp file EVEN THOUGH my temp folder is merely 1MB |
facepalm Remind me NOT to click the close button |
Ugh. @pjf can you please reopen this? I didn't mean to click "comment and close" |
Thank you, I didn't mean to close it after I reopened it. |
I am able to reliably reproduce temp file issues by trying to both upgrade a mod and install a new one at the same time. Not sure if it's related. |
Yeah, usually when I install mods, I also just run through the upgrades. Strange |
Anyone? |
Can you Point the issue down to a specific mod? |
No, it's pretty broad. It usually comes up when I install a lot of mods AND upgrade a bunch of mods at the same time. |
I've had it occur with as little as a single new mod install and a single mod update in the same change list. |
Huh. Yeah, the issue is quite broad. |
@firefaced @squizzeak I am unable to reproduce this bug. Would you mind testing a dev version which may fix this issue? |
Sure |
https://dl.dropboxusercontent.com/u/46071056/CKAN/ckan.exe |
@plague006 I don't think that's relevant, TBH. It seems to not matter which mod is installed/upgraded, just that you upgrade and install mods at the same time. |
You're correct that it's not about which mods. I just provide information if it's available. |
Okay, that's reasonable, since people ask for ALL THE DETAILS |
Anybody? I REALLY just want to have CKAN manage mods properly. |
@firefaced @plague006 Does the .zip of the mod already exists in your CKAN/dowloads Folder before you install / update the mod? Does it still exists after the install / update ? |
@Postremus, it wouldn't matter, the ZIP file has a different name in each version. Also, the mods I've been installing in the tests were never in my cache. |
In my case the files weren't cached @Postremus, and the .zips are present after the transaction. |
Ok, ckan is srupid. ----- Ursprüngliche Nachricht ----- In my case the files weren't cached @Postremus, and the .zips are present after the transaction. |
@Postremus |
That was my mobil phone, not me. :) ----- Ursprüngliche Nachricht ----- @Postremus |
I know @Postremus |
@firefaced another dev version: |
Tried another install + upgrade with the dev version you just posted, @Postremus. Results are below. Install: Water Sounds Downloading "https://kerbalstuff.com/mod/1094/A visor for Valentina/download/1.01"
Downloading "https://kerbalstuff.com/mod/1094/A visor for Valentina/download/1.01"
|
Still getting this D: |
I'm also seeing this issue. Has anyone confirmed that it doesn't happen when only installing or only upgrading? I only see people confirming that is does happen when doing both. My initial guess was that AV software is locking the file based on the fact that it's a file that is created and then very soon after deleted. I've seen similar issues before. AV software is supposed to be nice about it, but many aren't. |
@Kemp-J The point of a temp file is to be used for a bit, then deleted. But AV could be doing that. Also, for others: Workaround for now is just not to install AND upgrade mods in one changeset. |
"Workaround for now is just not to install AND upgrade mods in one changeset." Could that not be the internal solution CKAN uses? What is to stop an update being done first then install mods once that has completely finished? If the issue is installing and upgrading at the same time then just don't do that by coding the 'apply changes' section of code to run twice, one for upgrade, one for install. Then it does not matter what causes the bug as the trigger for the cause is avoided. |
Still occurs. If this is going to be thrown under the bus as "won't fix", then make CKAN not allow the user to both select a mod to install while upgrades are selected. That should be doable with a few appropriately placed conditionals. At least until the issue is found and resolved -- noticed that this is being looked at despite the searched ones being listed 'closed'.
|
What makes you think this has been given a "won't fix" label? Look at the labels on this issue - Bug, CKAN.DLL, and urgent. There's a workaround, and we are giving out that advice until its gets fixed, but this is definitely going to be fixed. It's quite common in bug tracking systems to close off duplicates of accepted bug reports, retaining the one that has the most useful information. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Closing as probably fixed. If there's still an issue here, we'd need to start over collecting info about it anyway because almost none of the related code still works the same. |
When I download a large amount of mods, CKAN barfs, complaining that it can't access this ONE temp file.
The text was updated successfully, but these errors were encountered: