I was having some strange errors trying to make a multipage dashboard, so I replicated the demo app at the bottom of the multipage documentation page.
However, running index.py gave me an error:
Traceback (most recent call last): File "index.py", line 6, in <module> from apps import app1, app2 File "XXXXX/app/apps/app2.py", line 24, in <module> [Input('app-1-dropdown', 'value')]) File "XXXXX/anaconda3/lib/python3.6/site-packages/dash/dash.p", line 485, in callback self._validate_callback(output, inputs, state, events) File "XXXXX/anaconda3/lib/python3.6/site-packages/dash/dash.py", line 471, in _validate_callback output.component_property).replace(' ', '')) dash.exceptions.CantHaveMultipleOutputs: You have already assigned a callback to the output with ID "app-1-display-value" and property "children". An output can only have a single callback function. Try combining your inputs and callback functions together into one function.
For the life of me, I can’t backtrace the solution. Any help appreciated.