Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33097 - [youtube-dl] "-o my-outputtemplate" does not work with Python3
Attached to Project:
Community Packages
Opened by P.H. (Vain) - Friday, 14 December 2012, 18:49 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 16 December 2012, 01:44 GMT
Opened by P.H. (Vain) - Friday, 14 December 2012, 18:49 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 16 December 2012, 01:44 GMT
|
DetailsThe shebang line of youtube-dl is no longer changed to python2:
https://projects.archlinux.org/svntogit/community.git/commit/trunk/PKGBUILD?h=packages/youtube-dl&id=8b6a224a8bf8912074a1aa2010ab6e16684b0a7d Sadly, the script doesn't work with python3: Traceback (most recent call last): File "/usr/lib/python3.3/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python3.3/runpy.py", line 73, in _run_code exec(code, run_globals) File "/usr/bin/youtube-dl/__main__.py", line 17, in <module> File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 596, in main File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 523, in _real_main AttributeError: 'str' object has no attribute 'decode' |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 16 December 2012, 01:44 GMT
Reason for closing: Fixed
Additional comments about closing: I've reverted the package to use python2 until the port to python 3 is ironed out.
Sunday, 16 December 2012, 01:44 GMT
Reason for closing: Fixed
Additional comments about closing: I've reverted the package to use python2 until the port to python 3 is ironed out.
And I can say youtube-dl works for me
You're right -- kind of. It works, unless you're using the option "-o my-outputtemplate". It appears that only works with Python2.
I guess that's an upstream bug then... Sorry for the noise.
(We could close it as "Upstream" too, but often we keep the bug report open and follow the issue until upstream has resolved it).
https://github.com/rg3/youtube-dl/issues/591