Page MenuHomePhabricator

http://tools.wmflabs.org/static-browser/ and http://tools.wmflabs.org/static gives Error 500
Open, Needs TriagePublic

Description

http://tools.wmflabs.org/static-browser/ and http://tools.wmflabs.org/static gives Error 500 when trying to browse them. Is this intentional? If not, can it be fixed? Thanks.

500 Internal Server Error

Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 24 2017, 2:37 PM
Krenair added a subscriber: Krenair.EditedSep 24 2017, 3:54 PM

5xx errors are never intentional, they always indicate something is wrong

bd808 assigned this task to Ireas.Sep 24 2017, 4:42 PM
2017-09-24 16:37:45: (mod_fastcgi.c.2673) FastCGI-stderr: TemplateNotFound: index.html
Exception on / [GET]
Traceback (most recent call last):
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/static_browser/web.py", line 29, in index
    return flask.render_template('index.html', libraries=libraries, fonts=fonts)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/templating.py", line 133, in render_template
    return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
  File "/data/project/static-browser/local/lib/python2.7/site-packages/jinja2/environment.py", line 851, in get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/jinja2/environment.py", line 812, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/data/project/static-browser/local/lib/python2.7/site-packages/jinja2/environment.py", line 774, in _load_template
    cache_key = self.loader.get_source(self, name)[1]
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/templating.py", line 57, in get_source
    return self._get_source_fast(environment, template)
  File "/data/project/static-browser/local/lib/python2.7/site-packages/flask/templating.py", line 85, in _get_source_fast
    raise TemplateNotFound(template)
TemplateNotFound: index.html

The URL now gives a 503 instead.

@Ireas: Hi! This task has been assigned to you a while ago. Do you plan to work on this task? Are you still the maintainer of static-browser?

Aklapper removed Ireas as the assignee of this task.Jun 19 2020, 4:13 PM
Aklapper added a subscriber: Ireas.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)