Hi! i’m using gunicorn to serve multi page app. After updating all dash packages i faced that error:
Traceback (most recent call last):
File “/home/roman/analitic_app/lib/python3.5/site-packages/flask/app.py”, line 1982, in wsgi_app
response = self.full_dispatch_request()
File “/home/roman/analitic_app/lib/python3.5/site-packages/flask/app.py”, line 1607, in full_dispatch_request
self.try_trigger_before_first_request_functions()
File “/home/roman/analitic_app/lib/python3.5/site-packages/flask/app.py”, line 1654, in try_trigger_before_first_request_functions
func()
File “/home/roman/analitic_app/lib/python3.5/site-packages/dash/dash.py”, line 544, in _setup_server
self._generate_scripts_html()
File “/home/roman/analitic_app/lib/python3.5/site-packages/dash/dash.py”, line 234, in _generate_scripts_html
self.scripts.get_all_scripts() +
File “/home/roman/analitic_app/lib/python3.5/site-packages/dash/resources.py”, line 123, in get_all_scripts
return self._resources.get_all_resources()
File “/home/roman/analitic_app/lib/python3.5/site-packages/dash/resources.py”, line 56, in get_all_resources
self.get_inferred_resources() + self._resources
File “/home/roman/analitic_app/lib/python3.5/site-packages/dash/resources.py”, line 84, in get_inferred_resources
for t in layout.traverse():
AttributeError: ‘NoneType’ object has no attribute ‘traverse’
and in browser
have no idea why app stoped working. i have read dash’s update notes on github and remove secret key from app.py but it didnt help. am i the only one facing that trouble?