Skip to content

Delete greenlet start() #42

merged 1 commit into from Apr 9, 2012

3 participants

yrttyr commented Mar 29, 2012

No description provided.

gdw2 commented on b073c11 Mar 30, 2012


With g.start() present, I was getting the following stack trace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gevent/", line 438, in handle_one_response
  File "/tmp/Lawouach-WebSocket-for-Python-77539f5/example/ws4py/server/", line 85, in run_application
    self.result = self.application(self.environ, start_response_for_upgrade)
  File "", line 64, in __call__
    return, start_response)
  File "/tmp/Lawouach-WebSocket-for-Python-77539f5/example/ws4py/server/wsgi/", line 131, in __call__
  File "", line 75, in ws_app
  File "/usr/lib/python2.7/site-packages/gevent/", line 229, in start
    assert not self.started, 'Greenlet already started'
AssertionError: Greenlet already started
<EchoWebSocketServer fileno=3 address=>: Failed to handle request:
  request = GET /ws HTTP/1.1 from ('', 60149)
  application = <EchoWebSocketServer fileno=3 address=>
@Lawouach Lawouach merged commit 4fd7ea8 into Lawouach:master Apr 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.