Mark Gibbs
Mark Gibbs
If I try accessing [https://unpkg.com/[email protected]/dash_leaflet/dash_leaflet.min.js](https://unpkg.com/[email protected]/dash_leaflet/dash_leaflet.min.js) then I get the error: `Cannot find package [email protected]` This suggests that the issue is with `dash_leaflet` as the js file is not available -...
@cristianleonie-geos what [configuration parameters](https://django-plotly-dash.readthedocs.io/en/latest/configuration.html#configuration) do you have - in particular the `STATICFILES_FINDERS` and `PLOTLY_COMPONENTS` ones?
@cchantra that is a very old version of `django-plotly-dash` - is there a reason to not use something up-to-date?
@Harizliewzw when you try to view the app, do you get any error messages from the server or in the developer console of the browser?
@hkhare42 I think you need to wrap them in calls to `app.get_asset_url` as noted in passing [here](https://django-plotly-dash.readthedocs.io/en/latest/local_assets.html#known-issues) but unfortunately you can't do that in the constructor of `app`. Can you...
@davood-hadiannejad the global `ctx` variable is not encouraged. In general global variables are not a safe design approach. Rather, `django-plotly-dash` takes the information that would otherwise be in this global...
From the [dash documentation](https://dash.plotly.com/advanced-callbacks#determining-which-input-has-fired-with-dash.callback_context) it looks like dash 2.4 added some additional variables to the callback that are not populated (yet) when running through dpd.
@seszele64 which template tag are you using to render the app? The `plotly_dash` tag at the moment does insert relative position; it would be straightforward to make this optional.
@samarthsarin is there any more to the error message? In particular, it would be helpful to know what module contains the import statement leading to this warning. However, a DeprecationWarning...
So that warning is arising from some windows-specific functionality that in turn is being loaded by some modules that are being loaded by Dash - its not coming from `django-plotly-dash`....