Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705428 - games-misc/opengfx-0.5.5 : Error: (AttributeError) module PIL.Image has no attribute PILLOW_VERSION .
Summary: games-misc/opengfx-0.5.5 : Error: (AttributeError) module PIL.Image has no at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/OpenTTD/nml/commit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-14 18:12 UTC by Toralf Förster
Modified: 2020-01-14 18:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.33 KB, text/plain)
2020-01-14 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.01 KB, text/plain)
2020-01-14 18:12 UTC, Toralf Förster
Details
environment (environment,20.76 KB, text/plain)
2020-01-14 18:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.71 KB, application/x-bzip)
2020-01-14 18:13 UTC, Toralf Förster
Details
games-misc:opengfx-0.5.5:20200114-020435.log (games-misc:opengfx-0.5.5:20200114-020435.log,5.08 KB, text/plain)
2020-01-14 18:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.36 KB, application/x-bzip)
2020-01-14 18:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-14 18:12:53 UTC
nmlc ERROR: nmlc: An internal error has occurred:
nmlc-version: 0.4.5
Error:    (AttributeError) "module 'PIL.Image' has no attribute 'PILLOW_VERSION'".
Command:  ['/usr/lib/python-exec/python3.6/nmlc', '-c', '-p', 'DOS', '-M', '--MF=ogfx1_base.grf.dep', '--grf', 'ogfx1_base.grf', 'ogfx1_base.nml']
Location: File "/usr/lib64/python3.6/site-packages/nml/version_info.py", line 74, in get_lib_versions


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200109-231533

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 14 Jan 2020 00:26:02 +0000

emerge -qpvO games-misc/opengfx
[ebuild  N    ] games-misc/opengfx-0.5.5
Comment 1 Toralf Förster gentoo-dev 2020-01-14 18:12:56 UTC
Created attachment 603276 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-14 18:12:59 UTC
Created attachment 603278 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-14 18:13:02 UTC
Created attachment 603280 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-14 18:13:05 UTC
Created attachment 603282 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-14 18:13:08 UTC
Created attachment 603284 [details]
games-misc:opengfx-0.5.5:20200114-020435.log
Comment 6 Toralf Förster gentoo-dev 2020-01-14 18:13:11 UTC
Created attachment 603286 [details]
temp.tbz2
Comment 7 Conrad Kostecki gentoo-dev 2020-01-14 18:31:55 UTC
This is related to pillow-7.0.0 and newer. Fixed by upstream.
Comment 8 Larry the Git Cow gentoo-dev 2020-01-14 18:48:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8019d4039a201fc897f9c6938a4e0bae78fee8fd

commit 8019d4039a201fc897f9c6938a4e0bae78fee8fd
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-01-14 18:45:11 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-01-14 18:46:59 +0000

    games-util/nml: add support for >=dev-python/pillow-7.0.0
    
    Also added support for python3.8 and changed SRC_URI to https.
    
    Closes: https://bugs.gentoo.org/705428
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-util/nml/files/nml-0.4.5-pillow7.patch | 41 ++++++++++++++++++++++++++++
 games-util/nml/nml-0.4.5-r2.ebuild           | 40 +++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)