Bug#886827: RFS: youtube-dl-gui/0.4-1 [ITP]
- To: Félix Sipma <felix+debian@gueux.org>
- Cc: 886827@bugs.debian.org
- Subject: Bug#886827: RFS: youtube-dl-gui/0.4-1 [ITP]
- From: Lumin <cdluminate@gmail.com>
- Date: Sun, 25 Mar 2018 07:53:40 +0000
- Message-id: <[🔎] CAGX5Nra_nw7=WJjDVFHm=pmZgoYwB7=V+XNCsp1+_csUy-fRvA@mail.gmail.com>
- Reply-to: Lumin <cdluminate@gmail.com>, 886827@bugs.debian.org
- In-reply-to: <20180222095131.sqouy26l2ihcfnlh@capeo>
- References: <20180110103124.xwbegfggu7lei4dv@capeo> <CAGX5NrYyrTKWH5MUqWyKeypXq_MmPWD3Atyxb+X9VLxmtUmfcQ@mail.gmail.com> <20180215094125.pmlyqnolnc6yhnhb@capeo> <CAGX5NrZLYQCOnA0yMugv4pnk3GukqC7tbN_npUjQgR8XR_u-Kg@mail.gmail.com> <20180215153351.sx3lm5fes5bdsjpv@capeo> <CAGX5NraS6d+F8cmuDWYvVLr6rHgx0rkuhVA=fjB_GoGK60hPOQ@mail.gmail.com> <20180215172157.u266rz6utldz7cvv@capeo> <CAGX5NrY+BZSrjQ3XpDiCySgoPvmcG3rLWSoOxUJugCM2EXFikg@mail.gmail.com> <20180222095131.sqouy26l2ihcfnlh@capeo> <20180110103124.xwbegfggu7lei4dv@capeo>
Hi Félix,
I'm sure youtube-dl is working when invoked from command line for
downloading an youtube video. However youtube-dl-gui doesn't work
with the same URL.
I got this from youtube-dl-gui's log, and it seems to be the reason why
youtube-dlg doesn't work for me:
[Sun Mar 25 07:35:30 2018] Traceback (most recent call last):
[Sun Mar 25 07:35:30 2018] File "/usr/bin/youtube-dl", line 6, in <module>
[Sun Mar 25 07:35:30 2018] from pkg_resources import load_entry_point
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
3195, in <module>
[Sun Mar 25 07:35:30 2018] @_call_aside
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
3179, in _call_aside
[Sun Mar 25 07:35:30 2018] f(*args, **kwargs)
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
3208, in _initialize_master_working_set
[Sun Mar 25 07:35:30 2018] working_set = WorkingSet._build_master()
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
681, in _build_master
[Sun Mar 25 07:35:30 2018] ws.require(__requires__)
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
999, in require
[Sun Mar 25 07:35:30 2018] needed =
self.resolve(parse_requirements(requirements))
[Sun Mar 25 07:35:30 2018] File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
885, in resolve
[Sun Mar 25 07:35:30 2018] raise DistributionNotFound(req, requirers)
[Sun Mar 25 07:35:30 2018] pkg_resources.DistributionNotFound: The
'youtube-dl==2018.3.14' distribution was not found and is required by
the application
The root of problem turns to be clear if you take a look at the package
content of youtube-dl provided by debian:
$ dpkg -L youtube-dl
...
/usr/lib/python3/dist-packages/youtube_dl-2018.3.14.egg-info
...
It has been migrated to python3. So tt is impossible for youtube-dl-gui
to import any python2 resource of youtube-dl. This GUI package only
works when user have installed youtube-dl with python2 version of pip
or some other methods alike.
Unfortunately, I guess this package would get stuck before its
transition to python3. Unless there is a simple way to use
python3 version of youtube-dl from python2 version of gui.
I'm not sure whether it's possible since I didn't look into the code.
Regards,
Lumin.
On 22 February 2018 at 09:51, Félix Sipma <felix+debian@gueux.org> wrote:
> On 2018-02-22 03:27+0000, Lumin wrote:
>> I built the package locally, but I did not get it working correctly
>> With a YouTube URL. It downloads nothing.
>> Could you please provide a url for test so I can make sure
>> it is working?
>>
>> I will look into this problem later.
>
> It definitely works here... Are you sure entered your urls, selected the output
> format and directory, clicked "add", and then clicked "start"?
--
Best,
Reply to: