JunkFood02 / Seal

🦭 Video/Audio Downloader for Android, based on yt-dlp, designed with Material You
GNU General Public License v3.0
11.33k stars 496 forks source link

using an unsupported version of Python [fixed itself?] #1824

Open gd0666 opened 3 hours ago

gd0666 commented 3 hours ago

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

  1. Go to URL: https://m.youtube.com/watch?v=iwaig04vZu4
  2. Copy and paste (or share) into Seal
  3. Try downloading in the above mentioned settings
  4. ???
  5. Profit

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

Screenshot_2024-10-26-22-38-06-989_com junkfood seal

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.

Noitarud commented 2 hours ago

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? Presently 1.12.0

gd0666 commented 1 hour ago

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? Presently 1.12.0

That would make you the third person that I've seen in the issues section of this app that has the same problem. Pretty sure this isn't just our fault but something worth of a fix. In the meantime maybe try the steps I took for a possible workaround :

Hope that works for you, my guy.

bashonly commented 1 hour ago

update seal to version 1.13.1

gd0666 commented 1 hour ago

update seal to version 1.13.1

The newest available version on F-Droid is 1.13.0 though. And I am way too lazy to look up another way to side load apps especially when it seems like it fixed itself. But thanks for the general recommendation. If I encounter another bug like this and there is a newer version that ain't on F-Droid yet, I will of course look into it and educate myself.

Noitarud commented 42 minutes ago

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. If so I could go "back" to 12 if I disable github checking (provided all checking is disabled by that)