persepolisdm/Persepolis-WebExtension

Not working

Closed this issue · 12 comments

Hi there
perspolis extension is not working either on opera or chromium. everything seems ok but when i click on an url or any download link, it justs won't work.

Hello,
Is the extension active? Check it in pop-up menu. Icon should be red.
Are Persepolis and Extension updated?

That's weird! It has to do something with the bridge file. What is the output of this command?
cat ~/.config/chromium/NativeMessagingHosts com.persepolis.pdmchromewrapper.json

I have the same problem on Firefox 71/ Fedora 31. The extension doesn't work

Running this command
cat ~/.config/chromium/NativeMessagingHosts com.persepolis.pdmchromewrapper.json
Says that no file or directory found

@DanielValahul for Firefox, the path is different. Try this one:
cat ~/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json

Now it does output something, but the extension still doesn't work.

{"name": "com.persepolis.pdmchromewrapper", "type": "stdio", "path": "/home/zalmoxis/.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"]}

@DanielValahul Ok so if you execute this:
/home/zalmoxis/.config/persepolis_download_manager/persepolis_run_shell
it should run persepolis (if not already running).

If this doesn't work, tell me the errors here.
If persepolis runned, then extension is the cause of problem. Try to download a file directly by right clicking a link and "Download with Persepolis" in context menu.

If possible, try to check the logs of extension from here:
Go to about:debugging, then find "Persepolis Download Manager Integration". And select debug

The extension doesn't work, app is fine.

I couldn't find much debugging info.


Getting Key:pdm-interrupt ::  true background.js:438:13
Getting Key:context-menu ::  null background.js:438:13
Value Is NuLL:context-menu ::  true background.js:441:17
Getting Key:keywords ::  null background.js:438:13
Value Is NuLL:keywords ::  background.js:441:17

@DanielValahul Please try to download a file and see if there is anything else in debugging infos

I tried, there is nothing.

Well I observed a new issue, which I think it's related. After I installed the extension I got this message

persepolis quit unexpectedly
The application encountered a problem and could not continue.

This is reproducible (but not always though): if i open the broswer, open persepolis, close persepolis to system tray, close the browser and reopen the browser, the issue will pop up again.

without the extension, the issue doesnt happen