Project

General

Profile

Tâche #18701

Scénario #18773: Étudier le problème d'encodage sur l'interrogation de variables avec des valeurs accentuées

Le script posttemplate pour letsencrypt signale un problème d'encodage

Added by Joël Cuissinat over 4 years ago. Updated about 4 years ago.

Status:
Fermé
Priority:
Normal
Start date:
01/17/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

/usr/share/eole/posttemplate/00-letsencrypt:
root - 'ascii' codec can't encode character u'\xe9' in position 8: ordinal not in range(128)

root@eolebase:~# CreoleGet cert_type
autosigné
root@eolebase:~# echo $(CreoleGet cert_type)
root - 'ascii' codec can't encode character u'\xe9' in position 8: ordinal not in range(128)


Related issues

Related to Distribution EOLE - Tâche #19080: Réaliser des vérifications supplémentaires sur les tâches Let'sEncrypt non fermées de l'avant-dernier sprint Fermé 02/10/2017
Duplicated by Distribution EOLE - Demande #18706: Erreur ''ascii codec" pendant les instances Fermé 11/08/2016

Associated revisions

Revision b6e8c9f2 (diff)
Added by Gilles Grandgérard about 4 years ago

Correction currative 'autosigné' en 'autosigne', cat l'accent fait planter CreoleGet

REF #18701 @1h

Revision b4b5b0df (diff)
Added by Laurent Flori about 4 years ago

Gestion de l'utf_ dans CreoleGet

ref: #18701 2h

On déclare explicitement l'encodage UTF-8 dans CreoleGet

Revision c391efbd (diff)
Added by Laurent Flori 3 months ago

Gestion de l'utf_ dans CreoleGet

ref: #18701
ref: #31559

On déclare explicitement l'encodage UTF-8 dans CreoleGet

Cherry-picked from creole:b4b5b0df for EOLE 2.6.0

History

#1 Updated by Laurent Flori over 4 years ago

  • Duplicated by Demande #18706: Erreur ''ascii codec" pendant les instances added

#2 Updated by Joël Cuissinat over 4 years ago

  • Parent task changed from #18373 to #18773

#3 Updated by Gilles Grandgérard about 4 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Gilles Grandgérard about 4 years ago

  • Description updated (diff)
  • Assigned To set to Gilles Grandgérard

#5 Updated by Laurent Flori about 4 years ago

Il faut exporter la variable d'environement

PYTHONIOENCODING='UTF-8'

#6 Updated by Laurent Flori about 4 years ago

  • Remaining (hours) changed from 3.0 to 0.5

#7 Updated by Scrum Master about 4 years ago

  • Status changed from En cours to Résolu

#8 Updated by Laurent Flori about 4 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

#9 Updated by Daniel Dehennin about 4 years ago

  • % Done changed from 0 to 100

#10 Updated by Joël Cuissinat about 4 years ago

  • Related to Tâche #19080: Réaliser des vérifications supplémentaires sur les tâches Let'sEncrypt non fermées de l'avant-dernier sprint added

Also available in: Atom PDF