vanilla icon indicating copy to clipboard operation
vanilla copied to clipboard

HTTP Client Exception

Open cablehead opened this issue 9 years ago • 0 comments

  File "/Users/andy/git/market/market/api.py", line 412, in body
    body = conn.get(self.PATH, params=params).recv().consume()
  File "/Library/Python/2.7/site-packages/vanilla/http.py", line 179, in consume
    return ''.join(self.body)
  File "/Library/Python/2.7/site-packages/vanilla/message.py", line 329, in __iter__
    yield self.recv()
  File "/Library/Python/2.7/site-packages/vanilla/message.py", line 324, in recv
    return self.pause(timeout=timeout)
  File "/Library/Python/2.7/site-packages/vanilla/message.py", line 203, in pause
    _, ret = self.hub.pause(timeout=timeout)
  File "/Library/Python/2.7/site-packages/vanilla/core.py", line 305, in pause
    resume = self.loop.switch()
  File "/Library/Python/2.7/site-packages/vanilla/core.py", line 496, in main
    masks[mask].send(True)
  File "/Library/Python/2.7/site-packages/vanilla/message.py", line 255, in send
    self.pause(timeout=timeout)
  File "/Library/Python/2.7/site-packages/vanilla/message.py", line 203, in pause
    _, ret = self.hub.pause(timeout=timeout)
  File "/Library/Python/2.7/site-packages/vanilla/core.py", line 301, in pause
    assert getcurrent() != self.loop, "cannot pause the main loop"
AssertionError: cannot pause the main loop

cablehead avatar Mar 06 '15 19:03 cablehead