Project

General

Profile

Anomalie #6014

creoled n'aime pas les messages de tiramisu en français

Added by Emmanuel GARETTE about 10 years ago. Updated almost 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/16/2013
Due date:
09/20/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

ConfigError: impossible d'effectuer le calcul, l'option creole.interface_0.adresse_ip_eth0_proxy_link a les propriétés : ['disabled', 'mandatory'] pour : adresse_bcast_eth0_proxy_link

cherrypy.error.50671248 - [16/Sep/2013:14:09:33] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/jsontools.py", line 61, in json_handler
    value = cherrypy.serving.request._json_inner_handler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/server.py", line 207, in get
    return self.response(unicode(err), error_match[1])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 101: ordinal not in range(128)

Related issues

Related to Tiramisu - Anomalie #6012: message tiramisu en anglais Fermé 09/16/2013 09/20/2013

Associated revisions

Revision 1320d9c0 (diff)
Added by Daniel Dehennin about 10 years ago

Erreur de sérialisation JSON des exceptions tiramisu

Les exceptions ne semble pas apprécier le cast « unicode() », ni
« str() ».

  • creole/server.py (CreoleServer.get): Utilisation de « .format() ».
  • creole/server.py (CreoleServer.list): Idem.

Fixes: #6014 @30m

History

#1 Updated by Daniel Dehennin about 10 years ago

Disposes-tu d’un protocole de test pour reproduire le bug?

#2 Updated by Emmanuel GARETTE about 10 years ago

N'importe quelle erreur tiramisu fait l'affaire.

Par exemple :

# CreoleGet pouet
root - HTTP error: 500

#3 Updated by Daniel Dehennin about 10 years ago

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

#4 Updated by Daniel Dehennin about 10 years ago

root@eolebase:~# CreoleGet bidule
root - Unknown variable bidule

Cela ne plante plus côté serveur, à noter que le message est en anglais car il provient de CreoleClient qui remplace le message tiramisu u'aucune option trouv\xe9e dans la config avec ces crit\xe8res

#5 Updated by Daniel Dehennin about 10 years ago

  • Due date set to 09/20/2013
  • Assigned To set to Daniel Dehennin
  • Target version set to Eole 2.4-alpha2
  • Start date set to 09/16/2013

Un peu d’administratif.

#6 Updated by Joël Cuissinat almost 10 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF