fiddyschmitt / SimpleKVM

Use multiple computers using one set of monitors, mouse and keyboard
797 stars 15 forks source link

Crashes at startup: Could not find file rules.json #23

Open crowbarsolutions opened 1 week ago

crowbarsolutions commented 1 week ago

Application: SimpleKVM(1).exe CoreCLR Version: 8.0.123.58001 .NET Version: 8.0.1 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException: Could not find file 'C:\Users\poop\Downloads\rules.json'. File name: 'C:\Users\poop\Downloads\rules.json' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) at System.IO.File.ReadAllText(String path, Encoding encoding) at SimpleKVM.Form1.LoadRules() at SimpleKVM.Form1..ctor() at SimpleKVM.Program.Main()

Using v2.0.0. As a first time user, it looks like it's looking for a rules.json file that I don't have? I installed an earlier version that generated it, and was then able to use v2.

fiddyschmitt commented 1 week ago

Yikes! Thanks Crowbar. I'll fix that up tonight