GitHub-TC / EmpyrionScripting

Displays various informations directly and live on LCD screens and will support conveyor and construction control
GNU General Public License v3.0
34 stars 5 forks source link

Console flood #19

Closed yaatt closed 1 year ago

yaatt commented 1 year ago

Describe the bug errors flood on console. Game version 1.8. ES version 11.1.5

23-10:41:07.553 17_41 -LOG- {EmpyrionNetAPITools} ConfigurationManager save 'C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Client/../Saves/Games/XxX-221023-0040\Mods\EmpyrionScripting\Configuration.json' error System.IO.IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Saves\Games\XxX-221023-0040\Mods\EmpyrionScripting\Configuration.json
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <6073cf49ed704e958b8a66d540dea948>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <6073cf49ed704e958b8a66d540dea948>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <6073cf49ed704e958b8a66d540dea948>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool)
  at System.IO.File.CreateText (System.String path) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0 
  at EmpyrionNetAPITools.ConfigurationManager`1[T].Save (System.Boolean changeDetection) [0x000df] in <9d4d71602ad64a66a86796d4d68e5a70>:0 
23-10:41:07.554 17_41 -LOG- {EmpyrionNetAPITools} ConfigurationManager saved 'C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Client/../Saves/Games/XxX-221023-0040\Mods\EmpyrionScripting\Configuration.json'
etmoonshade commented 1 year ago

I reckon you'll get an official response at some point, but I reported the same problem via the forums, and it's supposedly fixed with the release from about 30 minutes ago.

yaatt commented 1 year ago

Thank you very much. No more logs of hundreds of megabytes.