Frewacom / pywalfox

Dynamic theming of Firefox (and Thunderbird) using your Pywal colors
https://addons.mozilla.org/en-US/firefox/addon/pywalfox/
Mozilla Public License 2.0
583 stars 12 forks source link

Error when fetching pywal colors #48

Closed flber closed 3 years ago

flber commented 3 years ago

I installed pywalfox, ran setup, restarted firefox and then tried to fetch my pywal colors, but was greeted with the error: Fetch failed: You are not connected to the Pywalfox daemon. I tried running pywalfox daemon, but it still wouldn't connect. I'm probably just doing something wrong here, but any guidance would be appreciated.

I'm running manjaro i3

Frewacom commented 3 years ago

Do you get any errors in the Browser console? 

flber commented 3 years ago

I'm just getting two warnings: Use of nsIFile in content process is deprecated. debuggee 'resource://devtools/shared/base-loader.js:289' would run but those don't seem to be related to pywalfox

Frewacom commented 3 years ago

That is strange. That error should only appear if the connection is broken (which should print an error in the Browser console) or if the response time exceeds the timeout delay.

Is the native app version set in the debugging section of the Pywalfox setttings page?

flber commented 3 years ago

Yes, the version is set to 2.6 in the setting page, and it also says it is connected.

Frewacom commented 3 years ago

In that case I don't really know why it is not working as everything seems to be setup correctly. Have you tried fetching after waiting a little while? Sometimes it takes some time for Firefox to start the extension.

You could also try entering this into the console of the Pywalfox settings page:

await browser.storage.local.set({ connected: true });

and then try fetching the colors again.

flber commented 3 years ago

Ahhh. It just now worked (I didn't change anything). Not sure what happened, but I guess just waiting for a while is the way to go? Anyway, thank you for your help!