firefox-profile-switcher icon indicating copy to clipboard operation
firefox-profile-switcher copied to clipboard

Not working on macOS Monterey

Open oodzchen opened this issue 4 years ago • 4 comments

I've follow the install guide and done everything, but the popup window shows "Setup Incomplete!", I've restart firefox and event restart macOS, still not working.

oodzchen avatar Oct 28 '21 01:10 oodzchen

It's working for me on macOS Monterey

3Dpicnic avatar Nov 03 '21 18:11 3Dpicnic

The following info has been printed to my console after installing the brew formula:

==> firefox-profile-switcher-connector
The plugin manifest is installed but not linked in Firefox. Run the following two commands to link it:
    sudo mkdir -p "/Library/Application Support/Mozilla/NativeMessagingHosts"
    sudo ln -sf "/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/ax.nd.profile_switcher_ff.json" "/Library/Application Support/Mozilla/NativeMessagingHosts"/ax.nd.profile_switcher_ff.json

Works like a charm after running those commands!

romanzipp avatar Nov 06 '21 07:11 romanzipp

@oodzchen could you post the debug log?

  1. Navigate to the Add-ons Manager about:addons
  2. Click on the cog icon in the top right corner
  3. Select "Debug Add-ons"
  4. You should see various errors in the developer console

Make sure to censor any sensitive information

romanzipp avatar Nov 12 '21 07:11 romanzipp

@romanzipp OK, now I found the console error message

Native connection established! native.js:23:17 Native component disconnected, reconnecting... Object { name: "ax.nd.profile_switcher_ff", sender: undefined, error: Error, onMessage: {…}, onDisconnect: {…}, postMessage: (), disconnect: () } native.js:41:17 Failed to init native component, retrying! TypeError: nativePort is null nativeRequestInternal moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:129 nativeRequestInternal moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:116 initNativePort moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:65 onNativeDisconnect moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:52 setTimeout handleronNativeDisconnect moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:52 native.js:71:17 Uncaught (in promise) TypeError: nativePort is null initNativePort moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:72 promise callbackinitNativePort moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:70 onNativeDisconnect moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:52 setTimeout handler*onNativeDisconnect moz-extension://c3598e45-807e-0344-a2dc-a6ea54df06b0/js/native.js:52

oodzchen avatar Dec 06 '21 04:12 oodzchen