KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.99k stars 347 forks source link

[Bug] When installing RSS-16k Textures, System.IO.IOException: The process cannot access the file 'c:\program files (x86)\steam\SteamApps\common\Kerbal Space Program\GameData\RSS-Textures\EarthColor.dds' because it is being used by another process #3227

Closed Joey-Destroyah closed 3 years ago

Joey-Destroyah commented 3 years ago

Background

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

Problem

Describe the bug An Error window appears with this message

Unhandled exception:
System.Transactions.TransactionException: Failed to roll back. ---> System.IO.IOException: The process cannot access the file 'c:\program files (x86)\steam\SteamApps\common\Kerbal Space Program\GameData\RSS-Textures\EarthColor.dds' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at ChinhDo.Transactions.FileManager.Operations.SingleFileOperation.Rollback()
   at ChinhDo.Transactions.FileManager.TxEnlistment.Rollback(Enlistment enlistment)
   --- End of inner exception stack trace ---
   at ChinhDo.Transactions.FileManager.TxEnlistment.Rollback(Enlistment enlistment)
   at System.Transactions.VolatileEnlistmentAborting.EnterState(InternalEnlistment enlistment)
   at System.Transactions.TransactionStateAborted.EnterState(InternalTransaction tx)
   at System.Transactions.EnlistableStates.Timeout(InternalTransaction tx)
   at System.Transactions.Bucket.TimeoutTransactions()
   at System.Transactions.BucketSet.TimeoutTransactions()
   at System.Transactions.TransactionTable.ThreadTimer(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers() 

Steps to reproduce

Expected behavior It should install the mod.

Screenshots (if applicable)

CKAN error code (if applicable):

PLACE CODE HERE !
HebaruSan commented 3 years ago

Is the game still running?

HebaruSan commented 3 years ago

... worked fine for me, for what it's worth.

image

netkan-bot commented 3 years ago

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 automatically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it!