Open Bug 1091079 Opened 5 years ago Updated 10 months ago

favicon.ico isn't being set

Categories

(Webtools :: DXR, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

People

(Reporter: juber, Unassigned)

Details

(Whiteboard: easy)

This traceback happened the first time I loaded the toy dxr-serve.py server in ~/dxr/tests/test_basic. Refreshing the page didn't cause the problem to be reproduced.

vagrant@vagrant-ubuntu-trusty-64:~/dxr/tests/test_basic$ sudo dxr-serve.py -a target -p 80
 * Running on http://0.0.0.0:80/
 * Restarting with reloader
33.33.33.1 - - [29/Oct/2014 16:25:28] "GET / HTTP/1.1" 302 -
33.33.33.1 - - [29/Oct/2014 16:25:28] "GET /code/source/ HTTP/1.1" 200 -
33.33.33.1 - - [29/Oct/2014 16:25:29] "GET /static/icons/mimetypes/c.png HTTP/1.1" 200 -
33.33.33.1 - - [29/Oct/2014 16:25:34] "GET /code/source/dot_c.c HTTP/1.1" 200 -
33.33.33.1 - - [29/Oct/2014 16:25:35] "GET /static/js/panel.js HTTP/1.1" 200 -
33.33.33.1 - - [29/Oct/2014 16:25:35] "GET /static/js/code-highlighter.js HTTP/1.1" 200 -
33.33.33.1 - - [29/Oct/2014 16:25:36] "GET /favicon.ico HTTP/1.1" 302 -
33.33.33.1 - - [29/Oct/2014 16:25:36] "GET /favicon.ico HTTP/1.1" 302 -
33.33.33.1 - - [29/Oct/2014 16:25:36] "GET /favicon.ico/source/ HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1701, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1689, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/vagrant/dxr/dxr/app.py", line 192, in browse
    index=config['ES_ALIASES'][tree],
KeyError: u'favicon.ico'
Whiteboard: easy
Hi Erik.
Do you know if this bug is still open?. It seems to be quite old as per the timestamps in this bug report ?
(I am looking to contribute )
Flags: needinfo?(erik)
Thanks for getting in touch! I'm not sure if this bug report is still accurate, but, in any case, you're best off contributing elsewhere. DXR is no longer actively maintained. I recommend having a look at https://whatcanidoformozilla.org/.
Flags: needinfo?(erik)
You need to log in before you can comment on or make changes to this bug.