Hi folks, I have a custom file uploading utility in a pyramid app, and it's
using an older version of webob, 1.1 to be precise. I'm getting the
following when uploading a large file, and it seems from the web ob docs
that this should be OK in webob 1.1. I also read some mention that it might
be a server issue, but I get the same problem whether hitting paster or
modwsgi. Not really sure where to look to deal with it and wondering if
anyone else has had a similar issue and can comment?
Thanks!
Iain
Exception happened during processing of request from ('127.0.0.1', 33105)
1101 Traceback (most recent call last):
1102 File
"/home/jordans/Jordans/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py",
line 1068, in process_request_in_thread
1103 self.finish_request(request, client_address)
1104 File "/usr/lib/python2.7/SocketServer.py", line 323, in
finish_request
1105 self.RequestHandlerClass(request, client_address, self)
1106 File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__
1107 self.handle()
1108 File
"/home/jordans/Jordans/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py",
line 442, in handle
1109 BaseHTTPRequestHandler.handle(self)
1110 File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
1111 self.handle_one_request()
1112 File
"/home/jordans/Jordans/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py",
line 437, in handle_one_request
1113 self.wsgi_execute()
1114 File
"/home/jordans/Jordans/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py",
line 287, in wsgi_execute
1115 self.wsgi_start_response)
1116 File
"/home/jordans/Jordans/eggs/pyramid-1.1-py2.7.egg/pyramid/router.py", line
161, in __call__
1117 response = view_callable(context, request)
1118 File
"/home/jordans/Jordans/eggs/pyramid-1.1-py2.7.egg/pyramid/config.py", line
3020, in _secured_view
1119 return view(context, request)
1120 File
"/home/jordans/Jordans/eggs/pyramid-1.1-py2.7.egg/pyramid/config.py", line
3123, in rendered_view
1121 result = view(context, request)
1122 File
"/home/jordans/Jordans/eggs/pyramid-1.1-py2.7.egg/pyramid/config.py", line
3220, in _class_view
1123 response = inst()
1124 File
"/home/jordans/Jordans/framework_src/xornot.cms/xornot/cms/views/upload.py",
line 83, in __call__
1125 self.post()
1126 File
"/home/jordans/Jordans/framework_src/xornot.dram/xornot/dram/views/__init__.py",
line 560, in post
1127 self.post_values = self.request.POST
1128 File
"/home/jordans/Jordans/eggs/WebOb-1.1-py2.7.egg/webob/request.py", line
573, in POST
1129 vars = self._str_POST
1130 File
"/home/jordans/Jordans/eggs/WebOb-1.1-py2.7.egg/webob/request.py", line
558, in _str_POST
1131 keep_blank_values=True)
1132 File "/usr/lib/python2.7/cgi.py", line 508, in __init__
1133 self.read_multi(environ, keep_blank_values, strict_parsing)
1134 File "/usr/lib/python2.7/cgi.py", line 637, in read_multi
1135 environ, keep_blank_values, strict_parsing)
1136 File "/usr/lib/python2.7/cgi.py", line 510, in __init__
1137 self.read_single()
1138 File "/usr/lib/python2.7/cgi.py", line 647, in read_single
1139 self.read_lines()
1140 File "/usr/lib/python2.7/cgi.py", line 669, in read_lines
1141 self.read_lines_to_outerboundary()
1142 File "/usr/lib/python2.7/cgi.py", line 697, in
read_lines_to_outerboundary
1143 line = self.fp.readline(1<<16)
1144 File
"/home/jordans/Jordans/eggs/WebOb-1.1-py2.7.egg/webob/request.py", line
1292, in readline
1145 self._check_disconnect()
1146 File
"/home/jordans/Jordans/eggs/WebOb-1.1-py2.7.egg/webob/request.py", line
1311, in _check_disconnect
1147 + "(%d more bytes were expected)" % self.remaining
1148 DisconnectionError: The client disconnected while sending the POST/PUT
body (601187 more bytes were expected)
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.