← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 1181814] [NEW] Crash: AttributeError: 'module' object has no attribute 'isNumberType'

 

Public bug reported:

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)

** Affects: python-imaging (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: wsjt (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: amd64 apport-bug crash raring

** Also affects: wsjt (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: wsjt (Ubuntu)
   Importance: Undecided => High

** Changed in: python-imaging (Ubuntu)
       Status: New => Confirmed

** Changed in: wsjt (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to wsjt in Ubuntu.
https://bugs.launchpad.net/bugs/1181814

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

Status in “python-imaging” package in Ubuntu:
  Confirmed
Status in “wsjt” package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1181814/+subscriptions


Follow ups

References