Ueberzug is not working for me. alium (https://forum.artixlinux.org/index.php?action=profile;u=282) sent a reply to this (https://forum.artixlinux.org/index.php?topic=2037.msg13636#msg13636) topic, saying that all the python packages have been updated to work with Python 3.9 a few minutes ago. I just updated my system, and even after updating, ueberzug still does not work. (it kinda works, but when I try to switch images, it gives this error):
Task exception was never retrieved
future: <Task finished name='Task-7' coro=<shutdown() done, defined at /usr/lib/python3.9/site-packages/ueberzug/layer.py:88> exception=AttributeError("type object '_asyncio.Task' has no attribute 'all_tasks'")>
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/ueberzug/layer.py", line 89, in shutdown
tasks = [task for task in asyncio.Task.all_tasks()
AttributeError: type object '_asyncio.Task' has no attribute 'all_tasks'
installed via pip or via pacman from archlinux community?
via pacman, from the archlinux community repo.
I solved this by uninstalling ueberzug and installing python-ueberzug-git from AUR by using an AUR helper (yay in my case).
Python has been updated recently, it caused a number of problems. I suspect it will take some time before things are back in order.
P.S: Just goes to show what a bloated mess Python is.
interestingly! just uninstalling and installing again solved the problem. can you please try to see if the same procedure works for community packages as well? (Ueberzug is an archlinux package, not ours.)
strajder, your problems please report here https://forum.artixlinux.org/index.php/topic,2041.new.html#new
I use ueberezug to view images in ranger and in a custom script to show cover art images for songs playing on mpd. Strangely, ueberzug is working on ranger, but not on the script (https://pastebin.com/ZLx6ZDeX). I also tried the AUR version and even tried installing through pip, but none worked.
could it not happen that when switching to git version due to changes in source code in git script does not work?
if it works with another program and not with the script, won't there be a script error?
So does the program itself work?
I noticed that when ueberzug used to leave open processes when called by ranger and I would quit ranger, their command was /usr/bin/python /usr/bin/ueberzug [etc...] so maybe try prepending full path to Python executable to the call to ueberzug and also full path to ueberzug?