Project

General

Profile

Bug #3624

Erreur 500 lors de la prescription médicale de transports

Added by Serghei Mihai over 11 years ago. Updated about 11 years ago.

Status:
Fermé
Priority:
Immediat
Assignee:
Target version:
-
Start date:
13 September 2013
Due date:
% Done:

100%

Estimated time:
Patch proposed:
Planning:

Description

Le traceback de l'erreur est:

[2013-09-11 Wed 14:18:56] ERROR    gunicorn.error.Error handling request
Traceback (most recent call last):
  File "/home/calebasse/venv/lib/python2.6/site-packages/gunicorn/workers/sync.py", line 105, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 241, in __call__
    response = self.get_response(request)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 153, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception
    return callback(request, **param_dict)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/views/defaults.py", line 32, in server_error
    t = loader.get_template(template_name) # You need to create a 500.html template.
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader.py", line 145, in get_template
    template, origin = find_template(template_name)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader.py", line 134, in find_template
    source, display_name = loader(name, dirs)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader.py", line 42, in __call__
    return self.load_template(template_name, template_dirs)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader.py", line 48, in load_template
    template = get_template_from_string(source, origin, template_name)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader.py", line 156, in get_template_from_string
    return Template(source, origin, name)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/base.py", line 125, in __init__
    self.nodelist = compile_string(template_string, origin)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/base.py", line 153, in compile_string
    return parser.parse()
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/base.py", line 267, in parse
    compiled_result = compile_func(self, token)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/loader_tags.py", line 213, in do_extends
    parent_name = parser.compile_filter(bits[1])
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/base.py", line 346, in compile_filter
    return FilterExpression(token, self)
  File "/home/calebasse/venv/lib/python2.6/site-packages/django/template/base.py", line 563, in __init__
    "from '%s'" % (token[upto:], token))

Associated revisions

Revision 4f92084a (diff)
Added by Serghei Mihai about 11 years ago

dossiers: pickle dumping errors, related to unicode, fixed

Closes #3624

Revision 6fd15526 (diff)
Added by Serghei Mihai about 11 years ago

dossiers: pickle dumping errors, related to unicode, fixed

Closes #3624

History

#1

Updated by Serghei Mihai over 11 years ago

D'après le traceback, django semble chercher à afficher le template 500.html et reçoit encore une erreur:

TemplateSyntaxError: Could not parse the remainder: '"calebasse/base.html' from '"calebasse/base.html'

#2

Updated by Mikaël Ates about 11 years ago

  • Priority changed from Haut to Immediat

L'erreur se produit lorsqu'il est saisie un caractére accentué dans le champs de saisie "Quel trajet doit effectuer le patient ? (précisez l'adresse du lieu de départ et du lieu d'arrivée ainsi que le nom de la structure de soins) (Maximum 3 lignes de 110 caractères.)" de la fenêtre js.

#3

Updated by Serghei Mihai about 11 years ago

Problème de dump des données du formulaire au niveau de cPickle.
En mettant le protocole d'encodage à 1 le problème disparait.

#4

Updated by Serghei Mihai about 11 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

Appliqué par commit aps42:calebasse|commit:4f92084a0dfc19d6ccb551473b13409e023fe304.

#5

Updated by Serghei Mihai about 11 years ago

Appliqué par commit calebasse|commit:4f92084a0dfc19d6ccb551473b13409e023fe304.

#6

Updated by Mikaël Ates about 11 years ago

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

Also available in: Atom PDF