Projet

Général

Profil

Bug #39289

vignettage pdf et python 3

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
27 janvier 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'TypeError'>', value = 'initial_value must be str or None, not bytes'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/qommon/misc.py", line 628, in get_thumbnail
   626                     ['pdftoppm', '-png', '-scale-to-x', '500', '-scale-to-y', '-1', filepath]))
   627         except subprocess.CalledProcessError:
>  628             raise ThumbnailError()
   629     else:
   630         fp = open(filepath, 'rb')


Fichiers

Révisions associées

Révision 64f31eb8 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

misc: get pdf image as bytes (#39289)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

#2

Mis à jour par Emmanuel Cazenave il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 64f31eb809efb3d33098e38afa87a730ea79f1ac
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Jan 27 14:08:38 2020 +0100

    misc: get pdf image as bytes (#39289)
#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF