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

Avoid RunTime warning on startup with docker #431

Closed
francbartoli opened this issue Apr 30, 2020 · 0 comments · Fixed by #432
Closed

Avoid RunTime warning on startup with docker #431

francbartoli opened this issue Apr 30, 2020 · 0 comments · Fixed by #432
Assignees
Labels
bug Something isn't working
Milestone

Comments

@francbartoli
Copy link
Contributor

Description
A warning is emitted by gunicorn at bootstrap:

[2020-04-30 15:51:57 +0000] [12] [INFO] Starting gunicorn 19.9.0
[2020-04-30 15:51:57 +0000] [12] [INFO] Listening at: http://0.0.0.0:80 (12)
[2020-04-30 15:51:57 +0000] [12] [INFO] Using worker: gevent
/usr/lib/python3.8/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  return io.open(fd, *args, **kwargs)

Steps to Reproduce
Steps to reproduce the behavior:

Start pygeoapi with docker.

Expected behavior

This could be resolved by upgrading gunicorn as per this issue

Screenshots/Tracebacks
If applicable, add screenshots to help explain your problem.

Environment

  • OS: Docker
  • Python version: 3.8
  • pygeoapi version: master

Additional context
Add any other context about the problem here.

@francbartoli francbartoli added the bug Something isn't working label Apr 30, 2020
@francbartoli francbartoli added this to the 0.8.0 milestone Apr 30, 2020
@francbartoli francbartoli self-assigned this Apr 30, 2020
@francbartoli francbartoli changed the title Avoid RunTime warning on startup Avoid RunTime warning on startup with docker Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant