yt-dlp 2023.1.6.1 error with YTPlay
Doug Webb (190) 1151 posts |
Hi, It seems that there is a known issues with the packman version we currently have of yt-dlp. ERROR: [youtube] Z6qnRS36EgE: Unable to extract uploader id; please report The fix is to update to 2023.2.17 but that isn’t yet available on Packman and also the Python3 pip update command whilst downloading the latest version can’t install it. I have sent an email to the GCCDSK list as per the Packman information and await a reply unless Chris pops up here in the mean time. |
Doug Webb (190) 1151 posts |
Well today 2023.2.17 YT-DLP turns up on Packman and I can play YouTube videos again so well done to all those involved. |
George T. Greenfield (154) 721 posts |
I’ve fired up Packman and installed the latest version of YT-DLP. Problem is, I don’t know where Packman has put it! My current version of !YTPlay – 3.21 – is still sitting in $.Apps.Video, which is where Packman put it originally, still showing the same stamp details and still not able to play current YT videos, despite having ‘YouTube-Search’ upgraded. YT-DLP is not in $.Apps.Video, and doing a ‘Find YT-DLP’ on the entire !Boot folder reveals that Boot.Resources.!Packages lists it as installed, but the app itself is nowhere to be seen. |
David Pitt (9872) 306 posts |
Packman puts YT_DLP 2023.2.17-1 into !PythonSite which by default is in !Boot.Resources. !PythonSite.Python38.Site-Packages.yt_dlp To verify that. *yt-dlp --version 2023.02.17 * |
George T. Greenfield (154) 721 posts |
Thanks for the advice, David.
is what I get. However, PackMan apparently installed it OK and the ‘YT_DLP’ entry in the PackMan list is green-ticked. $.PythonSite.Python38.Site-Packages.yt_dlp shows a whole raft of text files which weren’t there before, starting with aes/py. So not sure what’s going on. |
David Pitt (9872) 306 posts |
Are there more than one PythonSites, one one thinks one is using and another that PackMan downloads to. That was achieved here when PackMan installed yt-dlp into !Boot.Resources but my PythonSite was where I put it ages ago. PackMan does allow the location for PythonSite to be selected as part of the full Python install. I don’t usually use PackMan but on this occasion I forgot myself and messed up a bit. *show python* Python3$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!Python3 Python3$Path : ADFS::Titan4.$.Progm.Progm2.Python.!Python3. PythonSite$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!PythonSite PythonSite$Path : ADFS::Titan4.$.Progm.Progm2.Python.!PythonSite. PythonUser$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!PythonUser |
George T. Greenfield (154) 721 posts |
•show python• returns nothing. Doing a FIND ‘!PythonSite’ on the !Boot directory shows: $.Boot.Resources.PythonSite and that’s it. FWIW, attempting to play a Youtube video on !YTPlay now fails with the error ‘file python3 not found’. But then !YTPlay had stopped working anyway some weeks ago. |
Raik (463) 2031 posts |
After a log period of “not using” I have reinstalled all the stuff around on Titanium. In PythonSite.Python38.Site-Packages.certifi.core/py I have change the line CACERT_CTX = getpath(“certifi”, “cacert.pem”)to CACERT_CTX = getpath(“certifi”, “cacert/pem”)And sorry, I should upload a new version to !Store. If you use a fresh download, you should edit the file !YTPlay.Resources.youtube-dl and change the line youtube_dl import main to from yt_dlp import main |
George T. Greenfield (154) 721 posts |
I’m running – or trying to run – YTPlay v.3.21, but getting an error message ‘Python3 not found’ on dropping a YouTube address onto the icon. Any suggestions what might be going wrong? |
David Pitt (9872) 306 posts |
There is a further update. *yt-dlp --version 2023.03.04 * I accidentally managed to get that error here but that was because the !Python3 app had not been seen by the filer, once it had, and subject to Raik’s changes above, YTPlay V3.21 played.
*Show *python* Alias$python3 : python38 %*0 Alias$python38 : WimpSlot -min 8M|MRun python38 %*0 Python3$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!Python3 Python3$Path : ADFS::Titan4.$.Progm.Progm2.Python.!Python3. python3$pres : yes PythonSite$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!PythonSite PythonSite$Path : ADFS::Titan4.$.Progm.Progm2.Python.!PythonSite. PythonUser$Dir : ADFS::Titan4.$.Progm.Progm2.Python.!PythonUser UnixEnv$PYTHONIOENCODING : utf-8 * |
George T. Greenfield (154) 721 posts |
What I get (when YTPlay is loaded to the iconbar). !PythonSite is resident in !Boot.Resources, and contains three directories, respectively ‘Data’, ‘Python38’ and ‘Scripts’. PS: inserting actual * makes Textile do weird things, hence the clumsy [star] |
David Pitt (9872) 306 posts |
!Python3 is missing or just not being seen by the filer. !Python3 is in the PackMan package Python-38 and by default is installed in Apps. Development. PackMan should offer to boot it at start up, but that can be arranged with the Boot configuration. asterisk is bold in textile, to actually see an asterisk wrap it in code, notextile or pre tags. Testing code, Testing notextile, Testing pre *help |
George T. Greenfield (154) 721 posts |
I tried de-installing and reinstalling YT-dlp from !PackMan without success – the reinstallation failed with a ‘cannot download and install…’ error from !PackMan. Fortunately I was able to roll back to a backup from a few months ago which included a clean copy of YTPlay, and was then able to install YT-dlp successfully. But the crucial step was to make the change specified by Raik above:
after which YTPlay was able to play YouTube videos without problem. Thanks to David and Raik for advice and help. |