null-dev / firefox-profile-switcher

Create, manage and switch between browser profiles seamlessly.
GNU General Public License v3.0
377 stars 26 forks source link

Not working on macOS Monterey #14

Open oodzchen opened 3 years ago

oodzchen commented 3 years ago

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.

3Dpicnic commented 3 years ago

It's working for me on macOS Monterey

romanzipp commented 3 years ago

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 commented 3 years ago

@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

oodzchen commented 2 years ago

@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