Project

General

Profile

Tâche #8718

Distribution EOLE - Scénario #8829: Demandes EOLE 2.4 déjà résolues

UnicodeEncodeError si variable est disabled

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/25/2014
Due date:
09/06/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):

Description

Avec une variable disabled, il y a un UnicodeEncodeError :

root@amon:~# CreoleGet activer_cntlm non
root - 
root@amon:~# CreoleGet activer_cntlm non --debug
root - 
Traceback (most recent call last):
  File "/usr/bin/CreoleGet", line 73, in main
    print output(client.get_creole(var, **kwargs))
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 449, in get_creole
    ret = self.get('/creole', *args, variable=name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 408, in get
    ret = self.request('/get', path, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 351, in request
    reply['status'], reply['response']))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 15: ordinal not in range(128)

Related issues

Related to Distribution EOLE - Anomalie #8717: avoir le message d'exception avec "err.message" ne pas une bonne pratique Fermé

History

#1 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Luc Bourdot over 6 years ago

  • Parent task set to #8829

#3 Updated by Daniel Dehennin over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF