Open AleMunin opened 2 years ago
On Ubuntu 22.04 it works, but on 18.04 it fails with the following error:
/usr/lib/python3.10/lib-dynload/_contextvars.cpython-310-x86_64-linux-gnu.so: failed to map segment from shared object
The problem is caused by AppArmor:
audit: type=1400 audit(1667088867.506:95): apparmor="DENIED" operation="file_mmap" profile="snap.video-downloader.video-downloader" name="/usr/lib/python3.10/lib-dynload/_contextvars.cpython-310-x86_64-linux-gnu.so" pid=2466 comm="python3" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0
I don't think there is anything we can do about it. Just use the Flatpak version.
Says I need python 3.7 or above
The error message from yt-dlp is a red herring. It runs with Python 3.10 from core22, but fails because of the above error.
Flatpak version gave me the same error. Unlike snap, however, does not break when I try to use a previous version.
If you don't mind, I'll leave what I did here to fix the problem for me in case anyone is going through the same thing:
flatpak install flathub com.github.unrud.VideoDownloader
flatpak remote-info --log flathub com.github.unrud.VideoDownloader
flatpak update --commit=5960d36a22495ffa4e77a4ce7a21827968529ba70787b545c59610468f952748 com.github.unrud.VideoDownloader
flatpak mask com.github.unrud.VideoDownloader
Thank you for your time. And again, amazing piece of software you made. I have it on my shortcuts for gnome-pie and recommend to everyone I know.
What exact distribution are you using? I have no problems with the Flatpak version Ubuntu 18.04.
Zorin 15.3 Core
This issue should likely go away for me when I upgrade next year, do you want me to test it on a machine with Zorin 16?
I tested on Zorin 16.2 (Python 3.8.10), it works like a charm (still miss being able to pick up the theme though).
I'm not using Zorin 15.2 anymore, but the trick of rolling back and stopping updated worked until I didn't need the OS anymore.
I'm not quite sure if it is something worth fixing, since it is a matter of updating python, but I felt that you should know.
Once again, thank you for this piece of software, it is the best vieo downloader I got in my entire life.
Snap version of the software stopped working after the update.
It no longer follows the dark theme, and it never downloads anything anymore.
Says I need python 3.7 or above (i am on 3.6.9 and am having trouble upgrading it for a while)
Note: i tried to downgrade the snap version to a previous version but apparently it is not listed?