-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Can't get response in Ubuntu #506
Comments
I am having the same issue but I am running MacOS Monterey 12.6. Mozilla Firefox version 108.0. There is no error, the extension is sending but no response from the application. |
I filed #490 to fix that issue. Try substituting
for
|
Nope. Still not working. Also And yes, i checked the permissions and they all have execute permission. I think, this is not about Python. Somehow, Firefox is not reading the .json files and can't communicate each other. |
The last time I tested on Nightly it worked. I'll test again later today or tomorrow. |
Okey. I'll wait the test result but i want to ask where do you put manifest file? I am asking this question because /usr/lib/mozilla/native-messaging-hosts/.json and /usr/lib64/mozilla/native-messaging-hosts/.json the mozilla folder didn't exist. So, manually created by myself. I think, this issue related to this configuration. Briefly, how to configure this environment? Can you provide ur configurement verbosely? |
Neither. I removed the snap Firefox installation. Then removed snap altogether and fetched Nightly and created the file in ~/.mozilla. |
I created this
per https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests#linux. |
in this case
because I do not have the executable |
Yeah. Finally make it! Thanks.
with
I tried
path which is firstly specified in docs. I also created file before ops in
too but i think i made typo errors. Thanks again :) |
If you are able to solve your problem, i think we close this issue. |
I tried every solution path in MDN Native Messaging Docs
(https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging
also
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests)
but can't get response from ping_pong.py.
I copied ping_pong.json(also manifest.json too cause clearly not working with ping_pong.json) that specified in docs, can't response in either. By the way, i must tell that some folders didn't exist while i was trying to copy(e.g. /usr/lib/mozilla/native-messaging-hosts). So i created that folder and copied ping_pong.json to there and still can't get response.
The last thing i need to mention, i need to deleted Firefox, before because the snap installation causes problem to Firefox to find profiles. I removed Firefox then installed without snap installation and able to run Firefox for profile changes seamlessly.
Ubuntu version:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Firefox version:
Mozilla Firefox 107.0.1
The text was updated successfully, but these errors were encountered: