On 03/18/2013 09:23 AM, Michael Cronenworth wrote:
On 03/18/2013 11:18 AM, Chuck Forsberg WA7KGX N2469R wrote:
Python-imaging seems to be missing from Fedora 19 and rawhide.
Pillow is installed but WSPR won't run because it can't import
the stuff that used to be in python-imaging.
Chuck,
You will find it helpful to read the FeatureList wiki page[1] when you
are testing Fedora N+1 or Rawhide releases. The relevant page regarding
your issue is here:
http://fedoraproject.org/wiki/Features/Pillow
Michael
[1] http://fedoraproject.org/wiki/FeatureList
The referred document suggests Pillow is a drop-in for python-imaging
except for the "from PIL" import bit. But unfortunately this not the case.
Adding "from PIL" to the import line allows wspr to start and run, but
the data does not display. Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1410, in __call__
return self.func(*args)
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 495, in callit
func(*args)
File "wspr.py", line 1228, in update
draw.text((x,148),tw[i],fill=253) #Insert time label
File "/usr/lib64/python2.7/site-packages/PIL/ImageDraw.py", line 256,
in text
ink, fill = self._getink(fill)
File "/usr/lib64/python2.7/site-packages/PIL/ImageDraw.py", line 144,
in _getink
if self.palette and not Image.isNumberType(ink):
AttributeError: 'module' object has no attribute 'isNumberType'
Not exactly a drop-in replacement.
--
Chuck Forsberg WA7KGX caf@xxxxxxxx www.omen.com
Developer of Industrial ZMODEM(Tm) for Embedded Applications
Omen Technology Inc "The High Reliability Software"
10255 NW Old Cornelius Pass Portland OR 97231 503-614-0430
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test