Projet

Général

Profil

Bug #51912

migration python3 des scripts prepare-template.py

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
11 mars 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Vu sur #51803, un appel /usr/bin/python prepare-template.py, qui en effet ne passe pas en python 3 :

Traceback (most recent call last):
  File ".../templates/variants/grenoble-metropole-2019/prepare-template.py", line 47, in <module>
    content = content.replace(FILENAME, '')
TypeError: a bytes-like object is required, not 'str'

Il peut y en avoir d'autres.


Fichiers

Révisions associées

Révision 3e577835 (diff)
Ajouté par Serghei Mihai il y a environ 3 ans

grenoble-metropole-2019: make template preparation script python3 compliant (#51912)

Révision e3361ae5 (diff)
Ajouté par Serghei Mihai il y a environ 3 ans

villeurbanne-2018: make template preparation script python3 compliant (#51912)

Révision 7c46e50a (diff)
Ajouté par Serghei Mihai il y a environ 3 ans

grenoble-metropole-2019: fix template preparation script (#51912)

Historique

#1

Mis à jour par Serghei Mihai il y a environ 3 ans

Adaptation pour Grenoble.

#3

Mis à jour par Paul Marillonnet il y a environ 3 ans

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

Ok.

#4

Mis à jour par Serghei Mihai il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit e3361ae53649b11bc5f7fbb6d8089a523a8bbf06 (origin/main)
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Fri Mar 12 10:45:25 2021 +0100

    villeurbanne-2018: make template preparation script python3 compliant (#51912)

commit 3e577835bf8e356adf82797073c8bd1465636d84
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Thu Mar 11 14:46:31 2021 +0100

    grenoble-metropole-2019: make template preparation script python3 compliant (#51912)
#5

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

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

Formats disponibles : Atom PDF