persepolisdm / persepolis

Persepolis is a download manager written in Python.
https://persepolisdm.github.io
GNU General Public License v3.0
6.29k stars 653 forks source link

VideoFinder button missing #633

Open ShakaZ75 opened 5 years ago

ShakaZ75 commented 5 years ago

Persepolis - VideoFinder button missing System Details:

Issue Description and steps to reproduce:

Write in English language please, Thanks :)

Feel free to edit or delete lines in this template if it is necessary.

Please report only one Issue (Bug or feature request or ...) in one issue! and open new Issue for another one :)

Hello, after 1st installation of Persepolis and FF integration addon, I have trouble with the following : 1° Missing Video Finder button in the Persepolis Download Manager interface (see attached screenshot)

Here's some basic info about my config : Linux Mint KDE 18.3 Firefox 67 Persepolis 3.0.1 Persepolis download Manager Integration 2.0.0

ShakaZ75 commented 5 years ago

After some more investigation it turns out this feature requires version 3.1.0 of Persepolis. As the repository was on 3.0.1 I've tried installing from git. Persepolis now crashes on launch with below error msg :

/media/shakaz/Data/persepolis $ persepolis Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/persepolis-3.1.0-py3.5.egg/persepolis/scripts/mainwindow.py", line 50, in File "/usr/local/lib/python3.5/dist-packages/persepolis-3.1.0-py3.5.egg/persepolis/scripts/video_finder_addlink.py", line 26, in ImportError: No module named 'youtube_dl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/persepolis", line 9, in load_entry_point('persepolis==3.1.0', 'console_scripts', 'persepolis')() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2229, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2235, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 634, in _load_backward_compatible File "/usr/local/lib/python3.5/dist-packages/persepolis-3.1.0-py3.5.egg/persepolis/main.py", line 20, in File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 634, in _load_backward_compatible File "/usr/local/lib/python3.5/dist-packages/persepolis-3.1.0-py3.5.egg/persepolis/scripts/persepolis.py", line 88, in File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 634, in _load_backward_compatible File "/usr/local/lib/python3.5/dist-packages/persepolis-3.1.0-py3.5.egg/persepolis/scripts/mainwindow.py", line 52, in NameError: name 'ModuleNotFoundError' is not defined

Youtube-dl is installed though :

/media/shakaz/Data/persepolis $ youtube-dl --version 2019.05.20

alireza-amirsamimi commented 5 years ago

Hello Mint 18.3 is based on ubuntu 16.04 and it is a little old :) You must install youtube-dl with pip in ubuntu 16.04 and mint 18.3.