Ticket #19664: [Django] ERROR (EXTERNAL IP)_ Internal Server Error_ _en_.eml

File [Django] ERROR (EXTERNAL IP)_ Internal Server Error_ _en_.eml, 3.9 KB (added by simonb, 2 years ago)

Error traceback

Line 
1
2
3Traceback (most recent call last):
4
5  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response
6    response = middleware_method(request)
7
8  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/middleware/locale.py", line 23, in process_request
9    request, check_path=check_path)
10
11  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/utils/translation/__init__.py", line 141, in get_language_from_request
12    return _trans.get_language_from_request(request, check_path)
13
14  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/utils/translation/trans_real.py", line 386, in get_language_from_request
15    lang_code = request.session.get('django_language', None)
16
17  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/contrib/sessions/backends/base.py", line 50, in get
18    return self._session.get(key, default)
19
20  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/contrib/sessions/backends/base.py", line 165, in _get_session
21    self._session_cache = self.load()
22
23  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/contrib/sessions/backends/file.py", line 50, in load
24    session_file = open(self._key_to_file(), "rb")
25
26  File "/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/django/contrib/sessions/backends/file.py", line 43, in _key_to_file
27    "Invalid characters in session key")
28
29SuspiciousOperation: Invalid characters in session key
30
31
32<WSGIRequest
33path:/en/,
34GET:<QueryDict: {}>,
35POST:<QueryDict: {}>,
36COOKIES:{'yaean_djsession': '5cb207a94901092c1092be5a220c97be,',
37 'yaean_yasession': '1fe1f5e1692746aab4f4c2400b383433'},
38META:{'DOCUMENT_ROOT': '/mnt/clients1/yaean.com/www/html',
39 'GATEWAY_INTERFACE': 'CGI/1.1',
40 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
41 'HTTP_ACCEPT_CHARSET': 'UTF-8,*',
42 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
43 'HTTP_ACCEPT_LANGUAGE': 'en,en-us;q=0.5',
44 'HTTP_CONNECTION': 'keep-alive',
45 'HTTP_COOKIE': 'yaean_djsession=5cb207a94901092c1092be5a220c97be, yaean_yasession=1fe1f5e1692746aab4f4c2400b383433',
46 'HTTP_HOST': 'www.yaean.com',
47 'HTTP_KEEP_ALIVE': '300',
48 'HTTP_REFERER': 'http://whois.domaintools.com/yaean.com',
49 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)',
50 'HTTP_VIA': '1.1 www.domaintools.com',
51 'HTTP_X_FORWARDED_FOR': '',
52 'PATH_INFO': u'/en/',
53 'PATH_TRANSLATED': '/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/yaean/apache/wsgi.py/en/',
54 'QUERY_STRING': '',
55 'REMOTE_ADDR': '66.249.16.212',
56 'REMOTE_PORT': '44872',
57 'REQUEST_METHOD': 'GET',
58 'REQUEST_URI': '/en/',
59 'SCRIPT_FILENAME': '/mnt/clients1/yaean.com/dj/venv/lib/python2.6/site-packages/yaean/apache/wsgi.py',
60 'SCRIPT_NAME': u'',
61 'SERVER_ADDR': '203.86.236.144',
62 'SERVER_ADMIN': 'simonb@yaean.com',
63 'SERVER_NAME': 'www.yaean.com',
64 'SERVER_PORT': '80',
65 'SERVER_PROTOCOL': 'HTTP/1.1',
66 'SERVER_SIGNATURE': '<address>Apache Server at www.yaean.com Port 80</address>\n',
67 'SERVER_SOFTWARE': 'Apache',
68 'UNIQUE_ID': 'US5GhctW7JAAAHRAYGIAAAAS',
69 'mod_wsgi.application_group': 'www.yaean.com|',
70 'mod_wsgi.callable_object': 'application',
71 'mod_wsgi.enable_sendfile': '0',
72 'mod_wsgi.handler_script': '',
73 'mod_wsgi.input_chunked': '0',
74 'mod_wsgi.listener_host': '203.86.236.144',
75 'mod_wsgi.listener_port': '80',
76 'mod_wsgi.process_group': 'yaean.com',
77 'mod_wsgi.queue_start': '1361987205631218',
78 'mod_wsgi.request_handler': 'wsgi-script',
79 'mod_wsgi.script_reloading': '1',
80 'mod_wsgi.version': (3, 4),
81 'wsgi.errors': <mod_wsgi.Log object at 0xa53e6d40>,
82 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xa60b9800>,
83 'wsgi.input': <mod_wsgi.Input object at 0xa53e6570>,
84 'wsgi.multiprocess': False,
85 'wsgi.multithread': True,
86 'wsgi.run_once': False,
87 'wsgi.url_scheme': 'http',
88 'wsgi.version': (1, 0)}>
89
Back to Top