Project

General

Profile

Scénario #12804

EOP : plantage de la partie devoir

Added by Lionel Morin over 5 years ago. Updated over 5 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
08/31/2015
Due date:
09/18/2015
% Done:

100%

Estimated time:
(Total: 3.00 h)
Spent time:
(Total: 4.17 h)
Story points:
2.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

2015-08-31 16:46:41,763: eop - Exception on /documents [GET]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python2.7/dist-packages/eoleauthlib/authclient.py", line 193, in decorated_function
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/eop/modules/documents/documents.py", line 21, in show
    form = DocumentsForm(request.form)
  File "/usr/lib/python2.7/dist-packages/wtforms/form.py", line 172, in __call__
    return type.__call__(cls, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/flaskext/wtf/form.py", line 71, in __init__
    super(Form, self).__init__(formdata, obj, prefix, csrf_context=csrf_context, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/wtforms/ext/csrf/form.py", line 20, in __init__
    self.csrf_token.current_token = self.generate_csrf_token(csrf_context)
  File "/usr/lib/python2.7/dist-packages/flaskext/wtf/form.py", line 76, in generate_csrf_token
    return super(Form, self).generate_csrf_token(csrf_context)
  File "/usr/lib/python2.7/dist-packages/wtforms/ext/csrf/session.py", line 51, in generate_csrf_token
    hmac_csrf = hmac.new(self.SECRET_KEY, csrf_build.encode('utf8'), digestmod=sha1)
  File "/usr/lib/python2.7/hmac.py", line 133, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python2.7/hmac.py", line 72, in __init__
    self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode

Subtasks

Tâche #12904: Étude (et correction) du problèmeFerméLionel Morin

History

#1 Updated by Lionel Morin over 5 years ago

  • Description updated (diff)

#2 Updated by Gérald Schwartzmann over 5 years ago

  • Assigned To set to force bleue

#3 Updated by Lionel Morin over 5 years ago

  • Due date set to 09/18/2015
  • Target version set to Sprint_2015_36-38 - Équipe MENESR
  • Start date set to 08/31/2015

#4 Updated by Lionel Morin over 5 years ago

  • Assigned To changed from force bleue to force indigo

#5 Updated by Fabrice Barconnière over 5 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF