Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46720 - [rapid-photo-downloader] no preview for images

Attached to Project: Community Packages
Opened by Martin (grauschnabel) - Wednesday, 14 October 2015, 18:13 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Thursday, 22 October 2015, 17:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the last updates of my system, i now do not see any previews with rapid-photo-downloader anymore.

Additional info:
* package version(s)
rapid-photo-downloader 0.4.10-1
* config and/or log files etc.
nothing special

Steps to reproduce:
just open a dir with images, there are only the checkbuttons to see, but no image preview.
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Thursday, 22 October 2015, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rapid-photo-downloader 0.4.11-1
Comment by Doug Newgard (Scimmia) - Wednesday, 14 October 2015, 22:06 GMT
Is ffmpegthumbnailer installed? What happens when you run it from a terminal? Any errors?
Comment by Martin (grauschnabel) - Thursday, 15 October 2015, 08:54 GMT
Oh, yes, starting with -d (or maybe without too, I didn't try) it seems that for every picture it tries to load i get the message:

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/rapid/rapid.py", line 422, in do_render
image = create_cairo_image_surface(self.image, image_w, image_h)
File "/usr/lib/python2.7/site-packages/rapid/rapid.py", line 355, in create_cairo_image_surface
imgd = pil_image.tostring("raw","BGRA", 0, 1)
File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 686, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

Maybe this is the thing to be fixed?
Comment by Doug Newgard (Scimmia) - Thursday, 15 October 2015, 13:21 GMT
Incompatibility with pillow 3.0
Comment by Damon Lynch (damonlynch) - Thursday, 15 October 2015, 15:55 GMT
I'm the developer of Rapid Photo Downloader. I'm sorry to read about the pillow 3.0 incompatibility. I am currently porting Rapid Photo Downloader to use PyQt 5.4, Python 3.4, Python-gphoto2, ZeroMQ and GExiv2; PIL/Pillow have been dropped. While I'm doing the porting, I have no plans to release another version that uses the Gtk toolkit. Will this cause a serious problem for Arch Linux users?
Comment by Martin (grauschnabel) - Friday, 16 October 2015, 11:45 GMT
It's just that I like gtk more, but there are programms using qt, so this will go ok for me.

But how can I fix this issue in the meantime?
Comment by Damon Lynch (damonlynch) - Friday, 16 October 2015, 12:50 GMT
The code requires a small patch to make it compatible with pillow 3.0. I don't know if and how Arch Linux packages patches in the absence of an upstream release.
Comment by Doug Newgard (Scimmia) - Friday, 16 October 2015, 12:55 GMT
Arch tries to avoid patching, but will for things like build issue or major usability issues. It's up to the maintainer if this would qualify.
Comment by Jaroslav Lichtblau (Dragonlord) - Wednesday, 21 October 2015, 21:12 GMT
Damon, any plans releasing new rapid-photo-downloader any time soon? Is the patch available somewhere?
Comment by Damon Lynch (damonlynch) - Thursday, 22 October 2015, 12:44 GMT
Hi Jaroslav, I have released 0.4.11 specifically to fix this bug, which is nothing more than a name change in two Pillow Imaging class methods. Tarball: https://launchpad.net/rapid/trunk/0.4.11/+download/rapid-photo-downloader-0.4.11.tar.gz
Comment by Jaroslav Lichtblau (Dragonlord) - Thursday, 22 October 2015, 17:40 GMT
Damon, thanks a lot for making it easy for me! :)
0.4.11 is packaged and released into [community] repo.

PS: you may want to fix the spelling on your web page, the correct name spelling goes like "Arch Linux"

Loading...