Package: python-imaging
Version: 1.1.6-3
Severity: normal

There are several problems with Image.show() method and its documentation:

- The doctest does not explain how it works. Code comments and the PIL tutorial say that it calls xv. (But xv is currently not in Debian.) Actually, it can call several other (arbitrarily chosen) image viewers.

- If no supported image viewers are installed, it raises a weird exception:

Traceback (most recent call last):
[…]
  File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 1450, in show
    _showxv(self, title, command)
  File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 2076, in _showxv
    if command in ("xv") and title:
TypeError: 'in <string>' requires string as left operand

- It creates temporary files insecurely.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-imaging depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii  python                 2.5.2-3           An interactive high-level object-o
ii  python-central         0.6.8             register and build utility for Pyt
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

python-imaging recommends no packages.

Versions of packages python-imaging suggests:
pn  python-imaging-dbg            <none>     (no description available)
pn  python-imaging-doc            <none>     (no description available)

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to