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? As far as I understand, there are no older versions of packages for TW.
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".
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/ 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.
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!
Hello, In the Message; Subject : Mcomix Message-ID : <20231005134912.904ed984b186a046db5eaa11@mailbox.org> Date & Time: Thu, 5 Oct 2023 13:49:12 +0200 Siard via openSUSE Users <users@lists.opensuse.org> has written:
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? As far as I understand, there are no older versions of packages for TW.
It's a bug in mcomix. That is, it cannot check the version beyond two digits, and judges the version of Pillow to be 0. Occasionally, such software is found. Anyway, I'll attach a patch and you can put it in ~/. Then, do the following; # cd /usr/lib/python3.11/site-packages # pacth -p1 < /home/$USER/run.patch Regards & Good Night. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Companies have come to view generative AI as a kind of monster that must be fed at all costs―even if it isn’t always clear what exactly that data is needed for or what those future AI systems might end up doing." -- Generative AI Is Making Companies Even More Thirsty for Your Data --
participants (3)
-
Andrei Borzenkov
-
Masaru Nomiya
-
Siard