Skip to content
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

System.IO.IOException: Sharing violation on path ...\TMPE.log #629

Closed
originalfoo opened this issue Jan 28, 2020 · 1 comment
Closed

System.IO.IOException: Sharing violation on path ...\TMPE.log #629

originalfoo opened this issue Jan 28, 2020 · 1 comment
Assignees
Labels
EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod wontfix Proposal rejected

Comments

@originalfoo
Copy link
Member

Solution

Potential causes (click links for solutions):

  1. Your disk is full
  2. You incorrectly moved the game to different drive
  3. The game does not have permission to write to the folder shown in the error message (search the error for TMPE.log and folder is shown in front of that). Make sure the game can read/write/delete/list/etc.

Just logging this to make it searchable for future reference:

The Mod D:\SteamLibrary\steamapps\workshop\content\255710\583429740 [TMPE.GenericGameBridge.dll, CSUtil.Commons.dll, TMPE.CitiesGameBridge.dll, TrafficManager.dll, CSUtil.CameraControl.dll] has caused an error [ModException]

Details:
System.IO.IOException: Sharing violation on path D:\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\TMPE.log
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.Error (System.String s) [0x00000] in <filename unknown>:0
at TrafficManager.State.SerializableDataExtension.OnSaveData () [0x00000] in <filename unknown>:0
at SerializableDataWrapper.OnSaveData () [0x00000] in <filename unknown>:0 
@originalfoo originalfoo added wontfix Proposal rejected EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod labels Jan 28, 2020
@originalfoo originalfoo self-assigned this Jan 28, 2020
@originalfoo
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod wontfix Proposal rejected
Projects
None yet
Development

No branches or pull requests

1 participant