Your message dated Sun, 06 Dec 2015 13:21:09 +0000
with message-id <[email protected]>
and subject line Bug#806975: fixed in rapid-photo-downloader 0.4.11-1
has caused the Debian Bug report #806975,
regarding rapid-photo-downloader: Thumbnails not displayed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
806975: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806975
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rapid-photo-downloader
Version: 0.4.10-3
Severity: important
Tags: patch
Dear Maintainer,
the latest version of python-imaging replaced the tostring() and
fromstring() methods of the Image class with versions that raise an
exception, telling the user to use tobytes() and frombytes(), resp.
This breaks rpd in such a way that it doesn't display thumbnails
anymore. Instead, it prints the exceptions and displays nothing in place
of the thumbnails.
Replacing all occurrences of these two methods fixes the problem,
although I'm not certain that this is enough - some warnings on the
console remain but they could be unrelated as the program seems to work
fine.
Attached is a patch that does just that.
Cheers,
Chris
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rapid-photo-downloader depends on:
ii exiftran 2.10-2
ii exiv2 0.25-2.1
ii gnome-icon-theme 3.12.0-1
ii libimage-exiftool-perl 10.07-1
ii librsvg2-common 2.40.12-1
ii python-dbus 1.2.0-2+b4
ii python-gconf 2.28.1+dfsg-1.1
ii python-glade2 2.24.0-4
ii python-gnome2 2.28.1+dfsg-1.1
ii python-gtk2 2.24.0-4
ii python-imaging 3.0.0-1
ii python-notify 0.1.1-4
ii python-pyexiv2 0.3.2-8+b1
ii python2.7 2.7.10-5+b1
pn python:any <none>
Versions of packages rapid-photo-downloader recommends:
ii ffmpegthumbnailer 2.0.10-0.1
ii python-hachoir-metadata 1.3.3-2
ii python-kaa-metadata 0.7.7+svn4596-4
rapid-photo-downloader suggests no packages.
-- no debconf information
diff -p1 -Nur rapid-photo-downloader-0.4.10.orig/rapid/rapid.py rapid-photo-downloader-0.4.10/rapid/rapid.py
--- rapid-photo-downloader-0.4.10.orig/rapid/rapid.py 2014-01-21 16:09:46.000000000 +0100
+++ rapid-photo-downloader-0.4.10/rapid/rapid.py 2015-12-03 17:46:01.723860094 +0100
@@ -354,3 +354,3 @@ class DeviceCollection(gtk.TreeView):
def create_cairo_image_surface(pil_image, image_width, image_height):
- imgd = pil_image.tostring("raw","BGRA", 0, 1)
+ imgd = pil_image.tobytes("raw","BGRA", 0, 1)
data = array.array('B',imgd)
diff -p1 -Nur rapid-photo-downloader-0.4.10.orig/rapid/thumbnail.py rapid-photo-downloader-0.4.10/rapid/thumbnail.py
--- rapid-photo-downloader-0.4.10.orig/rapid/thumbnail.py 2014-01-10 11:19:06.000000000 +0100
+++ rapid-photo-downloader-0.4.10/rapid/thumbnail.py 2015-12-03 17:45:35.627583308 +0100
@@ -131,6 +131,6 @@ class PicklablePIL:
self.mode = image.mode
- self.image_data = image.tostring()
+ self.image_data = image.tobytes()
def get_image(self):
- return Image.fromstring(self.mode, self.size, self.image_data)
+ return Image.frombytes(self.mode, self.size, self.image_data)
diff -p1 -Nur rapid-photo-downloader-0.4.10.orig/rapid/utilities.py rapid-photo-downloader-0.4.10/rapid/utilities.py
--- rapid-photo-downloader-0.4.10.orig/rapid/utilities.py 2012-05-30 08:27:00.000000000 +0200
+++ rapid-photo-downloader-0.4.10/rapid/utilities.py 2015-12-03 17:45:48.807723114 +0100
@@ -115,3 +115,3 @@ def image_to_pixbuf(image):
return gtk.gdk.pixbuf_new_from_data(
- image.tostring(), # data
+ image.tobytes(), # data
gtk.gdk.COLORSPACE_RGB, # color mode
--- End Message ---
--- Begin Message ---
Source: rapid-photo-downloader
Source-Version: 0.4.11-1
We believe that the bug you reported is fixed in the latest version of
rapid-photo-downloader, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jörg Frings-Fürst <[email protected]> (supplier of updated
rapid-photo-downloader package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 06 Dec 2015 02:58:59 +0100
Source: rapid-photo-downloader
Binary: rapid-photo-downloader
Architecture: source
Version: 0.4.11-1
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Description:
rapid-photo-downloader - Photo downloader (importer) from cameras, memory
cards, other dev
Closes: 806975 806976
Changes:
rapid-photo-downloader (0.4.11-1) unstable; urgency=medium
.
* New upstream release (Closes: #806975, #806976).
* Remove debian/menu by reason of tech-ctte bug #741573.
* Rewrite debian/watch to track the last version.
Checksums-Sha1:
b6c001f91688691ec3f93b858f4792db20737902 2020
rapid-photo-downloader_0.4.11-1.dsc
dbb5575172dcebbfe7dd4f0f258c62c0a004e6d0 732086
rapid-photo-downloader_0.4.11.orig.tar.gz
6a25500d3713b2286d34380527294d1cce0d1fdb 4504
rapid-photo-downloader_0.4.11-1.debian.tar.xz
Checksums-Sha256:
8cbc607a9670eb43e446543ed3cc51aa670298eaa2456963a3d01d14b395cdf2 2020
rapid-photo-downloader_0.4.11-1.dsc
57396807458dea457e814b1ba021d69378af3ca310c44800ccb150d3cbace911 732086
rapid-photo-downloader_0.4.11.orig.tar.gz
2f77b3836936dd9ed34dbd0c7785bdb2a26ffe5c6a81473c434c446224f08612 4504
rapid-photo-downloader_0.4.11-1.debian.tar.xz
Files:
495fbeaec08c70469677ae6e9072c229 2020 graphics optional
rapid-photo-downloader_0.4.11-1.dsc
365aca2d89a85b1f1432d3c371b3e540 732086 graphics optional
rapid-photo-downloader_0.4.11.orig.tar.gz
fc879570b6be1616fe786d95e8b62a09 4504 graphics optional
rapid-photo-downloader_0.4.11-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJWZC9+AAoJEN5juccE6+nvzPUP/1UXqDd6iqsRokIW/2Dd9YmG
KytVqhG/SIhorvgftb4aPCK0DZPpJDQQtKvokU5RFP1nVNHACuXne4SPTpfUr6JT
E0HiM67hMed+N0s02LbFADXzcscfbCJUQJ8tMVZ4YFR9cr9oB9GaSk8rwhGZd0sz
N3pui1yNgu4cQ1uooZp3de6t4vFwOliGIm3v5f5lipSU/udYp2THA5R8xt7Q8ZdH
wRB6wlPr/P6U/mBS7QWwckH4hl4ladNhm/y2I5w3FwxTS9hVI5zOuS91Ey3ubPDG
UyOsT2GKD+HJVEg9w5r8iNqrcLPjTm9kMQip+Ov8h0pXcxafXfsGS6h99bsRpo1r
G77Y0d9Szh8viNoSRnPmfd7zqa9R2dKxSja+k4rlGZDSYASPpNIu61loT2C5fnQP
DdJrA4fXkq6kjbf1UBtJzZrAY7iUATQGCoGdI+UHq93/8PfR1qJcoiMtipzW4R8S
psBImm5ufFs86ZeInN4Gn6b9nCWwiI89S/O+Oamv2MK1rikytd3Zi/sovSdNaZor
YESG3rne7RcJQUISdpexV1weuTGaCBPkJsg/p6oVcY1PJs6opajPsy5J+WvSwHBN
a+9bfUjmeOd0HYe351+JS7kpV9TblbbT/7eelnIgkp3dJnWZ0hNBqUVPrJthYaO0
k6XbUxic5ue5rbc33yyj
=saAz
-----END PGP SIGNATURE-----
--- End Message ---