Skip to content

After executing all commands it still says setup incomplete (mac) #11

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

Closed
cwesterink opened this issue Jul 9, 2021 · 9 comments
Closed

Comments

@cwesterink
Copy link

cwesterink commented Jul 9, 2021

Encountered setup problem (mac M1)

@null-dev
Copy link
Owner

I just released a new version of the extension that should hopefully fix this issue. Can you try updating to it? Also make sure to update the additional software when asked.

@caseykramer
Copy link

I'm seeing the same issue on mac with the latest version of extension and connector (installed today 14/7/2021).

firefox-profile-switcher-connector v0.0.8
extension v1.1.5 (updated 14/7/2021)

@cwesterink
Copy link
Author

I removed the addon and followed the installation instructions. Instead of just updating it.
It works for me now.

Thank You

@null-dev
Copy link
Owner

@caseykramer Can you post what happens when you run each of the following commands?

  • cat ~"/Library/Application Support/Mozilla/NativeMessagingHosts/ax.nd.profile_switcher_ff.json"
  • find /usr/local/Cellar/firefox-profile-switcher-connector
  • echo | ff-pswitch-connector
  • brew config

@billybullock
Copy link

I'm not @caseykramer but I did just try running the installation by following the instructions and the extension is still saying incomplete setup. I've also restarted Firefox. The output of the above commands are below and it seems Xcode isn't being installed. Is this something I need to do separately?

Thank you!

BB-Work-MacBook-Air:~ billy$ cat ~"/Library/Application Support/Mozilla/NativeMessagingHosts/ax.nd.profile_switcher_ff.json"
{
"allowed_extensions": [
"[email protected]"
],
"description": "Profile Switcher for Firefox",
"name": "ax.nd.profile_switcher_ff",
"path": "/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/bin/ff-pswitch-connector",
"type": "stdio"
}

BB-Work-MacBook-Air:~ billy$ find /usr/local/Cellar/firefox-profile-switcher-connector
/usr/local/Cellar/firefox-profile-switcher-connector
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/INSTALL_RECEIPT.json
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/bin
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/bin/ff-pswitch-connector
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/.brew
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/.brew/firefox-profile-switcher-connector.rb
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/README.md
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/ax.nd.profile_switcher_ff.json
/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/LICENSE.txt

BB-Work-MacBook-Air:~ billy$ echo | ff-pswitch-connector
C{"id":-1,"resp":{"event":"ConnectorInformation","version":"0.0.8"}}thread 'main' panicked at 'Failed to read native message size!: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', src/native_req.rs:66:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

BB-Work-MacBook-Air:~ billy$ brew config
HOMEBREW_VERSION: 3.2.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7d37d09709b6fbd5b89b468eb0b4438ffa0fb81c
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5dd9c085fdaff68305e3370f91cc3d7d6e6c04a0
Core tap last commit: 39 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit haswell
Clang: 10.0.1 build 1001
Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: N/A

BB-Work-MacBook-Air:~ billy$

@null-dev
Copy link
Owner

@billybullock Thanks for the info, unfortunately everything looks fine and I still have no idea why the extension isn't running on Macs. Can you try running the command in this comment? null-dev/firefox-profile-switcher-connector#5 (comment)

@billybullock
Copy link

@null-dev Here is the output from the command.

BB-Work-MacBook-Air:~ billy$ sudo ln -s /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
Password:
ln: Support/Mozilla/NativeMessagingHosts/ax.nd.profile_switcher_ff.json: No such file or directory
BB-Work-MacBook-Air:~ billy$

@billybullock
Copy link

Got it working my copying "/usr/local/Cellar/firefox-profile-switcher-connector/0.0.8/ax.nd.profile_switcher_ff.json" to "/Library/Application Support/Mozilla/NativeMessagingHosts/" where this file was missing. Restarted Firefox and it's now working. Many thanks for your replies and work on this extension!

@null-dev
Copy link
Owner

@billybullock Whoops yeah I forgot some quotes in my command, nice job figuring it out! Since it seems to work I'm going to close this issue now. Just to repeat it for others, running the following command seems to solve the issue:

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"

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

4 participants