Project

General

Profile

Tâche #8716

Distribution EOLE - Scénario #8826: Gestion des conteneurs par les outils Creole

Pas d'information utile en cas d'erreur CreoleGet

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/05/2014
% Done:

100%

Spent time:
Remaining (hours):

Description

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é

Associated revisions

Revision 9360cc7a (diff)
Added by Emmanuel GARETTE over 6 years ago

ne pas utiliser .message d'une exception (fixes #8716 @1h) (ref #8717)

History

#1 Updated by Emmanuel GARETTE over 6 years ago

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

#2 Updated by Emmanuel GARETTE over 6 years ago

  • Due date set to 09/05/2014
  • Assigned To set to Emmanuel GARETTE
  • Start date set to 08/25/2014

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

  • Parent task set to #8826

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

  • Status changed from Résolu to Fermé
root@amon:~# CreoleGet activer_cntlm 
root - Erreur creole 1 : tentative d'accès à une option nommée : proxy_authentifie avec les propriétés ['disabled']

Also available in: Atom PDF