Andrei Borzenkov wrote:
On 05.10.2023 14:49, Siard via openSUSE Users wrote:
After an update, about a week ago, I get this error message when I start mcomix in TW:
13:43:06 [MainThread] ERROR: You don't have the required version of the Python Imaging Library Fork (Pillow) installed. 13:43:06 [MainThread] ERROR: Installed Pillow version is: 10.0.1 13:43:06 [MainThread] ERROR: Required Pillow version is: 6.0.0 or higher
Apparently, 10 is considered lower than 6. Is there a workaround?
If you are desperate, you can simply edit away this check in source code (it is Python so source code is available), like replacing string to compare with by "0.0.0".
Undoubtedly it is very simple once you know how to do it, however, I never edited source code, so first I'll have to study it one day....
As far as I understand, there are no older versions of packages for TW.
Which package? If you mean pillow, you can look at https://download.opensuse.org/tumbleweed/
I could not find python310/311-Pillow versions older than 10.0.1 there.
The mcomix itself needs newer version. Someone would need to submit update. Looking at its site, there are versions 2.3 and 3.0 with version check fix. I expect bumping 2.1 to 2.3 should be relatively simple, not sure about 3.0.
Ah! That was the solution. Version 3.0 could only be installed with flatpak, but it had all kinds of problems; it did not see the files, among others. But I could install 2.3.0 following the directions in the Readme: As root: # tar xfz mcomix-2.3.0.tar.gz # cd mcomix-2.3.0 # python3 setup.py install And voilà, up and running again. Thanks!