SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello Tonus,
i was using youtube-dl for years but suddenly for me it was not possible to use it anymore. That is why i had to change to yt-dlp.
I have isntalled the gui for youtube-dl but i get some Status Warning (and download process stops i do not know the reason), when i try to download the needed video.
i tried to look into the logs:
Code:
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
ERROR: Signature extraction failed: Traceback (most recent call last):
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
WARNING: unable to download video info webpage: HTTP Error 410: Gone
###############
@bigbadaboum
very helpful and kind of you, i was trying all of that but unfortunately getting again some missing or wrongly named folders, i was trying to trace until it was possible for me but couldn't not compile it at all in the end
i even switched to 15.0 SBo (slackbuilds repository for sbo) but there yt-dlp is not available. when i tried there an older version, i got some error that encoding is missing
Code:
running build_scripts
creating build/scripts-3.9
Traceback (most recent call last):
File "/usr/lib64/python3.9/tokenize.py", line 330, in find_cookie
line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 14: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/SBo/yt-dlp/setup.py", line 175, in <module>
main()
File "/tmp/SBo/yt-dlp/setup.py", line 136, in main
setup(
File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.9/distutils/command/install.py", line 546, in run
self.run_command('build')
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.9/distutils/command/build_scripts.py", line 50, in run
self.copy_scripts()
File "/usr/lib64/python3.9/distutils/command/build_scripts.py", line 82, in copy_scripts
encoding, lines = tokenize.detect_encoding(f.readline)
File "/usr/lib64/python3.9/tokenize.py", line 381, in detect_encoding
encoding = find_cookie(second)
File "/usr/lib64/python3.9/tokenize.py", line 335, in find_cookie
raise SyntaxError(msg)
SyntaxError: invalid or missing encoding declaration for 'yt-dlp'
i was thinking now of merely getting a compiled .txz. from some repository and tried, not sure if it will work
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071
Rep:
Got the very same error when trying the AppImage version that rizitis suggested (2.4.0). However, the latest version (2.5.4) started just fine (even if there were some ENOENT error messages in the terminal window).
When trying to download I got the message
Code:
ERROR: Postprocessing: module mutagen was not found. Please install using `python -m pip install mutagen
Built and installed mutagen (SBo script https://slackbuilds.org/repository/1...pment/mutagen/) and downloading worked perfectly (Please note that mutagen has two dependencies which in turn have a number of dependencies).
NB: you might run into other dependency issues running Slackware-14.2. I strongly recommend upgrading to 15.0, especially since EOL for 14.2 is round the corner.
maybe an update broke something on your system, can you recompile your yt-dlp-2023.02.17 ?
nb:it's sad that we can no longer have access to x265 video since the switch to android api inside yt-dlp, it was a good way to promote the Alliance for Open Media. https://aomedia.org/
With all these protracted issues, you would probably be much better off uninstalling yt-dlp and reinstalling it. Pip3 installs automagically, if you clean up correctly.
I'm somehow suspicious that every way you try to build or install pukes, and you may have problems with your toolchain.
Last edited by business_kid; 10-16-2023 at 05:08 AM.
Got the very same error when trying the AppImage version that rizitis suggested (2.4.0). However, the latest version (2.5.4) started just fine (even if there were some ENOENT error messages in the terminal window).
When trying to download I got the message
Code:
ERROR: Postprocessing: module mutagen was not found. Please install using `python -m pip install mutagen
Built and installed mutagen (SBo script https://slackbuilds.org/repository/1...pment/mutagen/) and downloading worked perfectly (Please note that mutagen has two dependencies which in turn have a number of dependencies).
NB: you might run into other dependency issues running Slackware-14.2. I strongly recommend upgrading to 15.0, especially since EOL for 14.2 is round the corner.
Could you fire up a virtual machine of a clean and up-to-date 14.2 ?
I guess it would be easier to get the dependencies installed and the package built.
You could then install it on your actual system.
And what you would have learnt would be useful forever
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.