You are not logged in.
Just tried chafa and it does not render the content appropriately, ueberzug works way better.
Do I get it right, ueberzug got broken because it depends on Python 3.11 and Arch switched to Python 3.12? Does that also mean ueberzug has to be updated in order to properly work with Python 3.12 ?
Offline
That is a possbility and there's atleast one issue ueberzug has with python 3.12 , https://github.com/ueber-devel/ueberzug/issues/19
More info is needed.
boot to an updated system, use lf/ctpv/ueberzug .
run (with root rights)
journalctl -b | curl -F 'file=@-' 0x0.st
post the url it outputs.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
use lf/ctpv/ueberzug .
What do you exactly mean by this?
Offline
We need messages from ctpv and ueberzug while being used.
In the opening post of this thread you said :
ctpv prieview does not work for lf anymore after the last upgrade, it does not show any previews anymore.
To ensure ctpv / ueberzug have something to report to the journal :
, start lf
run several commands that should show previews (listing files in a directory ?)
incase you do other things with ctpv / ueberzug execute those.
After doing that, run the curl command so I can see the journal and look for clues in it.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That command does not show anything pertaining to ueberzug or ctpv, it shows system log.
But I did the following:
[user@arch ~]$ ueberzug layer -l Downloads/icons8-code-48.png
Traceback (most recent call last):
File "/usr/bin/ueberzug", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/ueberzug/__main__.py", line 55, in main
module.main(options)
File "/usr/lib/python3.12/site-packages/ueberzug/layer.py", line 218, in main
image_loader = (loading.ImageLoaderOption(options['--loader'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/enum.py", line 757, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/enum.py", line 1171, in __new__
raise ve_exc
ValueError: 'Downloads/icons8-code-48.png' is not a valid ImageLoaderOption
Offline
what python packages should I downgrade to 3.11 in order for ueberzug to work properly?
Offline
Do you have python-setuptools installed? That vendors distutils so should provide distutils under python 3.12 for ueberzug.
Edit:
@Lone_Wolf what about stracing what ctpv is doing? That would at least capture the commands it is running.
Last edited by loqs (2024-05-22 00:00:48)
Offline
Do you have python-setuptools installed? That vendors distutils so should provide distutils under python 3.12 for ueberzug.
lol. This fixed the issue, ueberzug seems to be working now. Can I ask you how did you know this solution?
Offline
Thanks for helping out, loqs.
Can I ask you how did you know this solution?
Maybe because the ueberzug issue I linked in #27 mentioned removal of python-setuptools as the problem ?
(I should have suggested it myself, but didn't realize that could be the reason of the problems).
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
following two packages work for this case:
python-setuptools
python-distutils-extra
Offline