Crash: AttributeError: 'module' object has no attribute 'isNumberType'

Bug #1181814 reported by Kamal Mostafa
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-imaging (Ubuntu)
Confirmed
High
Unassigned
wsjt (Ubuntu)
Confirmed
High
Unassigned

Bug Description

The new python-imaging (1.1.7+2.0.0-1) now causes 'wsjt' (and surely other apps) to crash in Raring as shown below.
The problem does not happen with python-imaging (1.1.7-x) in Quantal or Debian unstable.

The problem has apparently been fixed in python-imaging upstream, per this thread, which links to the fix commit: http://lists.fedoraproject.org/pipermail/test/2013-March/114361.html

{wsjt crash with python-imaging (1.1.7+2.0.0-1)}:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 534, in callit
    func(*args)
  File "/usr/share/wsjt/WsjtMod/specjt.py", line 345, in update
    draw.line((0,0,749,0),fill=128) #Draw the minute separator
  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 198, in line
    ink, fill = self._getink(fill)
  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 144, in _getink
    if self.palette and not Image.isNumberType(ink):
AttributeError: 'module' object has no attribute 'isNumberType'

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-imaging 1.1.7+2.0.0-1
ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8
Uname: Linux 3.8.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sun May 19 10:36:04 2013
InstallationDate: Installed on 2012-08-03 (289 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-imaging
UpgradeStatus: Upgraded to raring on 2013-04-26 (22 days ago)

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
Changed in wsjt (Ubuntu):
importance: Undecided → High
Changed in python-imaging (Ubuntu):
status: New → Confirmed
Changed in wsjt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.