jupyter-dash icon indicating copy to clipboard operation
jupyter-dash copied to clipboard

Server starting twice on duplicate element

Open nico-ebi opened this issue 5 years ago • 1 comments

Hello, if in the layout an element is present twice with the same id, then app.run_server() will fail saying that someone else is already using the port. The error message seems a bit misleading and I was wondering if this is a known issue.

To replicate, just use the getting started notebook and copy the scatter plot in another div so that you will have two

dcc.Graph(
            id='crossfilter-indicator-scatter',
            hoverData={'points': [{'customdata': 'Japan'}]}
        )

nico-ebi avatar Oct 23 '20 23:10 nico-ebi

Very confusing error message indeed.

janosh avatar Jul 24 '22 00:07 janosh