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

Make client tracebacks more useful. #22

Closed
fafhrd91 opened this issue Mar 27, 2014 · 3 comments
Closed

Make client tracebacks more useful. #22

fafhrd91 opened this issue Mar 27, 2014 · 3 comments
Labels

Comments

@fafhrd91
Copy link
Member

replace following traceback with something more useful.

  File "/Users/nikolay/dev/files-api/venv/src/aiohttp/aiohttp/client.py", line 890, in read
    chunk = yield from self.content.read()
  File "/Users/nikolay/dev/files-api/venv/src/aiohttp/aiohttp/parsers.py", line 252, in read
    raise self._exception
  File "/Users/nikolay/dev/files-api/venv/src/aiohttp/aiohttp/parsers.py", line 155, in set_parser
    next(p)
  File "/Users/nikolay/dev/files-api/venv/src/aiohttp/aiohttp/protocol.py", line 302, in __call__
    out.feed_eof()
  File "/Users/nikolay/dev/files-api/venv/src/aiohttp/aiohttp/protocol.py", line 377, in feed_eof
    raise errors.IncompleteRead(b'')
nose.proxy.IncompleteRead: IncompleteRead: Bad Request
@fafhrd91
Copy link
Member Author

ERROR [root] IncompleteRead(0 bytes read)
Traceback (most recent call last):
 File "/opt/files/src/libks/libks/web/application.py", line 66, in __call__
   resp = yield from resp
 File "/opt/files/src/fstorage/fstorage/client.py", line 17, in events
   message = yield from req.environ['wsgi.input'].read()
 File "/usr/local/lib/python3.4/dist-packages/aiohttp-0.7.2-py3.4.egg/aiohttp/parsers.py", line 334, in read
   yield from self._waiter
 File "/usr/lib/python3.4/asyncio/futures.py", line 348, in __iter__
   yield self  # This tells Task to wait for completion.
 File "/usr/lib/python3.4/asyncio/tasks.py", line 332, in _wakeup
   value = future.result()
 File "/usr/lib/python3.4/asyncio/futures.py", line 243, in result
   raise self._exception
 File "/usr/local/lib/python3.4/dist-packages/aiohttp-0.7.2-py3.4.egg/aiohttp/parsers.py", line 169, in feed_eof
   self._parser.throw(EofStream())
 File "/usr/local/lib/python3.4/dist-packages/aiohttp-0.7.2-py3.4.egg/aiohttp/protocol.py", line 292, in __call__
   yield from self.parse_length_payload(out, buf, length)
 File "/usr/local/lib/python3.4/dist-packages/aiohttp-0.7.2-py3.4.egg/aiohttp/protocol.py", line 345, in parse_length_payload
   raise errors.IncompleteRead(b'') from None
aiohttp.errors.IncompleteRead: IncompleteRead(0 bytes read)

fafhrd91 added a commit that referenced this issue Jun 2, 2014
@fafhrd91
Copy link
Member Author

fafhrd91 commented Jun 2, 2014

fixed in @5474bd8c583961b4ff1e553e0c4f0a1ca502f6ee

@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant