Menu

#58 New fix.

Git
closed-invalid
nobody
None
5
2024-08-19
2024-08-17
Patrick
No

Yo. I don't use sourceforge. I'm on linux.
My mcomix version is: MComix 1.3.0.dev0
My PIL version is: 10.4.0

I got this error:

16:56:29 [MainThread] ERROR: You don't have the required version of the Pillow installed.
16:56:29 [MainThread] ERROR: Installed PIL version is: 10.4.0
16:56:29 [MainThread] ERROR: Required Pillow version is: 5.1.0 or higher

Editing this file:
/usr/share/mcomix/mcomixi/run.py

Lines: 136-152

Replaced code:

    import PIL.Image
    pilver = getattr(PIL.Image, '__version__', None)
    if not pilver:
        pilver = getattr(PIL.Image, 'PILLOW_VERSION', None)
        log.warning(_('Please download the latest version of Pillow from {}').format(
            'https://pypi.org/project/Pillow/'))
        setattr(PIL.Image, '__version__', pilver)

except AttributeError:
    log.error(_('You don\'t have the required version of the Pillow installed.'))
    log.error(_('Required Pillow version is: %s or higher') % constants.REQUIRED_PIL_VERSION)
    wait_and_exit()

except ImportError:
    log.error(_('Pillow %s or higher is required.') % constants.REQUIRED_PIL_VERSION)
    log.error(_('No version of the Pillow was found on your system.'))
    wait_and_exit()

Discussion

  • Oddegamra

    Oddegamra - 2024-08-19
    • status: open --> closed-invalid
     
  • Oddegamra

    Oddegamra - 2024-08-19

    This problem has already been resolved with MComix 2.2.0. Please upgrade MComix to a more recent version.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.