#2076 podman compose up traceback
Closed: MIGRATED 2 years ago by nikromen. Opened 2 years ago by praiskup.

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/flask/app.py", line 2088, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
    return response(environ, start_response)
  File "/usr/lib/python3.10/site-packages/werkzeug/wrappers/response.py", line 631, in __call__
    start_response(status, headers)
ValueError: status code is not a 3 digit integer

I'm sure I've seen this issue reported before, but dunno where. Ideas?


Oh, IIRC this happens when not creating the database properly.

Once docker-compose up -d is run for the first time, this needs to be done:

$ docker exec -it copr_frontend_1 bash
[copr-fe@frontend /]$ init-database.sh

But we should catch the traceback and print some user-friendly message.

But we should catch the traceback and print some user-friendly message.

Yeah, we should cosset our first-time contributors!

Hm, I'm reopening. Today I started - and I see again this:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/flask/app.py", line 2088, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
    return response(environ, start_response)
  File "/usr/lib/python3.10/site-packages/werkzeug/wrappers/response.py", line 631, in __call__
    start_response(status, headers)
ValueError: status code is not a 3 digit integer

Metadata Update from @praiskup:
- Issue status updated to: Open (was: Closed)

2 years ago

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #2099 Merged 2 years ago