Skip to content
New issue

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

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

Already on GitHub? # to your account

IndexError in workers/sync.py #1423

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

IndexError in workers/sync.py #1423

berkerpeksag opened this issue Jan 5, 2017 · 0 comments
Labels

Comments

@berkerpeksag
Copy link
Collaborator

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.

@benoitc benoitc closed this as completed in 1db805c Jan 5, 2017
mjjbell pushed a commit to mjjbell/gunicorn that referenced this issue Mar 16, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant