Bug #1407

HTTP 500 on /invitations login: MultiValueDictKeyError: "Key 'key' not found in <QueryDict: {}>"

Added by Vangelis Koukis over 12 years ago. Updated over 12 years ago.

Status:Closed Start date:10/03/2011
Priority:High Due date:
Assignee:Giorgos Gousios % Done:

0%

Category:obsolete_AAI Spent time: -
Target version:v0.7

Description

Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/okeanos/synnefo/invitations/invitations.py", line 167, in login
    key = request.GET['key']

  File "/usr/lib/pymodules/python2.6/django/utils/datastructures.py", line 235, in __getitem__
    raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))

MultiValueDictKeyError: "Key 'key' not found in <QueryDict: {}>" 

<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'close',
 'HTTP_HOST': 'okeanos.grnet.gr',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.159 Safari/535.1',
 'HTTP_X_FORWARDED_FOR': '195.251.29.51',
 'PATH_INFO': u'/invitations/login',
 'QUERY_STRING': '',
 'RAW_URI': '/invitations/login',
 'REMOTE_ADDR': '195.251.29.51',
 'REMOTE_PORT': '80',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': u'',
 'SERVER_NAME': 'okeanos.grnet.gr',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SOFTWARE': 'gunicorn/0.12.2',
 'gunicorn.socket': <socket._socketobject object at 0x333e4b0>,
 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa2f149c1e0>,
 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x2622350>,
 'wsgi.input': <gunicorn.http.body.Body object at 0x314c1d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

History

#1 Updated by Giorgos Gousios over 12 years ago

Should be fixed as of 4af67649

#2 Updated by Vangelis Koukis over 12 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 67 to v0.7

Also available in: Atom PDF