FS#62237 - [cinnamon] broken with python-pillow-6.0.0

Attached to Project: Community Packages
Opened by Bernhard Landauer (oberon) - Friday, 05 April 2019, 08:47 GMT
Last edited by Balló György (City-busz) - Friday, 05 April 2019, 21:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Eli Schwartz (eschwartz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

with upgrade python-pillow to 6.0.0:

$ cinnamon-settings
libgoa-backend-1.0.so.1: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/cinnamon-control-center-1/panels/libonline-accounts.so
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 625, in <module>
window = MainWindow()
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 253, 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'
This task depends upon

Closed by  Balló György (City-busz)
Friday, 05 April 2019, 21:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  cinnamon 4.0.10-2
Comment by Bernhard Landauer (oberon) - Friday, 05 April 2019, 08:47 GMT
Sorry, should have specified: It's just cinnamon-settings that is broken. But part of cinnamon pkg.
Comment by Bernhard Landauer (oberon) - Friday, 05 April 2019, 08:54 GMT
maybe cinnamon-control-center needs a rebuild?
Comment by Bernhard Landauer (oberon) - Friday, 05 April 2019, 08:56 GMT Comment by Bernhard Landauer (oberon) - Friday, 05 April 2019, 09:15 GMT
workaround:
sed -i 's/Image.VERSION/Image.__version__/' files/usr/share/cinnamon/cinnamon-settings/bin/imtools.py

Loading...