Ticket #12411: mod_python_mpp_error.txt

File mod_python_mpp_error.txt, 3.0 KB (added by alextreme, 5 years ago)
Line 
1Traceback (most recent call last):
2
3  File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 92, in get_response
4    response = callback(request, *callback_args, **callback_kwargs)
5
6  File "/usr/lib/python2.5/site-packages/django/contrib/admin/options.py", line 226, in wrapper
7    return self.admin_site.admin_view(view)(*args, **kwargs)
8
9  File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
10    response = view_func(request, *args, **kwargs)
11
12  File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py", line 186, in inner
13    return view(request, *args, **kwargs)
14
15  File "/usr/lib/python2.5/site-packages/django/db/transaction.py", line 240, in _commit_on_success
16    res = func(*args, **kw)
17
18  File "/usr/lib/python2.5/site-packages/django/contrib/admin/options.py", line 715, in add_view
19    form = ModelForm(request.POST, request.FILES)
20
21  File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 113, in _get_post
22    self._load_post_and_files()
23
24  File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 87, in _load_post_and_files
25    self._post, self._files = self.parse_file_upload(self.META, self._req)
26
27  File "/usr/lib/python2.5/site-packages/django/http/__init__.py", line 123, in parse_file_upload
28    parser = MultiPartParser(META, post_data, self.upload_handlers, self.encoding)
29
30  File "/usr/lib/python2.5/site-packages/django/http/multipartparser.py", line 80, in __init__
31    raise MultiPartParserError("Invalid content length: %r" % content_length)
32
33MultiPartParserError: Invalid content length: 0
34
35
36<ModPythonRequest
37path:/admin/<appname>/<modelname>/add/,
38GET:<QueryDict: {}>,
39POST:<could not parse>,
40COOKIES:{'sessionid': 'e295f588b05ccf8d6ae7c6b05c8d9ac1'},
41META:{'AUTH_TYPE': None,
42 'CONTENT_LENGTH': 0L,
43 'CONTENT_TYPE': None,
44 'GATEWAY_INTERFACE': 'CGI/1.1',
45 'HTTP_ACCEPT': 'image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*',
46 'HTTP_ACCEPT_LANGUAGE': 'en-gb',
47 'HTTP_CONNECTION': 'Keep-Alive',
48 'HTTP_CONTENT_LENGTH': '0',
49 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d916c2c6063e',
50 'HTTP_COOKIE': 'sessionid=e295f588b05ccf8d6ae7c6b05c8d9ac1',
51 'HTTP_HOST': '<hostname>',
52 'HTTP_PRAGMA': 'no-cache',
53 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
54 'PATH_INFO': u'/admin/<appname>/<modelname>/add/',
55 'PATH_TRANSLATED': None,
56 'QUERY_STRING': None,
57 'REMOTE_ADDR': '<ipaddress>',
58 'REMOTE_HOST': None,
59 'REMOTE_IDENT': None,
60 'REMOTE_USER': None,
61 'REQUEST_METHOD': 'POST',
62 'SCRIPT_NAME': '',
63 'SERVER_NAME': '<hostname>',
64 'SERVER_PORT': 80,
65 'SERVER_PROTOCOL': 'HTTP/1.1',
66 'SERVER_SOFTWARE': 'mod_python'}>
Back to Top