Cities: Skylines

Cities: Skylines

TM:PE 11.9.1.0 STABLE (Traffic Manager: President Edition)
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
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!
< >
Viser 1-8 af 8 kommentarer
Krzychu1245  [udvikler] 17. juli 2020 kl. 14:15 
Troubleshooting[github.com]
LolBatmanHuntsU 29. apr. 2021 kl. 15:39 
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.
Sidst redigeret af LolBatmanHuntsU; 29. apr. 2021 kl. 15:39
ALMS1315 17. juni 2021 kl. 20:00 
Tengo el mismo problema, encontraste la solución?
One1eks1 8. juli 2021 kl. 22:30 
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. aug. 2021 kl. 15:07 
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  [udvikler] 10. aug. 2021 kl. 10:43 
The reason might be completely different. Please check this thread[github.com] for more info.
cheshire.panther 14. sep. 2021 kl. 19:38 
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. kl. 3:57 
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).
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50