Closed fabianski7 closed 4 years ago
@fabianskibr Hello Please open the log window from help menu. Copy the log and paste it here.
Log File:
2019-09-19 16:01:53,490 - Persepolis - INFO - Please wait ...
2019-09-19 16:01:53,491 - Persepolis - INFO - Aria2 Shutdown : OK
2019-09-19 16:01:54,193 - Persepolis - INFO - Persepolis closed!
===================================================
Persepolis Download Manager, 2019/09/19 16:01:55
2019-09-19 16:01:55,966 - Persepolis - INFO - chrome: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 16:01:55,970 - Persepolis - INFO - chromium: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 16:01:55,973 - Persepolis - INFO - opera: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 16:01:55,976 - Persepolis - INFO - vivaldi: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 16:01:55,982 - Persepolis - INFO - firefox: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 16:01:56,299 - Persepolis - INFO - youtube_dl version: 2018.03.14
2019-09-19 16:01:56,404 - Persepolis - INFO - Aria2 is running
2019-09-19 16:01:56,404 - Persepolis - INFO - Aria2 version: 1.33.1
2019-09-19 16:01:56,471 - Persepolis - INFO -
**********
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the
FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-
stripping --enable-avresample --enable-avisynth --enable-gnutls
--enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libcdio --enable-libflite --enable-
libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-librsvg --enable-libshine --enable-
libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-
frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil
55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57.
10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7.
0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample
2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100
**********
2019-09-19 16:01:56,472 - Persepolis - INFO - python version: 3.6.8 (default, Aug 20 2019, 17:12:48)
[GCC 8.3.0]
2019-09-19 16:01:56,472 - Persepolis - INFO - QT version: 5.12.3
2019-09-19 16:01:56,472 - Persepolis - INFO - PyQt version: 5.12.2
2019-09-19 16:01:56,472 - Persepolis - INFO - Operating system: Linux
2019-09-19 16:01:56,472 - Persepolis - INFO - Desktop env.: KDE
Is it possible for you to test persepolis with chromium extension please?
Yes. In chromium its working.
Log File:
2019-09-19 17:26:41,276 - Persepolis - INFO - Please wait ...
2019-09-19 17:26:41,277 - Persepolis - ERROR - Aria2 Shutdown Error
2019-09-19 17:26:41,978 - Persepolis - INFO - Persepolis closed!
===================================================
Persepolis Download Manager, 2019/09/19 17:26:43
2019-09-19 17:26:43,720 - Persepolis - INFO - chrome: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 17:26:43,723 - Persepolis - INFO - chromium: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 17:26:43,727 - Persepolis - INFO - opera: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 17:26:43,729 - Persepolis - INFO - vivaldi: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 17:26:43,732 - Persepolis - INFO - firefox: Json file is created successfully.
persepolis executer file is created successfully.
2019-09-19 17:26:44,019 - Persepolis - INFO - youtube_dl version: 2018.03.14
2019-09-19 17:26:44,114 - Persepolis - ERROR - Aria2 didn't respond!
2019-09-19 17:26:44,114 - Persepolis - INFO - Starting Aria2
2019-09-19 17:26:44,277 - Persepolis - INFO -
**********
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the
FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-
stripping --enable-avresample --enable-avisynth --enable-gnutls
--enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libcdio --enable-libflite --enable-
libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-librsvg --enable-libshine --enable-
libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-
frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil
55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57.
10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7.
0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample
2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100
**********
2019-09-19 17:26:44,278 - Persepolis - INFO - python version: 3.6.8 (default, Aug 20 2019, 17:12:48)
[GCC 8.3.0]
2019-09-19 17:26:44,279 - Persepolis - INFO - QT version: 5.12.3
2019-09-19 17:26:44,279 - Persepolis - INFO - PyQt version: 5.12.2
2019-09-19 17:26:44,279 - Persepolis - INFO - Operating system: Linux
2019-09-19 17:26:44,279 - Persepolis - INFO - Desktop env.: KDE
2019-09-19 17:26:46,125 - Persepolis - INFO - Aria2 is running
2019-09-19 17:26:46,125 - Persepolis - INFO - Aria2 version: 1.33.1
2019-09-19 17:27:02,301 - Persepolis - ERROR - Spider couldn't find file name
@fabianskibr That's weird. Can you show content of this file?
~/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
and this one:
~/.config/chromium/NativeMessagingHosts/com.persepolis.pdmchromewrapper.json
cat ~/.mozilla/native-messaging-hosts/com.persepolis.pdmchromewrapper.json
{"name": "com.persepolis.pdmchromewrapper", "type": "stdio", "path": "/home/fabiano/.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"]}
cat ~/.config/chromium/NativeMessagingHosts/com.persepolis.pdmchromewrapper.json
{"name": "com.persepolis.pdmchromewrapper", "type": "stdio", "path": "/home/fabiano/.config/persepolis_download_manager/persepolis_run_shell", "description": "Integrate Persepolis with chromium using WebExtensions", "allowed_origins": ["chrome-extension://legimlagjjoghkoedakdjhocbeomojao/"]}
Everything looks alright, can you try removing and re-install the extension?
Yes. I did some changes in Firefox.
What was breaking down was this (in about:config):
privacy.firstparty.isolate
By default firefox keeps disabled. I don't think it's a good idea to leave it off because of privacy. This function isolates cookies by websites so that they do not access the browser data when I am not on their home site.
Is there any possibility of making the extension work anyway?
Did this make the extension work? We need cookies to download files, i can make it work without cookies (for grabbing link without cookies) later. But not sure if this is a good idea
Yes. Disabling this the extension work fine. It would be great if you could make it work without using cookies.
Sure, i'll add it to next release.
not working for me tho, using persepolis 3.2.0 and firefox extension from firefox addons website, installed it today, persepolis is not grabbing my downloads.
System Details:
It's not working. When I click on a file link to download the persepolis download window does not open.
The extension also breaks the downloads the download manager of firefox, they do not start. If I disable it downloads work normally.
I recorded a video showing both problems.
https://youtu.be/cWXBoF7Vrz4