LVLAaron Posted October 18, 2021 Share Posted October 18, 2021 Been running youtube-dl for years and suddenly have a problem. If anyone can advise what packages I'm missing, it would be greatly appreciated. Quote root@Tower:/mnt/user/YouTubeArchive# youtube-dl ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/lib64/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 16, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 15, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/options.py", line 8, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/downloader/__init__.py", line 3, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 10, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 30, in <module> File "/usr/lib64/python2.7/ssl.py", line 97, in <module> import _ssl # if we can't import it, let the error propagate ImportError: libssl.so.1: cannot open shared object file: No such file or directory root@Tower:/mnt/user/YouTubeArchive# Quote Link to comment
ChatNoir Posted October 18, 2021 Share Posted October 18, 2021 You should probably ask in the support thread of the docker. Quote Link to comment
LVLAaron Posted October 18, 2021 Author Share Posted October 18, 2021 4 hours ago, ChatNoir said: You should probably ask in the support thread of the docker. I'm not running it as a docker. Quote Link to comment
Squid Posted October 18, 2021 Share Posted October 18, 2021 Then how are you running it? Quote Link to comment
LVLAaron Posted October 18, 2021 Author Share Posted October 18, 2021 8 minutes ago, Squid said: Then how are you running it? I run it directly from unraid. I'm a 15 year user and had many things set up way before docker or nerd tools existed. Quote Link to comment
Squid Posted October 18, 2021 Share Posted October 18, 2021 Don't take this the wrong way, but in that case you're also responsible to sort out the dependency hell imposed by that. Not sure if anyone here would know the answers, and the suggestion would be to run it as a container. Quote Link to comment
LVLAaron Posted October 18, 2021 Author Share Posted October 18, 2021 Not taken the wrong way. Will seek help from the youtube-dl folks Quote Link to comment
LVLAaron Posted October 18, 2021 Author Share Posted October 18, 2021 For the curious... I installed youtube-dl via pip and it works... Quote Link to comment
LVLAaron Posted October 18, 2021 Author Share Posted October 18, 2021 Also, yt-dlp works great asd well. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.