U-C-S / Hurl

Choose the browser on the click of a link
MIT License
279 stars 10 forks source link

Ruleset Manager: Unknown Error - Trying to open Hurl.RulesetManager.exe in wrong path #102

Closed war59312 closed 6 months ago

war59312 commented 6 months ago

Ruleset Manager: Unknown Error - Trying to open Hurl.RulesetManager.exe in wrong path:

image

I simply had opened a link and clicked on the new Rule Manager icon in Hurl and I got this error.

It's trying to open in the current path instead of the installed directory, as in C:\Program Files (x86)\Hurl\Hurl.RulesetManager.exe

If I run C:\Program Files (x86)\Hurl\Hurl.RulesetManager.exe directly I get this error:

image

Then it just closes.

U-C-S commented 6 months ago

If I run C:\Program Files (x86)\Hurl\Hurl.RulesetManager.exe directly I get this error:

if possible, can you post your UserSettings.json file contents here

U-C-S commented 6 months ago

Can you open Hurl normally and then manually open the C:\Program Files (x86)\Hurl\Hurl.RulesetManager.exe once again.

This error only happens because there is no UserSettings.json file at C:\Users\<user>\AppData\Roaming\Hurl, which is created automatically when Hurl opens for the first time.

U-C-S commented 6 months ago

Unknown Error - Trying to open Hurl.RulesetManager.exe in wrong path:

This is a weird one, Am taking a look at it. In this case, I know how to fix it from code, but don't know what's causing it.

war59312 commented 6 months ago

%AppData%\Hurl\UserSettings.json does exist.

Contents:

{
  "LastUpdated": "2/24/2024 11:42:22 AM",
  "Browsers": [
    {
      "Name": "Microsoft Edge",
      "ExePath": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
    },
    {
      "Name": "Firefox",
      "ExePath": "C:\\Apps\\FirefoxPortable\\FirefoxPortable.exe"

    }
  ]
}
U-C-S commented 6 months ago

Weird again, I cant reproduce either.

But will fix them in next small patch. Thanks!

war59312 commented 6 months ago

Confirmed fixed with 0.8.3.

TY!

U-C-S commented 6 months ago

Thanks for reporting 😊