-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using an unsupported version of Python [fixed itself?] #1824
Comments
I came on to say I got a similar error, it failed saying python too old "Only Python versions 3.9 and above are supported by yt-dlp" however the issue is I refused all the updates of seal - how could it now not want to use the 3.8 that was installed? |
That would make you the third person that I've seen in the issues section of this app that has the same problem.
Hope that works for you, my guy. |
update seal to version 1.13.1 |
The newest available version on F-Droid is 1.13.0 though. |
I still had "auto update" ticked - so what might have happened was it checked for the latest version of seal and updated yt-dlp without user consent and then nagged user to update seal. Auto update for yt-dlp is on general settings so, solved. obviously yt-dlp people need to signify major changes, maybe by major version increment and if they do that, the seal author can prevent updates that could break it. yt-dlp included with 12 is too old for yt. |
yt-dlp maintainer here.
Back at the beginning of June we announced we would be removing support for Python 3.8 in October 2024, and we pinned the announcement to the top of our issue tracker. We added a deprecation warning to the program in September and made another announcement in the changelog before the removal of Python 3.8 support. We have added yet another announcement to the changelog of all releases that have removed Python 3.8 support. Note that we have not even removed 3.8 support from yt-dlp stable releases yet. This change has only been made in nightly/master so far. The Python Software Foundation itself stopped supporting Python 3.8 completely on 2024.10.07.
yt-dlp uses calendar versioning, so no such thing could be done.
Perhaps Seal and/or youtubedl-android could parse/check the yt-dlp lockfile (which yt-dlp's self-updater uses to regulate upgrades)? yt-dlp would need to write/publish a specification for this file first, though |
Checklist
Describe the bug
I regularly download music with seal from YouTube which has worked until recently.
If I remember I had the same bug on my other android device which is an OPPO but was able to fix it by clearing the cache and updating the yt-dlp.
On my phone, used exclusively for music and outdoor activities however said fix didn't work.
I tried downloading another video in my preferred settings (max quality, audio only, convert to mp3) which has a length of 2:37 which worked just fine.
EDIT As I tried reproducing the bug in order to provide screenshots it suddenly simply worked...
Since I am definitely not schizophrenic and the bug might provide some benefit as feedback I am still going to post it
EDIT NO.2 I forgot to mention that I also changed my version from nightly to stable before trying to reproduce the bug. This might be an important detail.
As always, thanks for your insanely great app. I can't even tell you how much I appreciate each and everyone contributing to such a great project.
And sorry if my bug report is lacking.
To Reproduce
Error reports
App version: 1.13.0-(F-Droid) (11301)
Device information: Android 11 (API 30)
Supported ABIs: [armeabi-v7a, armeabi]
Yt-dlp version: 2024.10.25.232902
URL: https://m.youtube.com/watch?v=iwaig04vZu4
Traceback (most recent call last):
File "/data/user/0/com.junkfood.seal/no_backup/youtubedl-android/packages/python/usr/lib/python3.8/runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/data/user/0/com.junkfood.seal/no_backup/youtubedl-android/packages/python/usr/lib/python3.8/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/data/user/0/com.junkfood.seal/no_backup/youtubedl-android/yt-dlp/yt-dlp/main.py", line 14, in
File "", line 259, in load_module
File "/data/user/0/com.junkfood.seal/no_backup/youtubedl-android/yt-dlp/yt-dlp/yt_dlp/init.py", line 4, in
ImportError: You are using an unsupported version of Python. Only Python versions 3.9 and above are supported by yt-dlp
Screenshots & Screen Records
Additional context
Additional Infos about my phone:
Redmi Note 9A (M2006C3LG)
MIUI Global / 12.5.7 stable / 12.5.7(RCDEUXM)
32GB Storage
2GB Ram
CPU Helio G25 Octa-core Max. 2Ghz
Android 11 RPA.200720.11
KERNEL 4.19.127-perf-ga0b9294047ee
Baseband MOLY.LR12A.R3.MP.V134.1.P75
The "add 0.5 GB RAM" option is disabled since it just works when you have enough disk space apparently
Banged up because of daily use in the outdoors
below 1GB Storage left
Has no Sim
Doesn't support 5G or 5Ghz WiFi
If you haven't used that specific phone it is insanely slow and can't even run two apps at the same time without one of them crashing.
If you're actively downloading something changing from viewing the progress to let's say just looking at the desktop/home screen may lead to a crash
Final note: it took 15 minutes for the download to finish on a steady 6Mbit wifi connection.
The text was updated successfully, but these errors were encountered: