Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683868 - games-board/pysolfc-2.6.2 with dev-python/pillow-6.0.0 - AttributeError: module 'PIL.Image' has no attribute 'VERSION'
Summary: games-board/pysolfc-2.6.2 with dev-python/pillow-6.0.0 - AttributeError: modu...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-20 05:27 UTC by Patrice Levesque
Modified: 2019-04-22 15:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.