On Thu, Mar 17, 2011 at 1:51 PM, Komkov Alexander <[email protected]> wrote: > Hi, > We have a web app running on Django 1.3.0. I get emails about > IOError as below: > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > base.py", line 104, in get_response > response = callback(request, *callback_args, **callback_kwargs) > > File "/usr/local/lib/python2.6/dist-packages/django/contrib/auth/ > decorators.py", line 25, in _wrapped_view > return view_func(request, *args, **kwargs) > > File "/var/www/vhosts/entropius/client.avisosms.ru/src/common/ > views.py", line 608, in deliveryImport > if request.FILES: > > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > wsgi.py", line 192, in _get_files > self._load_post_and_files() > > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > wsgi.py", line 142, in _load_post_and_files > self._post, self._files = self.parse_file_upload(self.META, > self.environ['wsgi.input']) > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > __init__.py", line 127, in parse_file_upload > return parser.parse() > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 133, in parse > for item_type, meta_data, field_stream in Parser(stream, > self._boundary): > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 606, in __iter__ > for sub_stream in boundarystream: > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 420, in next > return LazyStream(BoundaryIter(self._stream, self._boundary)) > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 446, in __init__ > unused_char = self._stream.read(1) > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 299, in read > out = ''.join(parts()) > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 292, in parts > chunk = self.next() > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 314, in next > output = self._producer.next() > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 375, in next > data = self.flo.read(self.chunk_size) > > File "/usr/local/lib/python2.6/dist-packages/django/http/ > multipartparser.py", line 405, in read > return self._file.read(num_bytes) > > IOError: request data read error >
The user stopped the request (most likely). Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

