#2076 podman compose up traceback
Opened 5 months ago by praiskup. Modified 3 months ago

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)

3 months ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2099 Merged 4 months ago