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

Another sharing violation error on TMPE.log #566

Closed
originalfoo opened this issue Nov 23, 2019 · 1 comment
Closed

Another sharing violation error on TMPE.log #566

originalfoo opened this issue Nov 23, 2019 · 1 comment
Labels
BUG Defect detected EXTERNAL Mod conflict or other external factor

Comments

@originalfoo
Copy link
Member

The first report of this error was in issue #563, by different user who was using v11-alpha9 from workshop.

This new error is via discord chat from user Bp101697, who is using v10.20 STABLE from workshop:

This message sometimes appears when I save the game. How can I fix this?
The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\583429740 [CSUtil.CameraControl.dll, CSUtil.Commons.dll, TMPE.GenericGameBridge.dll, TMPE.CitiesGameBridge.dll, TrafficManager.dll] has caused an error [ModException]

Details:
System.IO.IOException: Sharing violation on path C:\Program Files (x86)\Steam\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

I don't think the error is due to anything changing in TM:PE. There has recently been a game update (where main menu UI was updated) and also a Steam common distro update, so maybe some of that stuff has caused these recent issues with log file?

@originalfoo originalfoo added BUG Defect detected triage Awaiting issue categorisation labels Nov 23, 2019
@originalfoo originalfoo added awaiting feedback More information required and removed triage Awaiting issue categorisation labels Nov 30, 2019
@originalfoo
Copy link
Member Author

It's caused by moving game to different folder or problems with Steam installation - for more info, see Troubleshooting guide

Tagging #292, #629

@originalfoo originalfoo added EXTERNAL Mod conflict or other external factor and removed awaiting feedback More information required labels Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Defect detected EXTERNAL Mod conflict or other external factor
Projects
None yet
Development

No branches or pull requests

1 participant