Anomalie #6216
Les fonctions de pyeole.ihm ne supporte pas l’unicode
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.4
Description
En essayant d’activer la demande de mise à jour depuis instance/reconfigure, j’obtiens une erreur:
Gestion de la mise à jour reconfigure - Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 446, in main update_server() File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 389, in update_server default_uninteractive=u'non') == u'oui': File "/usr/lib/python2.7/dist-packages/pyeole/ihm.py", line 22, in question_ouinon print_orange(question) File "/usr/lib/python2.7/dist-packages/pyeole/ansiprint.py", line 54, in print_orange print_color(string, (3, 'orange'), newline) File "/usr/lib/python2.7/dist-packages/pyeole/ansiprint.py", line 42, in print_color system("\n".join(cmd)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 28: ordinal not in range(128)
Related issues
Associated revisions
conversion d'une source unicode dans question_oui_non en ascii, fixes #6216
conversion d'une source unicode dans question_oui_non en utf-8, fixes #6216
History
#1 Updated by Daniel Dehennin over 7 years ago
- Target version changed from Eole 2.4-beta1 to Eole 2.4-beta2
#2 Updated by Gwenael Remond over 7 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 06a11874e9640a2682eb128e3f7f5d830b06a6bc.
#3 Updated by Gwenael Remond over 7 years ago
Appliqué par commit 162618de13631a4b4076e4e2a0f73f687e44b2ed.
#4 Updated by Gwenael Remond over 7 years ago
- Status changed from Résolu to En attente d'informations
- Assigned To set to Gwenael Remond
j'ai eu la main lourde sur le premier commit (conversion en ascii -> suppression des accents dans la question)
#5 Updated by Gwenael Remond over 7 years ago
- Status changed from En attente d'informations to Résolu
#6 Updated by Joël Cuissinat over 7 years ago
- Status changed from Résolu to Fermé
#7 Updated by Joël Cuissinat over 7 years ago
- Due date set to 11/08/2013
- Start date set to 11/04/2013