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

Trouble connecting to the daemon, no useful error messages to fix the problem #72

Open
douglasrizzo opened this issue Jul 29, 2021 · 2 comments

Comments

@douglasrizzo
Copy link

  • Platform: Manjaro Linux
  • Firefox: 90.0.2
  • Pywalfox native messenger: 2.7.4
  • Pywalfox addon: v2.0.7 from Mozilla Addons website.

When Firefox starts, I am greeted with a tab and the error:

The Pywalfox extension could not create a connection to the native messenger. This might happen if the native messenger is outdated or if it is not installed correctly. Because of this, the extension will not work as expected.

The actual error in the box, in that same window, is just the word None.

When I click the Fetch Pywal colors, I get the message Fetch failed: You are not connected to the Pywalfox daemon

This is the output of pywalfox start --verbose -p:

[07-29-2021 11:56:16] DEBUG:Using python 3.8.10
[07-29-2021 11:56:16] DEBUG:Firefox profile path is relative
[07-29-2021 11:56:16] DEBUG:Found chrome directory at path: /home/user/.mozilla/firefox/nwxxqzus.default-release/chrome
[07-29-2021 11:56:16] DEBUG:Setup socket server using AF_UNIX (linux/darwin)
[07-29-2021 11:56:16] DEBUG:Successfully bound socket to: /tmp/pywalfox_socket

This is the content of the debug console, it didn't give me any information:

image

I've uninstalled and reinstalled the daemon, native messenger and addon, but the error persists. Any tips?

@Frewacom
Copy link
Owner

Most likely a PATH issue where FIrefox can not find the executable during runtime. This is quite a common issue and I have pushed a test release that uses absolute paths instead, which eliminates the need for a correct PATH variable. It has not been released to the official channel yet, since I have not had the time to test it properly on different platforms.

You can install the test release using the following commands:

pywalfox uninstall
pip uninstall pywalfox
pip install --index-url https://test.pypi.org/simple/ pywalfox==2.8.0rc1
pywalfox install

The actual error in the box, in that same window, is just the word None.

Sadly, the Firefox error messages are very limited and often provide little to no information about why it failed.
Some of the more basic errors will be shown, though.

@danjenson
Copy link

This worked for me^

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

3 participants