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

Cannot switch profile #14

Closed
kleinpetr opened this issue Dec 8, 2022 · 9 comments
Closed

Cannot switch profile #14

kleinpetr opened this issue Dec 8, 2022 · 9 comments

Comments

@kleinpetr
Copy link

I am not sure if this is directly related with the connector itself, of not feel free to move the issue, but out of nowhere the extension stopped working, when I inspect it, it shows these errors

image

Is there anything what I could try to do?

@MFAshby
Copy link

MFAshby commented Dec 28, 2022

I hit the same error. Had to improve the logging a bit to figure out what the actual problem was. logging:

Native error! 
Object { success: false, error: "Unable to find browser binary!", debug_msg: "BinaryNotFound(\"NoCrashReporterEnvVar(NotPresent)\")" }

which means the environment variable MOZ_CRASHREPORTER_RESTART_ARG_0 isn't being set by the browser (at least in my case it seems to be missing)

@MFAshby
Copy link

MFAshby commented Dec 28, 2022

It seems you can manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

This fixes it for me, but it's not very user friendly. I guess firefox changed something so that environment variable isn't passed to extensions any longer?

@craggypls
Copy link

It seems you can manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

This fixes it for me, but it's not very user friendly. I guess firefox changed something so that environment variable isn't passed to extensions any longer?

Can confirm the workaround to get this working.

@delopa
Copy link

delopa commented Oct 18, 2023

It seems you can manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

This fixes it for me, but it's not very user friendly. I guess firefox changed something so that environment variable isn't passed to extensions any longer?

I confirm the workaround works here. On Fedora 38 Stable with FF from the repo.

@brozeph
Copy link

brozeph commented Mar 13, 2024

Can confirm on creating ~/.config/firefoxprofileswitcher/config.json... I am using Firefox Developer Edition installed on Kubuntu 22.04 via DEB package.

{"browser_binary": "/usr/bin/firefox_devedition"}

@DubyaDude
Copy link

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

@callumgare
Copy link

For MacOS:

echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json

@gabrielesvelto
Copy link

Chiming in because I've introduced the change that should have caused this. MOZ_CRASHREPORTER_RESTART_ARG_0 is not set anymore starting with Firefox 124 and ESR 115 too. The change was required to harden the crash reporter against potential exploits, I'm sorry it caused breakage.

@c0r0nel
Copy link

c0r0nel commented Jul 2, 2024

It seems you can manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

This is still working!. At least on ArchLinux and firefox 127

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

9 participants