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

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

Open
crowbarsolutions opened this issue Jul 3, 2024 · 1 comment
Open

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

crowbarsolutions opened this issue Jul 3, 2024 · 1 comment

Comments

@crowbarsolutions
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants