Bug #8954
ne pas échouer sur un fichier dont on n'arrive pas à faire de miniature
Début:
12 novembre 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 8 ans
Exception: type = '<type 'exceptions.IOError'>', value = 'decoder group3 not available' ... File "/usr/lib/python2.7/dist-packages/wcs/forms/root.py", line 919, in tempfile 917 if Image is not None and get_request().form.get('thumbnail') == '1': 918 image = Image.open(file_pointer) > 919 image.thumbnail((500, 300)) 920 image_thumb_fp = StringIO() 921 image.save(image_thumb_fp, "PNG")
et
Exception: type = '<type 'exceptions.IOError'>', value = 'cannot write mode CMYK as PNG' ... File "/usr/lib/python2.7/dist-packages/wcs/forms/root.py", line 921, in tempfile 919 image.thumbnail((500, 300)) 920 image_thumb_fp = StringIO() > 921 image.save(image_thumb_fp, "PNG") 922 return image_thumb_fp.getvalue() 923 else:
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Fichier 0001-misc-ignore-thumbnailing-errors-8954.patch 0001-misc-ignore-thumbnailing-errors-8954.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Statut changé de En cours à Résolu (à déployer)
commit 59b9b46581bfbe794b9fa1a9c54dd351e86def1a Author: Frédéric Péters <fpeters@entrouvert.com> Date: Thu Nov 12 10:31:33 2015 +0100 misc: ignore thumbnailing errors (#8954)
misc: ignore thumbnailing errors (#8954)