Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 683868

Summary: games-board/pysolfc-2.6.2 with dev-python/pillow-6.0.0 - AttributeError: module 'PIL.Image' has no attribute 'VERSION'
Product: Gentoo Linux Reporter: Patrice Levesque <gentoo.wayne>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/shlomif/PySolFC/issues/108
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrice Levesque 2019-04-20 05:27:52 UTC
Pillow API changed between version 5 and 6, causing pysol to now fail with:

    if TOOLKIT == 'tk' and Image and Image.VERSION >= '1.1.7':
AttributeError: module 'PIL.Image' has no attribute 'VERSION'

This was already reported upstream:
https://github.com/shlomif/PySolFC/issues/108

And bug can be fixed in gentoo by applying the associated patch:
https://github.com/shlomif/PySolFC/commit/fa20e7f834a1385f383f09a3aa8f4fb4bb86da18.patch

Reproducible: Always
Comment 1 Patrice Levesque 2019-04-22 15:57:22 UTC
Careless reporter had installed games-board/pysolfc from an overlay; the official gentoo repo already has the patch.

Sorry for the noise.