Whether I use Y2mate.com or youtube-dl I am getting errors regarding Absolute addressing. What is this and how do I correct a problem which did not exist in 15.2 before and seems to be part of 15.5 now??? CWSIV
On 2023-08-02 09:15, Carl Spitzer {L Juno} wrote:
Whether I use Y2mate.com or youtube-dl I am getting errors regarding Absolute addressing.
What is this and how do I correct a problem which did not exist in 15.2 before and seems to be part of 15.5 now???
Can you post an exact example? -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 8/2/23 00:15, Carl Spitzer {L Juno} wrote:
Whether I use Y2mate.com or youtube-dl I am getting errors regarding Absolute addressing.
What is this and how do I correct a problem which did not exist in 15.2 before and seems to be part of 15.5 now???
About a month ago youtube-dl stopped working for me with on Leap 15.4 This led me to try a fork of youtube-dl called yt-dlp. It pulls content from youtube slicker than snails through a goose! I wonder if youtube didn't change something that threw off youtube-dl. yt-dlp appears to be more current. There was a bit of a problem running it though. It had a python version dependency not satisfied by the installed python system. So I installed Anaconda which addressed the problem. Anaconda can be installed per-user and can live solely within a user's home directory, so it doesn't interfere with operating system functions. Of course, this might not be your problem, but it might be worth a try. Regards, Lew
On 8/2/23 09:02, Lew Wolfgang wrote:
About a month ago youtube-dl stopped working for me with on Leap 15.4 This led me to try a fork of youtube-dl called yt-dlp. It pulls content from youtube slicker than snails through a goose! I wonder if youtube didn't change something that threw off youtube-dl. yt-dlp appears to be more current.
This is what I suspect. Streaming services went on a kick to up revenue a few months ago implementing access restrictions. youtube likely joined the party. -- David C. Rankin, J.D.,P.E.
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <ec2d85f6-ef5f-8c13-38eb-ed19ae6fe2ca@suddenlinkmail.com> Date & Time: Wed, 2 Aug 2023 14:01:24 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: DCR> On 8/2/23 09:02, Lew Wolfgang wrote: LW> > About a month ago youtube-dl stopped working for me with on Leap 15.4 LW> > This led me to try a fork of youtube-dl called yt-dlp. It pulls content LW> > from youtube slicker than snails through a goose! I wonder if youtube LW> > didn't change something that threw off youtube-dl. yt-dlp appears LW> > to be more current. DCR> This is what I suspect. Streaming services went on a kick to up DCR> revenue a few months ago implementing access DCR> restrictions. youtube likely joined the party. I don't think so. I am still able to download without any problems. I think the problem with Leap 15.4 is that youtube-dl or yt-dlp is out of date. I'm using the very latest of git head for both. I am happy to see that the sound quality of youtube has improved since around April. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
cwsiv@localhost:~> yt-dlp --version 2023.01.06 cwsiv@localhost:~> yt-dlp https://www.youtube.com/watch?v=6GcdY5wtpso [youtube] Extracting URL: https://www.youtube.com/watch?v=6GcdY5wtpso [youtube] 6GcdY5wtpso: Downloading webpage [youtube] 6GcdY5wtpso: Downloading android player API JSON ERROR: [youtube] 6GcdY5wtpso: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U cwsiv@localhost:~> sudo yt-dlp -U [sudo] password for root: Latest version: 2023.07.06, Current version: 2023.01.06 Current Build Hash 3d47785962f7b07d38ab6465d4e4e827bd014805e727b71ecc6f1f56606663b2 Updating to version 2023.07.06 ... Updated yt-dlp to version 2023.07.06 cwsiv@localhost:~> yt-dlp https://www.youtube.com/watch?v=6GcdY5wtpso Traceback (most recent call last): File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module> ModuleNotFoundError: No module named 'contextvars' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/bin/yt-dlp/__main__.py", line 14, in <module> File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 656, in _load_unlocked File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module> Exception: You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp Seems the Python sulpplied with 15.5 os mpt up to the task of supporting the new version of youtube-dl. CWSIV
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <CAHeBFz1-X4U46+B0evnZ_MiXF2yWyXYO8vVWnuPysYHwT=B2hQ@mail.gmail.com> Date & Time: Wed, 2 Aug 2023 20:31:15 -0700 [CS] == Carl Spitzer <lynuxrocks@gmail.com> has written: [...] CS> sudo yt-dlp -U CS> [sudo] password for root: CS> Latest version: 2023.07.06, Current version: 2023.01.06 CS> Current Build Hash CS> 3d47785962f7b07d38ab6465d4e4e827bd014805e727b71ecc6f1f56606663b2 CS> Updating to version 2023.07.06 ... CS> Updated yt-dlp to version 2023.07.06 cwsiv@localhost:~> yt-dlp https://www.youtube.com/watch?v=6GcdY5wtpso CS> Traceback (most recent call last): CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module> CS> ModuleNotFoundError: No module named 'contextvars' CS> During handling of the above exception, another exception occurred: CS> Traceback (most recent call last): CS> File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main CS> "__main__", mod_spec) CS> File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code CS> exec(code, run_globals) CS> File "/usr/bin/yt-dlp/__main__.py", line 14, in <module> CS> File "<frozen importlib._bootstrap>", line 971, in _find_and_load CS> File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked CS> File "<frozen importlib._bootstrap>", line 656, in _load_unlocked CS> File "<frozen importlib._bootstrap>", line 626, in CS> _load_backward_compatible CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module> CS> Exception: You are using an unsupported version of Python. Only Python CS> versions 3.7 and above are supported by yt-dlp The module named 'contextvars' was added since python 3.7. So, you need python3.7 or later to use yt-dlp. The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this; # update-alternatives --config python3 then choose the python3 you have installed. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money."
On 8/2/23 21:18, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: youtube download problems Message-ID :<CAHeBFz1-X4U46+B0evnZ_MiXF2yWyXYO8vVWnuPysYHwT=B2hQ@mail.gmail.com> Date & Time: Wed, 2 Aug 2023 20:31:15 -0700
[CS] == Carl Spitzer<lynuxrocks@gmail.com> has written:
[...] CS> sudo yt-dlp -U CS> [sudo] password for root: CS> Latest version: 2023.07.06, Current version: 2023.01.06 CS> Current Build Hash CS> 3d47785962f7b07d38ab6465d4e4e827bd014805e727b71ecc6f1f56606663b2 CS> Updating to version 2023.07.06 ... CS> Updated yt-dlp to version 2023.07.06 cwsiv@localhost:~> yt-dlphttps://www.youtube.com/watch?v=6GcdY5wtpso CS> Traceback (most recent call last): CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module>
CS> ModuleNotFoundError: No module named 'contextvars'
CS> During handling of the above exception, another exception occurred:
CS> Traceback (most recent call last): CS> File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main CS> "__main__", mod_spec) CS> File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code CS> exec(code, run_globals) CS> File "/usr/bin/yt-dlp/__main__.py", line 14, in <module> CS> File "<frozen importlib._bootstrap>", line 971, in _find_and_load CS> File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked CS> File "<frozen importlib._bootstrap>", line 656, in _load_unlocked CS> File "<frozen importlib._bootstrap>", line 626, in CS> _load_backward_compatible CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module>
CS> Exception: You are using an unsupported version of Python. Only Python CS> versions 3.7 and above are supported by yt-dlp
The module named 'contextvars' was added since python 3.7.
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
# update-alternatives --config python3
then choose the python3 you have installed.
It makes me nervous to do it that way. I installed Anaconda instead which gives me: Python 3.11.3, and it doesn't touch Leap's python. Just two days ago one of my users (who has root) tried to load an updated python and failed miserably. He wound up removing lots of system dependencies and borked his system. We were able to figure out what he deleted from his zypper log and ran it backwards to restore his system. We need to reconsider his having root! Regards. Lew
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <dbb17970-0e5f-6dc3-2e06-db584c7d8161@sweet-haven.com> Date & Time: Wed, 2 Aug 2023 22:03:52 -0700 [LW] == Lew Wolfgang <wolfgang@sweet-haven.com> has written: [...] MN> > # update-alternatives --config python3 MN> > then choose the python3 you have installed. LW> It makes me nervous to do it that way. I installed Anaconda instead which LW> gives me: Python 3.11.3, and it doesn't touch Leap's python. LW> Just two days ago one of my users (who has root) tried to load an updated LW> python and failed miserably. He wound up removing lots of system dependencies LW> and borked his system. We were able to figure out what he deleted from his LW> zypper log and ran it backwards to restore his system. We need to reconsider LW> his having root! I understand your two points about 1). not giving people too much root privileges and 2). not allowing them to use the zypper command without reason, but I can't understand your opinion about python. I don't see any serious system dependencies in Tumbleweed that you are complaining about. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
On 8/2/23 23:13, Masaru Nomiya wrote:
I understand your two points about 1). not giving people too much root privileges and 2). not allowing them to use the zypper command without reason, but I can't understand your opinion about python.
I don't see any serious system dependencies in Tumbleweed that you are complaining about.
Well, this was on Leap 15.4. He tried to add an updated python, but couldn't get it to work correctly. He said he was following instructions he found on-line. When it didn't work, he tried removing one of the python versions, I don't know which one. But this had lots of dependencies that caused the removal of lots of core operating system stuff. For example, KDE crashed. The computer was up enough that we were able to add back all the packages that he inadvertently removed with zypper. This guy means well, but he's not as smart as he thinks he is when it comes to Linux maintenance. A couple of months ago he managed to inadvertently remove the partition table from his main disk that contained months of his work. I manged to find the orphaned filesystem (XFS) and created a new partition table to save his bacon. Regards, Lew
On Thu, Aug 3, 2023 at 7:18 AM Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote: ...
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
# update-alternatives --config python3
then choose the python3 you have installed.
On Leap /usr/bin/python3 is not under alternatives control and replacing system python with something else will likely break quite a lot of programs.You need to explicitly use /usr/bin/python311 (or 310 if that is what you installed).
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <CAA91j0UwMe1drUEDteEV96KiRNNWu7QLgF3G-HGARYH1eWhJgw@mail.gmail.com> Date & Time: Thu, 3 Aug 2023 09:30:55 +0300 [AB] == Andrei Borzenkov <arvidjaar@gmail.com> has written: AB> On Thu, Aug 3, 2023 at 7:18 AM Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote: [...] MN> > # update-alternatives --config python3 MN> > MN> > then choose the python3 you have installed. AB> On Leap /usr/bin/python3 is not under alternatives control and AB> replacing system python with something else will likely break quite a AB> lot of programs.You need to explicitly use /usr/bin/python311 (or 310 AB> if that is what you installed). Thanks. I fully undertsand. It's totally different from Tumbleweed.... Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <87zg38wrlt.wl-nomiya@lake.dti.ne.jp> Date & Time: Thu, 03 Aug 2023 15:46:22 +0900 [MN] == Masaru Nomiya <nomiya@lake.dti.ne.jp> has written: MN> Hello, MN> In the Message; MN> Subject : Re: youtube download problems MN> Message-ID : <CAA91j0UwMe1drUEDteEV96KiRNNWu7QLgF3G-HGARYH1eWhJgw@mail.gmail.com> MN> Date & Time: Thu, 3 Aug 2023 09:30:55 +0300 MN> [AB] == Andrei Borzenkov <arvidjaar@gmail.com> has written: AB> On Thu, Aug 3, 2023 at 7:18 AM Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote: MN> [...] MN> > # update-alternatives --config python3 MN> > MN> > then choose the python3 you have installed. AB> On Leap /usr/bin/python3 is not under alternatives control and AB> replacing system python with something else will likely break quite a AB> lot of programs.You need to explicitly use /usr/bin/python311 (or 310 AB> if that is what you installed). MN> Thanks. I fully undertsand. MN> It's totally different from Tumbleweed.... I wrote, but I can't think it's possible that Leap and Tumbleweed have completely different specifications? [...] AB> replacing system python with something else will likely break quite a AB> lot of programs. Please, give us the names of those programs specifically. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
On 2023-08-03 06:18, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: youtube download problems Message-ID : <CAHeBFz1-X4U46+B0evnZ_MiXF2yWyXYO8vVWnuPysYHwT=B2hQ@mail.gmail.com> Date & Time: Wed, 2 Aug 2023 20:31:15 -0700
[CS] == Carl Spitzer <lynuxrocks@gmail.com> has written:
[...] CS> sudo yt-dlp -U CS> [sudo] password for root: CS> Latest version: 2023.07.06, Current version: 2023.01.06 CS> Current Build Hash CS> 3d47785962f7b07d38ab6465d4e4e827bd014805e727b71ecc6f1f56606663b2 CS> Updating to version 2023.07.06 ... CS> Updated yt-dlp to version 2023.07.06 cwsiv@localhost:~> yt-dlp https://www.youtube.com/watch?v=6GcdY5wtpso CS> Traceback (most recent call last): CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module>
CS> ModuleNotFoundError: No module named 'contextvars'
CS> During handling of the above exception, another exception occurred:
CS> Traceback (most recent call last): CS> File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main CS> "__main__", mod_spec) CS> File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code CS> exec(code, run_globals) CS> File "/usr/bin/yt-dlp/__main__.py", line 14, in <module> CS> File "<frozen importlib._bootstrap>", line 971, in _find_and_load CS> File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked CS> File "<frozen importlib._bootstrap>", line 656, in _load_unlocked CS> File "<frozen importlib._bootstrap>", line 626, in CS> _load_backward_compatible CS> File "/usr/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module>
CS> Exception: You are using an unsupported version of Python. Only Python CS> versions 3.7 and above are supported by yt-dlp
The module named 'contextvars' was added since python 3.7.
So, you need python3.7 or later to use yt-dlp.
Telcontar:/etc/systemd/system # ls /usr/bin/python* /usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.10 /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python-config /usr/bin/python2-config /usr/bin/python2.7-config /usr/bin/python3-config /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/pythontex Telcontar:/etc/systemd/system # So, python 3.10 is installed. How to tell yt-dlp to use that one, even if others are installed? Maybe Telcontar:~ # /usr/bin/python3.10 /usr/bin/yt-dlp --version 2023.06.22 Telcontar:~ # But I have not tried to ask for update itself.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
# update-alternatives --config python3
then choose the python3 you have installed.
Telcontar:/etc/systemd/system # update-alternatives --config python3 update-alternatives: error: no alternatives for python3 Telcontar:/etc/systemd/system # update-alternatives --config python update-alternatives: error: no alternatives for python Telcontar:/etc/systemd/system # But I'd hesitate to change the setting globally. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <726a9927-3600-52d0-b433-c45719900597@telefonica.net> Date & Time: Thu, 3 Aug 2023 09:54:06 +0200 [CER] == "Carlos E. R." <robin.listas@telefonica.net> has written: [...] MN> > The module named 'contextvars' was added since python 3.7. MN> > MN> > So, you need python3.7 or later to use yt-dlp. [...] MN> > # update-alternatives --config python3 MN> > then choose the python3 you have installed. CER> Telcontar:/etc/systemd/system # update-alternatives --config python3 CER> update-alternatives: error: no alternatives for python3 CER> Telcontar:/etc/systemd/system # update-alternatives --config python CER> update-alternatives: error: no alternatives for python CER> Telcontar:/etc/systemd/system # CER> But I'd hesitate to change the setting globally. I understand Andrei's point that with Leap, installing python 3.x does not automatically register it in update-alternatives like it does with Tumbleweed, but I think his nuance of not being able to use update-alternatives is misleading. In other words, the update-alternatives setting can be used provisionally, so that python 3.10 is used only when yt-dlp is used, and this is not supposed to affect the behavior of the system. Specifically, you can set the following; # update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 306 # update-alternatives --install /usr/bin/python3 python3 /python3.10 310 Here, python3.10 is automatically selected because it is the mode of choice. So don't forget switch it to global python3.6 by; # update-alternatives --config python3 Then, when you want to use yt-dlp # update-alternatives --config python3 and select python3.10. Needless to say, don't forget to revert to python3.6 when you are done using yt-dlp. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "No Windows, no gains!" ... "Why, I am wrong?" -- Bill --
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system.
On 2023-08-03 11:09, Darryl Gregorash wrote:
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system.
And I have "/usr/bin/python3.10" in mine (leap 15.4). -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system. It seems I didn't dig deep enough.
On 2023-08-03 03:09, Darryl Gregorash wrote: python2.7 is installed on my system, but nothing appears to list it as a dependency. When I ask Yast to remove all python2.7 packages, there are no problems. Curious side-issue: /usr/bin/python3 is a symbolic link to /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is manual page. The real executable is µsr/bin/python3.6m. Say what??
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <e0e75d84-0add-fd1b-d2d9-afcd2d39f33c@accesscomm.ca> Date & Time: Thu, 3 Aug 2023 04:06:39 -0600 [DG] == Darryl Gregorash <raven@accesscomm.ca> has written: DG> On 2023-08-03 03:09, Darryl Gregorash wrote: [...] DG> > python3.11 as a dependency. DG> > Guess what? python3.11 is installed on my system. DG> It seems I didn't dig deep enough. DG> python2.7 is installed on my system, but nothing appears to list it as a DG> dependency. When I ask Yast to remove all python2.7 packages, there are no DG> problems. You hadn't installed gimp-plugins-python (or gimp itself), had you? DG> Curious side-issue: /usr/bin/python3 is a symbolic link to DG> /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is DG> manual page. The real executable is µsr/bin/python3.6m. DG> Say what?? It's strange. Both /usr/bin/python3.6 and /usr/bin/python3.6m are executable. Regards & Good Night. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
Sent as personal message by mistake. Reposting to the list. On 2023-08-03 06:36, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: youtube download problems Message-ID : <e0e75d84-0add-fd1b-d2d9-afcd2d39f33c@accesscomm.ca> Date & Time: Thu, 3 Aug 2023 04:06:39 -0600
[DG] == Darryl Gregorash <raven@accesscomm.ca> has written:
DG> On 2023-08-03 03:09, Darryl Gregorash wrote: [...] DG> > python3.11 as a dependency. DG> > Guess what? python3.11 is installed on my system. DG> It seems I didn't dig deep enough. DG> python2.7 is installed on my system, but nothing appears to list it as a DG> dependency. When I ask Yast to remove all python2.7 packages, there are no DG> problems.
You hadn't installed gimp-plugins-python (or gimp itself), had you?
I have gimp installed, but it does not list python as a dependency. There is no package gimp-plugins-python.
DG> Curious side-issue: /usr/bin/python3 is a symbolic link to DG> /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is DG> manual page. The real executable is µsr/bin/python3.6m. DG> Say what??
It's strange.
Both /usr/bin/python3.6 and /usr/bin/python3.6m are executable.
They are. The exec flag is set on both, but if you check in Dolphin (and maybe others, I only use Dolphin) /usr/bin/python3.6 shows as a man page???
On 2023-08-04 06:14, Darryl Gregorash wrote:
Sent as personal message by mistake. Reposting to the list.
On 2023-08-03 06:36, Masaru Nomiya wrote:
Hello,
...
DG> Curious side-issue: /usr/bin/python3 is a symbolic link to DG> /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is DG> manual page. The real executable is µsr/bin/python3.6m. DG> Say what??
It's strange.
Both /usr/bin/python3.6 and /usr/bin/python3.6m are executable.
They are. The exec flag is set on both, but if you check in Dolphin (and maybe others, I only use Dolphin) /usr/bin/python3.6 shows as a man page???
Well, Dolphin is wrong. cer@Telcontar:~> file /usr/bin/python3.6m /usr/bin/python3.6m: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=396fdc779a004e16983fd32424ac57c040c5c4b6, for GNU/Linux 3.2.0, stripped cer@Telcontar:~> cer@Telcontar:~> /usr/bin/python3.6m Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information.
bye Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'bye' is not defined quit Use quit() or Ctrl-D (i.e. EOF) to exit quit() cer@Telcontar:~>
-- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 2023-08-04 00:58, Carlos E. R. wrote:
On 2023-08-04 06:14, Darryl Gregorash wrote:
Sent as personal message by mistake. Reposting to the list.
On 2023-08-03 06:36, Masaru Nomiya wrote:
Hello,
...
DG> Curious side-issue: /usr/bin/python3 is a symbolic link to DG> /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is DG> manual page. The real executable is µsr/bin/python3.6m. DG> Say what??
It's strange.
Both /usr/bin/python3.6 and /usr/bin/python3.6m are executable.
They are. The exec flag is set on both, but if you check in Dolphin (and maybe others, I only use Dolphin) /usr/bin/python3.6 shows as a man page???
Well, Dolphin is wrong.
I sort of know that already, Carlos. What I am trying to find out is a) why, and b) how to change that, if possible.
On Thu, 3 Aug 2023 04:06:39 -0600 Darryl Gregorash <raven@accesscomm.ca> wrote:
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system. It seems I didn't dig deep enough.
On 2023-08-03 03:09, Darryl Gregorash wrote: python2.7 is installed on my system, but nothing appears to list it as a dependency. When I ask Yast to remove all python2.7 packages, there are no problems.
Curious side-issue: /usr/bin/python3 is a symbolic link to /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is manual page. The real executable is µsr/bin/python3.6m. Say what??
Sounds strange. On my system python3.6 and python3.6m are hardlinked, and the corresponding *-config files are softlinked. All are executable.
Sent as personal message by mistake. Reposting to the list. On 2023-08-03 08:56, Dave Howorth wrote:
On Thu, 3 Aug 2023 04:06:39 -0600 Darryl Gregorash <raven@accesscomm.ca> wrote:
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system. It seems I didn't dig deep enough.
On 2023-08-03 03:09, Darryl Gregorash wrote: python2.7 is installed on my system, but nothing appears to list it as a dependency. When I ask Yast to remove all python2.7 packages, there are no problems.
Curious side-issue: /usr/bin/python3 is a symbolic link to /usr/bin/python3.6. /usr/bin/python3.6 is executable, but its file type is manual page. The real executable is µsr/bin/python3.6m. Say what??
Sounds strange. On my system python3.6 and python3.6m are hardlinked, and the corresponding *-config files are softlinked. All are executable.
Very strange. I checked the requires, and nothing depends on python 3.6, so I may just go ahead and remove it.
which python3 /usr/bin/python3 cwsiv@localhost:~> python3 --version Python 3.6.15 I did a clean install how is it you have 3.11 without anaconda? CWSIV On Thu, Aug 3, 2023 at 2:09 AM Darryl Gregorash <raven@accesscomm.ca> wrote:
On 2023-08-02 22:18, Masaru Nomiya wrote:
So, you need python3.7 or later to use yt-dlp.
The solution to this problem is not difficult; simply install python 3.7 or higher (you will also be asked to install some files, but you can accept them all) and run as root like this;
I just checked my system in some detail. I found that python3.11 is included in the openSUSE repositories, that yt-dlp is installed, and that yt-dlp lists python3.11 as a dependency. Guess what? python3.11 is installed on my system.
Sent as personal message by mistake. Reposting to the list. On 2023-08-03 09:52, Carl Spitzer wrote:
which python3 /usr/bin/python3 cwsiv@localhost:~> python3 --version Python 3.6.15
I did a clean install how is it you have 3.11 without anaconda?
hadron:~ # rpm -q --requires yt-dlp /usr/bin/python3.11 ffmpeg python311 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 hadron:~ # hadron:~ # yt-dlp --version 2023.06.22 hadron:~ # That is from the oS repositories. Where did you get your version from? If not from the repositories, perhaps you want to replace what you've got now with that.
Hello, In the Message; Subject : Re: youtube download problems Message-ID : <0173dda4-5223-6bf7-2d26-28824dfcb356@accesscomm.ca> Date & Time: Thu, 3 Aug 2023 22:16:18 -0600 [DG] == Darryl Gregorash <raven@accesscomm.ca> has written: DG> Sent as personal message by mistake. Reposting to the list. [...] DG> hadron:~ # rpm -q --requires yt-dlp DG> /usr/bin/python3.11 DG> ffmpeg DG> python311 DG> rpmlib(CompressedFileNames) <= 3.0.4-1 DG> rpmlib(FileDigests) <= 4.6.0-1 DG> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 DG> rpmlib(PayloadIsXz) <= 5.2-1 DG> hadron:~ # DG> hadron:~ # yt-dlp --version DG> 2023.06.22 DG> hadron:~ # DG> That is from the oS repositories. Where did you get your version from? DG> If not from the repositories, perhaps you want to replace what you've got now DG> with that. Where did you get this from? I just know it's not here ...................... https://download.opensuse.org/repositories/network:/utilities/ DG> hadron:~ # rpm -q --requires yt-dlp DG> /usr/bin/python3.11 This is rare. Usually, it's like this. $ rpm -q --requires yt-dlp /usr/bin/python3 ffmpeg python3 [...] In fact, this yt-dlp can be used on any python distribution with 3.7 or higher. One more question. How does it coexist with the system-specific python3.x? To: Carl Use python3.11 with update-alternatives. update-alternatives will never harm your system. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Hassabis says that no one really knows for sure that AI will become a major danger. But he is certain that if progress continues at its current pace, there isn’t much time to develop safeguards. "I can see the kinds of things we're building into the Gemini series right, and we have no reason to believe that they won't work," he says." -- "Google DeepMind's CEO Says Its Next Algorithm Will Eclipse ChatGPT" --
On 2023-08-04 01:28, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: youtube download problems Message-ID : <0173dda4-5223-6bf7-2d26-28824dfcb356@accesscomm.ca> Date & Time: Thu, 3 Aug 2023 22:16:18 -0600
[DG] == Darryl Gregorash <raven@accesscomm.ca> has written:
DG> Sent as personal message by mistake. Reposting to the list.
[...] DG> hadron:~ # rpm -q --requires yt-dlp DG> /usr/bin/python3.11 DG> ffmpeg DG> python311 DG> rpmlib(CompressedFileNames) <= 3.0.4-1 DG> rpmlib(FileDigests) <= 4.6.0-1 DG> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 DG> rpmlib(PayloadIsXz) <= 5.2-1 DG> hadron:~ # DG> hadron:~ # yt-dlp --version DG> 2023.06.22 DG> hadron:~ # DG> That is from the oS repositories. Where did you get your version from? DG> If not from the repositories, perhaps you want to replace what you've got now DG> with that.
Where did you get this from?
I just know it's not here ......................
https://download.opensuse.org/repositories/network:/utilities/
Oops, mea culpa -- my version is installed off Packman. Clearly I wasn't paying attention to all the small details.
DG> hadron:~ # rpm -q --requires yt-dlp DG> /usr/bin/python3.11
This is rare.
Usually, it's like this.
$ rpm -q --requires yt-dlp /usr/bin/python3 ffmpeg python3 [...]
In fact, this yt-dlp can be used on any python distribution with 3.7 or higher.
One more question.
How does it coexist with the system-specific python3.x?
To: Carl
Use python3.11 with update-alternatives.
update-alternatives will never harm your system.
Regards.
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Hassabis says that no one really knows for sure that AI will become a major danger. But he is certain that if progress continues at its current pace, there isn’t much time to develop safeguards. "I can see the kinds of things we're building into the Gemini series right, and we have no reason to believe that they won't work," he says."
-- "Google DeepMind's CEO Says Its Next Algorithm Will Eclipse ChatGPT" --
On 8/2/23 20:31, Carl Spitzer wrote:
cwsiv@localhost:~> yt-dlp --version 2023.01.06 cwsiv@localhost:~> yt-dlp https://www.youtube.com/watch?v=6GcdY5wtpso [youtube] Extracting URL: https://www.youtube.com/watch?v=6GcdY5wtpso [youtube] 6GcdY5wtpso: Downloading webpage [youtube] 6GcdY5wtpso: Downloading android player API JSON ERROR: [youtube] 6GcdY5wtpso: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U cwsiv@localhost:~>
I extracted the file without issue, and I'm running yt-dlp 2023.01.06 too. Just install Anaconda, Carl. It goes in your home directory and doesn't touch Leap's python. It's free and works well. You can turn it off and on by editing ~/.bashrc. https://www.anaconda.com/ Then run sudo yt-dlp -U again. Regards, Lew
On 8/2/23 18:17, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: youtube download problems Message-ID : <ec2d85f6-ef5f-8c13-38eb-ed19ae6fe2ca@suddenlinkmail.com> Date & Time: Wed, 2 Aug 2023 14:01:24 -0500
[DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written:
DCR> On 8/2/23 09:02, Lew Wolfgang wrote: LW> > About a month ago youtube-dl stopped working for me with on Leap 15.4 LW> > This led me to try a fork of youtube-dl called yt-dlp. It pulls content LW> > from youtube slicker than snails through a goose! I wonder if youtube LW> > didn't change something that threw off youtube-dl. yt-dlp appears LW> > to be more current.
DCR> This is what I suspect. Streaming services went on a kick to up DCR> revenue a few months ago implementing access DCR> restrictions. youtube likely joined the party.
I don't think so. I am still able to download without any problems.
I think the problem with Leap 15.4 is that youtube-dl or yt-dlp is out of date.
I'm using the very latest of git head for both.
I am happy to see that the sound quality of youtube has improved since around April.
If I recall, youtube-dl has a way to check it's currency. I tried that but it didn't help. For the record, I've only downloaded content that I've previously purchased, one way or the other. I just purchased five CD's a couple of weeks ago, not for the whole album, but just to rip one or two tracks. I recently noticed that the youtube downloads can be higher quality than the cdr files off of CD's. I load the flac files onto a usb memory stick for the entertainment system in my car. As an aside, I'm a bit confused about youtube. The music content there is huge, I found lots of music from the '50's and before, and the audio quality is superb. It seems to be better than Napster ever was, yet they were sued out of existence. How does youtube get away with it? Do they pay the DRM fees out of advertising revenue? Or do they just ignore the whole DRM thing and can get away with it because they're so large? I even found Gogi Grant singing "The Wayward Wind" from 1952. I had a crush on her when I was a kid. Regards, Lew
On Wed, 2023-08-02 at 07:02 -0700, Lew Wolfgang wrote:
There was a bit of a problem running it though. It had a python version dependency not satisfied by the installed python system. So I installed Anaconda which addressed the problem. Anaconda can be installed per-user and can live solely within a user's home directory, so it doesn't interfere with operating system functions.
How did you install in the user directory? I definitely do not want to alter the man system. CWSIV
participants (10)
-
Andrei Borzenkov
-
Carl Spitzer
-
Carl Spitzer {L Juno}
-
Carlos E. R.
-
Darryl Gregorash
-
Dave Howorth
-
David C. Rankin
-
Lew Wolfgang
-
Masaru Nomiya
-
Robert Webb