Page MenuHomePhabricator gives 502
Closed, ResolvedPublic


502 doesn't sound like an appropriate status code. Wayback machine doesn't seem to like it, either. 404 would be better.

Related Objects


Event Timeline

Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added a project: Quarry.
Nemo_bis added a subscriber: Nemo_bis.

According to Yuvi, this is uwsgi swallowing these exceptions:

File "/srv/venv/lib/python2.7/site-packages/flask/", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/venv/lib/python2.7/site-packages/flask/", line 1461, in dispatch_request
Display the sourcecode for this frameOpen an interactive python shell in this framereturn self.view_functions[rule.endpoint](**req.view_args)
File "/vagrant/quarry/web/", line 39, in user_page
user = g.conn.session.query(User).filter(func.lower(User.username) == user_name).one()
File "/srv/venv/lib/python2.7/site-packages/sqlalchemy/orm/", line 2375, in one
raise orm_exc.NoResultFound("No row was found for one()")
NoResultFound: No row was found for one()
Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript

Change 266021 had a related patch set uploaded (by Alex Monk):
Don't die on a non-existent user page

Change 266021 merged by jenkins-bot:
Don't die on a non-existent user page