Can't run simple dash app demo for dash_table_experiments

I have been trying to run the dash_table_experiments usage sample code at

https://raw.githubusercontent.com/plotly/dash-table-experiments/master/usage.py

but I get the following KeyErrors:

  • Serving Flask app “app_test” (lazy loading)
  • Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.
  • Debug mode: off
    [2018-07-03 17:03:23,283] ERROR in app: Exception on /_dash-update-component [POST]
    Traceback (most recent call last):
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 2292, in wsgi_app
    response = self.full_dispatch_request()
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/_compat.py”, line 35, in reraise
    raise value
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1813, in full_dispatch_request
    rv = self.dispatch_request()
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1799, in dispatch_request
    return self.view_functionsrule.endpoint
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/dash/dash.py”, line 544, in dispatch
    for component_registration in self.callback_map[target_id][‘inputs’]:
    KeyError: ‘live-update-text.children’
    67.21.0.124 - - [03/Jul/2018 17:03:23] “POST /_dash-update-component HTTP/1.1” 500 -
    [2018-07-03 17:03:23,285] ERROR in app: Exception on /_dash-update-component [POST]
    Traceback (most recent call last):
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 2292, in wsgi_app
    response = self.full_dispatch_request()
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/_compat.py”, line 35, in reraise
    raise value
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1813, in full_dispatch_request
    rv = self.dispatch_request()
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/flask/app.py”, line 1799, in dispatch_request
    return self.view_functionsrule.endpoint
    File “/home/ubuntu/large_vis_venv/local/lib/python3.5/site-packages/dash/dash.py”, line 544, in dispatch
    for component_registration in self.callback_map[target_id][‘inputs’]:
    KeyError: ‘live-update-graph.figure’