python-imaging-tk is not auto-installed by easygui - error msg when displaying .jpg grahics

Bug #774720 reported by Horst F JENS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-easygui (Ubuntu)
Fix Released
Low
Andreas Noteng

Bug Description

Binary package hint: python-easygui

easygui0.96-1 works great out of the box with pyton2.7 (tested on Ubuntu11.04), however it is missing a critical dependency:

the package python-imaging-tk is necessary to display jpg or png graphics with easygui. it python-imaging-tk is not installed, easygui can only display .gif graphics. If you try to display a jpg graphic easygui throws an (misleading) error message inside the easygui box saying that PIL need to be installed. This is misleading because not PIL (python-imaging) is needed but python-imaging-tk.

i suggest re-packaging the easygui package and including a dependency so that python-imaging-tk is auto-installed when installing easygui.

script to test display of .jpg graphic:
import easygui
easygui.msgbox("test for jpg","test","ok","mypicture.jpg")

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

I will fix this in the Debian package, the fix can then be synced to Ubuntu.

Changed in python-easygui (Ubuntu):
assignee: nobody → Andreas Noteng (andreas-noteng)
importance: Undecided → Low
Changed in python-easygui (Ubuntu):
status: New → Triaged
description: updated
Changed in python-easygui (Ubuntu):
status: Triaged → Fix Released
Changed in python-easygui (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-easygui - 0.96-3

---------------
python-easygui (0.96-3) unstable; urgency=low

  [Adreas Noteng]
  * Enable jpeg and png graphics by adding Recommends: python-imaging-tk
    (LP: #774720)
  * Bump Standards-Version to 3.9.3
    -Update debian/copyright to machine readable copyright file version 1
  * Add missing python-tk/python3-tk dependency (LP: #818473)

  [Charlie Smotherman]
  * debian/rules
    - changed to dh $@ --with python2,python3
    - added rules to build python3 package
  * debian/control
    - increased min python version to (>=2.6.6-3)
    - changed XS-P-V to X-P-V >=2.5
    - removed ${python:Breaks}
    - wrapped text in Description
    - added python3-all (>= 3.1.2-6~) to B-D
    - increased debhelper to (>= 7.0.50~), because we use dh overrides.
    - added X-Python3-Version: >= 3.0.
    - added python3-easygui binary stanza.
    - removed myself from Uploaders.

 -- Andreas Noteng <email address hidden> Sat, 28 Apr 2012 23:35:22 +0200

Changed in python-easygui (Ubuntu):
status: Triaged → Fix Released
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.