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

ERROR: No matching distribution found for get==2019.4.13 -- Dockerfile fails to build #23

Open
skewty opened this issue Nov 3, 2021 · 0 comments

Comments

@skewty
Copy link

skewty commented Nov 3, 2021

docker-compose up is not working for me. Here is the stack trace:

brickserver           | Timeseries Initialized
brickserver           | {"loglevel": "\"debug\"", "workers": 16, "bind": "0.0.0.0:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": null, "host": "0.0.0.0", "port": "80"}
brickserver           | Traceback (most recent call last):
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 209, in run
brickserver           |     self.sleep()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 357, in sleep
brickserver           |     ready = select.select([self.PIPE[0]], [], [], 1.0)
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
brickserver           |     self.reap_workers()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
brickserver           |     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
brickserver           | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
brickserver           |
brickserver           | During handling of the above exception, another exception occurred:
brickserver           |
brickserver           | Traceback (most recent call last):
brickserver           |   File "/usr/local/bin/gunicorn", line 8, in <module>
brickserver           |     sys.exit(run())
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
brickserver           |     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 228, in run
brickserver           |     super().run()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 72, in run
brickserver           |     Arbiter(self).run()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 229, in run
brickserver           |     self.halt(reason=inst.reason, exit_status=inst.exit_status)
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 342, in halt
brickserver           |     self.stop()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 393, in stop
brickserver           |     time.sleep(0.1)
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
brickserver           |     self.reap_workers()
brickserver           |   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
brickserver           |     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
brickserver           | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
brickserver           | [2021-11-03 16:45:55 +0000] [16] [INFO] Waiting for application shutdown.

I tried updating docker-compose.yml with:

  brickserver:
    container_name: brickserver
    build:
      dockerfile: Dockerfile
    # image: "jbkoh/brickserver:0.1"
    ports:
      - "8000:80"

and modifying Dockerfile by updating the FROM line to FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9

But that leads to requirements.txt referencing modules that are no longer on pypi. The problem packages are:

  • get
  • post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant