You are not logged in.

#1 2019-04-05 09:25:56

jpegxguy
Member
From: Earth
Registered: 2018-06-18
Posts: 35

python-pillow 6.0.0 breaks cinnamon-settings (cinnamon 4.0.10-1)

$ cinnamon-settings
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 619, in <module>
    window = MainWindow()
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 247, in __init__
    for module in modules:
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py", line 5, in <module>
    import imtools
  File "/usr/share/cinnamon/cinnamon-settings/bin/imtools.py", line 623, in <module>
    if Image.VERSION == '1.1.7':
AttributeError: module 'PIL.Image' has no attribute 'VERSION'

Downgraded to 5.4.1 for now.

Last edited by jpegxguy (2019-04-05 09:26:51)


hi

Offline

#2 2019-04-05 10:00:56

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,975
Website

Re: python-pillow 6.0.0 breaks cinnamon-settings (cinnamon 4.0.10-1)

Seems that

PIL.Image.VERSION

has been changed to

PIL.Image.__version__

Update: Suggested a patch upstream: https://github.com/linuxmint/cinnamon/issues/8495

Last edited by schard (2019-04-05 10:12:02)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Online

#3 2019-04-06 13:31:41

myrlin
Member
Registered: 2010-06-11
Posts: 297

Re: python-pillow 6.0.0 breaks cinnamon-settings (cinnamon 4.0.10-1)

Also breaks PysolFC.

Offline

#4 2019-04-22 21:15:40

dojero
Member
Registered: 2011-11-26
Posts: 36

Re: python-pillow 6.0.0 breaks cinnamon-settings (cinnamon 4.0.10-1)

PysolFC in Arch Community is out of date (and it's flagged out of date). The current version of PySolFC is 2.6.3. This version plays fine with the newest python-pillow.

The workaround for those waiting for an update to the Community version is to download PySolFC from github (version 2.6.3). It can be run with a simple: ./pysol.py

Offline

Board footer

Powered by FluxBB