persepolisdm / Persepolis-WebExtension

WebExtension integration for Persepolis download manager
http://persepolisdm.github.io
GNU General Public License v3.0
73 stars 9 forks source link

Not working #23

Closed amirarabsalmani closed 4 years ago

amirarabsalmani commented 5 years ago

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.

JafarAkhondali commented 5 years ago

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

amirarabsalmani commented 5 years ago

yes, as i said every thing seems totally fine, but nothing happen when i click on a download link. both version is the latest update.

On Jul 5 2019, at 6:07 pm, Jafar Akhondali notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/210D6E74-51DB-43C8-9504-5F49EFB16C5D@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fpersepolisdm%2FPersepolis-WebExtension%2Fissues%2F23%3Femail_source%3Dnotifications%26email_token%3DAI7XJZBQO6MPBOVPTITJ373P55FB7A5CNFSM4H6KMWAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJRL5A%23issuecomment-508761588&recipient=cmVwbHkrQUk3WEpaSDZKMzdPVFZDSkE1TTMzQTUzRlNDUjdFVkJOSEhCWE1JN1ZRQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/210D6E74-51DB-43C8-9504-5F49EFB16C5D@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI7XJZASKH4BSNU6CDWIBXTP55FB7ANCNFSM4H6KMWAA&recipient=cmVwbHkrQUk3WEpaSDZKMzdPVFZDSkE1TTMzQTUzRlNDUjdFVkJOSEhCWE1JN1ZRQHJlcGx5LmdpdGh1Yi5jb20%3D).

JafarAkhondali commented 5 years ago

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

amirarabsalmani commented 5 years ago

I really appreciate your help. This is output: {"name": "com.persepolis.pdmchromewrapper", "type": "stdio", "path": "/home/amir/.config/persepolis_download_manager/persepolis_run_shell", "description": "Integrate Persepolis with opera using WebExtensions", "allowed_origins": ["chrome-extension://legimlagjjoghkoedakdjhocbeomojao/"]}

On Jul 6 2019, at 9:23 am, Jafar Akhondali notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/6CE82D5C-E7D5-40E9-A259-F7F22DC4A1F9@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fpersepolisdm%2FPersepolis-WebExtension%2Fissues%2F23%3Femail_source%3Dnotifications%26email_token%3DAI7XJZDAOLHWB7DRSQVROR3P6AQMNA5CNFSM4H6KMWAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZKSOEQ%23issuecomment-508897042&recipient=cmVwbHkrQUk3WEpaQU5PWlhYV1Y0TVpKQ0M3TUYzRlZONE5FVkJOSEhCWE1JN1ZRQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/6CE82D5C-E7D5-40E9-A259-F7F22DC4A1F9@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI7XJZCQC3X5P6IGIPRUR5DP6AQMNANCNFSM4H6KMWAA&recipient=cmVwbHkrQUk3WEpaQU5PWlhYV1Y0TVpKQ0M3TUYzRlZONE5FVkJOSEhCWE1JN1ZRQHJlcGx5LmdpdGh1Yi5jb20%3D).

ghost commented 4 years ago

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

JafarAkhondali commented 4 years ago

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

ghost commented 4 years ago

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"]}

JafarAkhondali commented 4 years ago

@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

ghost commented 4 years ago

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
JafarAkhondali commented 4 years ago

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

ghost commented 4 years ago

I tried, there is nothing.

ghost commented 4 years ago

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