Project

General

Profile

Anomalie #6216

Les fonctions de pyeole.ihm ne supporte pas l’unicode

Added by Daniel Dehennin over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
11/04/2013
Due date:
11/08/2013
% Done:

100%

Spent time:
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

Related to creole - Evolution #6562: Revoir l'affichage de reconfigure Fermé
Related to creole - Evolution #6623: CreoleSet traceback sur modification d'une variable frozen Fermé 11/18/2013 11/22/2013

Associated revisions

Revision 06a11874 (diff)
Added by Gwenael Remond over 7 years ago

conversion d'une source unicode dans question_oui_non en ascii, fixes #6216

Revision 162618de (diff)
Added by Gwenael Remond over 7 years ago

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

#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

Also available in: Atom PDF