[Python-apps-team] Bug#821009: simple-image-reducer: EXIF reading results in crash (wrong import)
Alexander Schlarb
alexander-devel at xmine128.tk
Thu Apr 14 14:52:24 UTC 2016
Package: simple-image-reducer
Version: 1.0.2-3
Severity: grave
Tags: patch
Justification: renders package unusable
The upstream repository for this package imports the python `EXIF` library,
which seems to have been changed to `exifread` by Debian maintainers.
Unfortunately the place where the `EXIF` library was actually used in the
source code has not been changed to use the new name.
Patch:
--- ./simple-image-reducer 2016-04-14 16:45:21.295397481 +0200
+++ /usr/bin/simple-image-reducer 2016-04-14 16:45:47.860312235 +0200
@@ -457,7 +457,7 @@
transpose_methods = [Image.ROTATE_270]
elif rotate_method == 'exif':
if 'exif' in img.info:
- tags = EXIF.process_file(open(input), details=False)
+ tags = exifread.process_file(open(input), details=False)
if 'Image Orientation' in tags:
transpose_methods = exif_to_transpose[
tags['Image Orientation'].values[0] - 1]
-- System Information:
Debian Release: 8.0
APT prefers experimental
APT policy: (200, 'experimental'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-040500rc6-generic (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages simple-image-reducer depends on:
ii python 2.7.9-1tanglu1
ii python-exif 2.1.2-1
ii python-gtk2 2.24.0-4
ii python-imaging 3.1.1-1
simple-image-reducer recommends no packages.
simple-image-reducer suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list