Bug 194818

Summary: games/pysolfc python module missing?
Product: Ports & Packages Reporter: Dana <dj9bsd>
Component: Individual Port(s)Assignee: Marcus von Appen <mva>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Dana 2014-11-04 18:46:23 UTC
Traceback (most recent call last):
  File "/usr/local/bin/pysolfc", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/usr/local/lib/python2.7/site-packages/pysollib/main.py", line 359, in main
    r = pysol_init(app, args)
  File "/usr/local/lib/python2.7/site-packages/pysollib/main.py", line 196, in pysol_init
    app.loadImages1()
  File "/usr/local/lib/python2.7/site-packages/pysollib/app.py", line 712, in loadImages1
    im = loadImage(fn)
  File "/usr/local/lib/python2.7/site-packages/pysollib/tile/tkutil.py", line 276, in makeImage
    im = PIL_Image(file)
  File "/usr/local/lib/python2.7/site-packages/pysollib/tile/tkutil.py", line 254, in __init__
    ImageTk.PhotoImage.__init__(self, image)
  File "/usr/local/lib/python2.7/site-packages/PIL/ImageTk.py", line 115, in __init__
    self.paste(image)
  File "/usr/local/lib/python2.7/site-packages/PIL/ImageTk.py", line 180, in paste
    from PIL import _imagingtk
ImportError: cannot import name _imagingtk

The above error appears on the 10.1 RC.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-11-20 03:54:04 UTC
Fix synopsis and assign.
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-11-20 10:54:07 UTC
A commit references this bug:

Author: mva
Date: Thu Nov 20 10:53:16 UTC 2014
New revision: 372903
URL: https://svnweb.freebsd.org/changeset/ports/372903

Log:
  - Use TKINTER as default for py-pillow, since some ports
    (e.g. games/pysolfc) rely on it.

  PR:		194818
  Reported by:	Dana (dj9bsd@gmail.com)
  With hat:	python@

Changes:
  head/graphics/py-pillow/Makefile
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2014-11-20 10:57:35 UTC
Fixed with a change of the default options for graphics/py-pillow. Please build it with TKINTER enabled (or wait for the updated package).
Thanks!