Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add favicon.ico to vprof #10

Closed
nvdv opened this issue Jan 4, 2016 · 0 comments
Closed

Add favicon.ico to vprof #10

nvdv opened this issue Jan 4, 2016 · 0 comments

Comments

@nvdv
Copy link
Owner

nvdv commented Jan 4, 2016

Currently vprof does not have favicon and server throws IOError:

Exception happened during processing of request from ('127.0.0.1', 52771)
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 599, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "vprof/stats_server.py", line 37, in __init__
    self, *args, **kwargs)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "vprof/stats_server.py", line 52, in do_GET
    with open(res_filename) as res_file:
IOError: [Errno 2] No such file or directory: 'vprof/frontend/favicon.ico'

Add favicon.ico to vprof to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant