Open MaxLPM opened 2 months ago
Thank you for reporting. I think it's fine to keep this as an issue - even if you didn't create this issue, chances are someone else will end up creating this anyway.
Hopefully anyone else who experiences this will check the issue tracker first before creating a duplicate issue. If it becomes necessary I can also pin this issue for greater visibility.
Installing python-distutils-extra
solves the problem on Arch, thanks!
for anything Debian based, just run apt install python3-distutils
Update: in Debian Unstable the package is now python3-distutils-extra, though the above remains the same for Stable
Update 2: on Arch, it looks like everything works fine without python3-distutils-extra, so there's no need to install it now
Right now, previews with Ueberzug don't work without installing python's
distutils
package, which is deprecated in python 3.12. Without it,lf
is stuck in an infinite "loading..." loop, with no errors getting reported. In ueber-devel/ueberzug (which most distros use a replacement for the original ueberzug) distutils is still used, though some progress is being made. Currently, the solution is to use python 3.11 and install thedistutils
package, since it doesn't come as a dependency to ueberzug. So, for anything Debian based, just runapt install python3-distutils
. On Arch you need to downgrade to 3.11 and install python3-distutils-extra, though partial downgrades are not supported, which may cause problems. I'm creating this issue just to document the current events, since I spent a lot of time trying to figure out what's going on here :) The issue may become irrelevant in a month or two, but I hope it helps someone, since I couldn't find any info on this without jumping down multiple rabbit holes. So, sorry if creating an issue is the wrong way to do this, maybe it can be mentioned in the wiki?