Cities: Skylines

Cities: Skylines

TM:PE 11.9.1.0 STABLE (Traffic Manager: President Edition)
 Este tema se ha marcado como fijo, por lo que probablemente sea importante
francesco.zamberlan 17 JUL 2020 a las 2:48 a. m.
A Mod caused an error [System.Exception]
Hi,

I have recently moved my C:S installation onto an external HD, and I am now trying to play it for the first time. When I activate the Mods, TM:PE gives back the following error:

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Sharing violation on path /Volumes/Archive/Steam Library/steamapps/common/Cities_Skylines/Cities.app/Contents/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.InfoFormat (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
at TrafficManager.TrafficManagerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

I have tried unsubscribing and subscribing to it again and again, to no avail. Could you please let me know what I can do, as I do not really know how to interpret the above?

Many thanks!
< >
Mostrando 1-8 de 8 comentarios
Krzychu1245  [desarrollador] 17 JUL 2020 a las 2:15 p. m. 
Troubleshooting[github.com]
LolBatmanHuntsU 29 ABR 2021 a las 3:39 p. m. 
Should anyone find themselves facing this issue and none of the solutions in the troubleshooting page work. Make sure windows defender (or any antivirus software) has not restricted access to the cities data
folder.
Última edición por LolBatmanHuntsU; 29 ABR 2021 a las 3:39 p. m.
ALMS1315 17 JUN 2021 a las 8:00 p. m. 
Tengo el mismo problema, encontraste la solución?
One1eks1 8 JUL 2021 a las 10:30 p. m. 
If you want you can go back to previous version by download

TMPE_11.5.1_STABLE.zip from github (Or older version)

copy and paste it on Steam workshop folder

(SteamLibrary\steamapps\workshop\content\255710\1637663252)

*Maybe different folder on your PC
francesco.zamberlan 9 AGO 2021 a las 3:07 p. m. 
The issue arises every time there is a new release/DLC addition to the main program: the macOS system identifies it as a new program and therefore verifies it, which leads to causing the problem. It also seems that on my system I cannot prevent the new software from quarantining.
Krzychu1245  [desarrollador] 10 AGO 2021 a las 10:43 a. m. 
The reason might be completely different. Please check this thread[github.com] for more info.
cheshire.panther 14 SEP 2021 a las 7:38 p. m. 
Can confirm I'm facing similar issue, after I *simlinked* dowser_Data to cities_Data

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "\.local\share\Steam\steamapps\common\Cities_Skylines\dowser_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.InfoFormat (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
at TrafficManager.TrafficManagerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

Jakren 11 MAR a las 3:57 a. m. 
Hello, in case anyone encounters this problem on MacOS, here is what worked for me. You need to allow full access to the drive in System settings -> Privacy and security -> Full disk access. I allowed access to both the Paradox launcher and Cities Skylines. You can simply drag-and-drop the game package that you can find via Browse local files into the menu in System settings. The mods are stored in a different folder, so the game needs access to the rest of your drive to load them (I assume).
< >
Mostrando 1-8 de 8 comentarios
Por página: 1530 50