Incompatibility with dash 1.21.0 when serving files locally
See original GitHub issueWhen serving files locally after upgrading to dash 1.21.0, certain script urls break. This is what is rendered in the template footer:
<script src="/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash/deps/polyfill@7.v1_21_0m1627189189.12.1.min.js"></script>
<script src="/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash/deps/react@16.v1_21_0m1627189189.14.0.min.js"></script>
<script src="/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash/deps/react-dom@16.v1_21_0m1627189189.14.0.min.js"></script>
<script src="/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash/deps/prop-types@15.v1_21_0m1627189189.7.2.min.js"></script>
<script src="/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash/dash-renderer/build/dash_renderer.v1_21_0m1627189189.min.js"></script>
Note the /dash/deps/
bit, which is not handled by any route. With dash 1.20.0, the folder structure is different, eg. for react-dom
, it is:
<script src="/synapse/django_plotly_dash/app/LigandabilityViewer/_dash-component-suites/dash_renderer/react-dom@16.v1_9_1m1617985068.14.0.min.js"></script>
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Troubleshooting App Deployment Errors - Dash Python
This troubleshooting guide describes errors that you may encounter when deploying apps to Dash Enterprise as well as steps to resolve them.
Read more >django-plotly-dash - Bountysource
Hi team, I am NOT able to render the multipage dash app. Below is the piece of code which is the entry point...
Read more >dash/CHANGELOG.md at dev · plotly/dash - GitHub
This allows you to re-initialize the Python code of the app when non-Python files change, if you know that these files impact the...
Read more >Cannot install "dash" with Python version 3.6.4 - Stack Overflow
I'm attempting to install Dash from our local pip repository, but it doesn't want to install on Python 3.6.4. I've tried versions 2.0.0...
Read more >Changelog - Dash Enterprise Administration
dash -embedded==1.21.0 is compatible with dash==1.21.0 and ... The next major release of Dash Enterprise will drop support for self-serve account creation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds like a code change in dash 1.21.0 has altered some paths. As
django-plotly-dash
rewrites some of these paths we will need to update our codebase.Short term workaround is to restrict the dash version used, either manually or in a project’s requirements file.
Great, thank you! I will test this week and reopen if any issues as instructed.