-
-
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
Error upgrading with leftover files files #1688
Comments
Duplicate of #1367? |
Kind of? That issue recommends a work around of keeping upgrades/installs separate. This issue is when I was only upgrading 4 mods. |
My mistake I didn't read this as well as I should have originally. Are you running KSP at the same time as CKAN? 2 instances of CKAN? Anything else that might be tying up files like an anti-virus? |
Nothing else major running. I've cleaned the temp files too. |
After forking the code and stepping through, it appears ModuleInstaller:Uninstall file_transaction.Delete() randomly doesn't like actually deleting the files. There seems to be no reason for it. Not specific formats/attributes/file size. I was curious to note the in built FileSystemObject wasn't used. Edit: After doing some stepping through the code including the Transaction File Manager in VS2013, Perhaps ASync is too slow? |
Hey @PiggyWhiskey can you check to see if this is OS dependant? Perhaps this doesnt' happen in Linux/older version of Windows? My linux gaming machine decided to throw a fit and toast its board, so I can't test myself. I'm wondering since this is reported not-so-often, that it might be OS dependant and since 90% of windows users keep my business running, they probably aren't going to be reporting issues here. |
@Sakata-MC Unfortunately I don't have any other OS's apart from Windows 10. I'm not sure I have the skills/knowledge to install a Linux OS for a Dual Boot |
@plague006 , as the issue with these temp files is the deletion of old mods before upgrading caused by the Transaction Manager, would it be better to change it to just using .NET File management? That will make the program fully functional and useful and allows you to work on fixing the ASync nature of the Transaction Manager easier. Also, the Transaction Manager temp file issue is because it's trying to keep a backup of the files to undo, but that would never bee needed because we've already successfully downloaded the new mod. |
@PiggyWhiskey you're pinging the wrong person. I'm not a coder, I'm a metadata maintainer. I simply pitch in with issues when and where I can. |
Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automaically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it! |
CKAN v1.16.1-0-g2e91715 (beta)
KSP 1.1.1
Windows 10
Attempting to update Kerbal Engineer Redux from 1.1.0.2 to 1.1.1.0
Select Update and Apply
Status Log shows
Attempting a second time worked.
And then upgrading another mod crashed with temp file error
What I've found is, if the second install attempt works, the next install/upgrade will cause the temp file crash.
The other option is after the failed install (with the leftover file error) CKAN will crash with the Temp File error.
The text was updated successfully, but these errors were encountered: