Projet

Général

Profil

Bug #47236

greco, bytes etc.

Ajouté par Frédéric Péters il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

File "/usr/lib/python3/dist-packages/passerelle/views.py" in perform
  470.         result = self.endpoint(request, **params)

File "/usr/lib/python3/dist-packages/passerelle/contrib/greco/models.py" in create
  219.         resp = client.service.creer(creation)

File "/usr/lib/python3/dist-packages/suds/client.py" in __call__
  566.             return client.invoke(args, kwargs)

File "/usr/lib/python3/dist-packages/suds/client.py" in invoke
  705.         result = self.send(soapenv)

File "/usr/lib/python3/dist-packages/suds/client.py" in send
  747.             reply = self.options.transport.send(request)

File "/usr/lib/python3/dist-packages/passerelle/contrib/greco/models.py" in send
  137.                             part = MIMEText(content, _subtype=subtype)

File "/usr/lib/python3.7/email/mime/text.py" in __init__
  34.             try:

Exception Type: AttributeError at /greco/greco/create
Exception Value: 'bytes' object has no attribute 'encode'

(full trace en pièce jointe)


Fichiers

t.html (50,2 ko) t.html Frédéric Péters, 01 octobre 2020 12:15
0001-greco-detect-plain-text-attachment-encoding-47236.patch (1,46 ko) 0001-greco-detect-plain-text-attachment-encoding-47236.patch Frédéric Péters, 05 octobre 2020 16:24

Révisions associées

Révision bb943bfb (diff)
Ajouté par Frédéric Péters il y a plus de 3 ans

greco: "detect" plain text attachment encoding (#47236)

Historique

#2

Mis à jour par Frédéric Péters il y a plus de 3 ans

#3

Mis à jour par Thomas Noël il y a plus de 3 ans

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

ouch

#4

Mis à jour par Frédéric Péters il y a plus de 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit bb943bfbde0fae9b9106757e5a6a5c93f6293044
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Oct 5 16:23:57 2020 +0200

    greco: "detect" plain text attachment encoding (#47236)
#5

Mis à jour par Frédéric Péters il y a plus de 3 ans

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

Formats disponibles : Atom PDF