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

IndexError in workers/sync.py #1423

Closed
berkerpeksag opened this Issue Jan 5, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@berkerpeksag
Collaborator

berkerpeksag commented Jan 5, 2017

I got this when I ran gunicorn echo:app from the examples directory:

Traceback (most recent call last):
  File "/home/berker/projects/gunicorn/gunicorn/arbiter.py", line 574, in spawn_worker
    worker.init_process()
  File "/home/berker/projects/gunicorn/gunicorn/workers/base.py", line 140, in init_process
    self.run()
  File "/home/berker/projects/gunicorn/gunicorn/workers/sync.py", line 124, in run
    self.run_for_one(timeout)
  File "/home/berker/projects/gunicorn/gunicorn/workers/sync.py", line 59, in run_for_one
    listener = self.sockets[0]
IndexError: list index out of range

It works as expected if I revert 0be7996.

@berkerpeksag berkerpeksag added the bug :( label Jan 5, 2017

@benoitc benoitc closed this in 1db805c Jan 5, 2017

@benoitc benoitc added this to Other in Bugs Feb 23, 2017

@benoitc benoitc removed this from Other in Bugs Feb 23, 2017

fofanov pushed a commit to fofanov/gunicorn that referenced this issue Mar 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment