Skip to content

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

@skewty

Description

@skewty

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions