Project

General

Profile

Bug #1784

crash lors de l'accès au panneau de controle clicrdv

Added by Thomas Noël over 11 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
16 October 2012
Due date:
% Done:

90%

Estimated time:
Patch proposed:
Planning:

Description

Sur le panneau de controle de vincennes (prod), crash lors de l'accès à la rubrique ClicRDV :

Exception:
  type = '<type 'exceptions.UnicodeDecodeError'>', value = ''ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)'

Stack trace (most recent call first):
  File "/var/vhosts/test-vincennes.au-quotidien.com/src/auquotidien/extra/modules/admin.ptl", line 333, in clicrdv
   331                                       'aq-clicrdv-api-username',
   332                                       'aq-clicrdv-api-password'))
>  333             return redirect('.')
   334
   335

  locals:
     misc_cfg = {'aq-drupal-ip': '94.23.16.58', 'namespaces': None, 'sitename': 'vincennes.fr', 'aq-ezldap-binddn': 'cn=admin,dc=vincennes,dc=fr',
'aq-ezldap-bindpassword': 'geronimo', 'charset': 'utf-8', 'aq-ezldap-url': 'ldap://vincennes.au-quotidien.com', 'aq-strongbox': False,
'aq-ezldap-ip': None, 'aq-ezldap-dntemplate': 'uniqueId=%s,ou=citoyens,dc=vincennes,dc=fr', 'aq-ezldap-basedn': 'ou=citoyens,dc=vincennes,dc=fr',
'include-user-details': True, 'do-not-token': False, 'aq-ezldap-tokenurl': 'http://ez-vincennes.entrouvert.com/auquotidien/rp/token'}
     e = HTTPError()
     form = <qommon.form.Form object at 0x1a5cf90>
     self = <modules.admin.PanelDirectory object at 0x2687610>
     get_all_intervention_sets = <function get_all_intervention_sets at 0x285dcf8>
     _q_output = <TemplateIO object at 0x29a84d0>

  File "/usr/lib/pymodules/python2.6/quixote/directory.py", line 67, in _q_traverse
    65                 raise TraversalError
    66         elif hasattr(obj, '__call__'):
>   67             return obj()
    68         else:
    69             return obj

  locals:
     component = 'clicrdv'
     self = <modules.admin.PanelDirectory object at 0x2687610>
     obj = <bound method PanelDirectory.clicrdv of <modules.admin.PanelDirectory object at 0x2687610>>
     name = 'clicrdv'
     path = []

  File "/usr/lib/pymodules/python2.6/quixote/directory.py", line 63, in _q_traverse
    61         if path:
    62             if hasattr(obj, '_q_traverse'):
>   63                 return obj._q_traverse(path)
    64             else:
    65                 raise TraversalError

(...)

Associated revisions

Revision b5b83dcd (diff)
Added by Thomas Noël over 11 years ago

clicrdv: fix encoding in admin.ptl (fix #1784)

History

#1

Updated by Thomas Noël over 11 years ago

  • Status changed from Nouveau to Solution déployée
  • % Done changed from 0 to 90
#2

Updated by Thomas Noël over 11 years ago

  • Status changed from Solution déployée to Résolu (à déployer)
#3

Updated by Thomas Noël over 11 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF