Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /index.php #258

Open
Alerion opened this issue Mar 5, 2015 · 0 comments
Open

Fix /index.php #258

Alerion opened this issue Mar 5, 2015 · 0 comments

Comments

@Alerion
Copy link
Contributor

Alerion commented Mar 5, 2015

Traceback (most recent call last):

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 87, in get_response
    response = middleware_method(request)

  File "/home/django/djbookru/src/../lib/pagination/middleware.py", line 8, in process_request
    request.page = int(request.REQUEST['page'])

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 166, in _get_request
    self._request = datastructures.MergeDict(self.POST, self.GET)

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 180, in _get_post
    self._load_post_and_files()

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/__init__.py", line 368, in _load_post_and_files
    self._post, self._files = self.parse_file_upload(self.META, data)

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/__init__.py", line 328, in parse_file_upload
    return parser.parse()

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 133, in parse
    for item_type, meta_data, field_stream in Parser(stream, self._boundary):

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 587, in __iter__
    for sub_stream in boundarystream:

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 401, in next
    return LazyStream(BoundaryIter(self._stream, self._boundary))

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 427, in __init__
    unused_char = self._stream.read(1)

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 301, in read
    out = ''.join(parts())

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 294, in parts
    chunk = self.next()

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 316, in next
    output = self._producer.next()

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/multipartparser.py", line 377, in next
    data = self.flo.read(self.chunk_size)

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/http/__init__.py", line 392, in read
    return self._stream.read(*args, **kwargs)

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 104, in read
    result = self.buffer + self._read_limited(size - len(self.buffer))

  File "/home/django/djbookru/env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 92, in _read_limited
    result = self.stream.read(size)

IOError: request data read error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant