Closed grahamperrin closed 5 years ago
Hi, Looks like you are using WaterFox!
Can you install FireFox (quantom) and check if problem exists?
If yes, can you provide content of this file please?
cat .mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
WaterFox might be not compatible with Firefox Quantom, Best approach would be migrating to FF Quantom. If you can't, try putting this in code:
{"name": "com.persepolis.pdmchromewrapper", "type": "stdio", "path": "/home/black-hole/.config/persepolis_download_manager/persepolis_run_shell", "description": "Integrate Persepolis with firefox using WebExtensions", "allowed_extensions": ["com.persepolis.pdmchromewrapper@persepolisdm.github.io", "com.persepolis.pdmchromewrapper.offline@persepolisdm.github.io"]}
in this file:
~/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
If that didn't help, There is nothing i can do
Apparently Waterfox uses another path for NHM extensions ~/.waterfox/..
instead of ~/.mozilla
.
Current temporary fix is to copy
~/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
to
~/.waterfox/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
https://github.com/persepolisdm/persepolis/issues/575#issuecomment-433643887:
This extension does not have permission to use native application com.persepolis.pdmchromewrapper (or the application is not installed)
– NativeMessaging.jsm:216
Unchecked lastError value: Error: Attempt to postMessage on disconnected port
– ExtensionCommon.jsm:304
Environment
Note
https://github.com/persepolisdm/persepolis/issues/575 was closed with reference to https://redd.it/9s2qmh but that is not a fix.