You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this commit #181 and specifically this line which removed *args and **kwargs from Dash's index function signature is now causing an exception on the initial page load of an app due to the /facivon.ico request being handled by the index method, thereby getting a path=favicon.ico parameter.
As mentioned in #152 this is caused by Dash serving the index route as a catchall for otherwise unmatched routes.
Traceback (most recent call last):
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1998, in __call__
return self.wsgi_app(environ, start_response)
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1986, in wsgi_app
response = self.handle_exception(e)
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1983, in wsgi_app
response = self.full_dispatch_request()
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1615, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1613, in full_dispatch_request
rv = self.dispatch_request()
File "/home/nejl/.pyenv/versions/3.6.1/envs/dash/lib/python3.6/site-packages/flask/app.py", line 1599, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
TypeError: index() got an unexpected keyword argument 'path'
Activity
chriddyp commentedon Jan 5, 2018
ah, right, of course. yeah, let's add that back
fix #189
fix plotly/dash#189 (#191)
fix plotly/dash#189 (#191)
Merge pull request plotly#189 from plotly/dependabot/npm_and_yarn/hos…
Merge pull request #189 from plotly/dependabot/npm_and_yarn/hosted-gi…