Project

General

Profile

Bug #46576

passerelle-minint: adaptation Python3

Added by Thomas Noël 5 months ago. Updated 4 months ago.

Status:
Résolu (à déployer)
Priority:
Normal
Assignee:
Target version:
-
Start date:
11 Sep 2020
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

il y a notamment :
  • des string.replace => AttributeError: module 'string' has no attribute 'replace'
  • des document.encode('utf-8').encode('base64') => AttributeError: 'bytes' object has no attribute 'encode'

Files

History

#3

Updated by Frédéric Péters 5 months ago

  • Status changed from Solution proposée to Solution validée

Ok, et on verra de toute façon sur leurs tests le résultat.

#4

Updated by Thomas Noël 5 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 5a10ff7d982626d4b22688e811226073d998832a
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Fri Sep 11 12:06:15 2020 +0200

    py3: use b64encode (#46576)

commit 29da93581120dc7e375ec222434a9cbbae20ba79
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Fri Sep 11 12:04:21 2020 +0200

    py3: remove u'' notation (#46576)

commit f5896c55d4b927cfaccc422b844f62f6ca38d8b7
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Fri Sep 11 11:45:10 2020 +0200

    py3: use s.replace instead of string.replace (#46576)

#5

Updated by Thomas Noël 5 months ago

Et la suite ... (il faudra que je trouve le temps d'écrire un test qui couvre un peu, mais ce n'est pas une petite opération)

#6

Updated by Benjamin Dauvergne 5 months ago

  • Status changed from Solution proposée to Solution validée

Totalement complaisant.

#7

Updated by Thomas Noël 4 months ago

Suite toujours, il semble qu'il faut envoyer une string lors de l'appel SOAP.

#8

Updated by Serghei Mihai 4 months ago

  • Status changed from Solution proposée to Solution validée
  • Assignee set to Thomas Noël
#9

Updated by Thomas Noël 4 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit edae2d9faa65991ab8280f572c5caefca5375c8d
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Mon Sep 14 12:31:46 2020 +0200

    py3: send base64 document as str in storeResource (#46576)

Also available in: Atom PDF