plotly / dash-daq

Control components for Dash
MIT License
141 stars 40 forks source link

[BUG] - dash 1.8.0 causing dependency issues with dash-daq #83

Closed byronz closed 4 years ago

byronz commented 4 years ago

Describe your context Please provide us your environment so we can easily reproduce the issue.


**Describe the bug**

dash.exceptions.DependencyException: "dash_daq" is registered but the path requested is not valid. The path requested: "dash_daq.min.js.map" List of registered paths: defaultdict(<class 'set'>, {'dash_renderer': {'dash_renderer.min.js', 'prop-types@15.7.2.min.js', 'react-dom@16.8.6.min.js', 'polyfill@7.7.0.min.js', 'react@16.8.6.min.js', 'dash_renderer.min.js.map'}, 'dash_html_components': {'dash_html_components.min.js.map', 'dash_html_components.min.js'}, 'dash_bootstrap_components': {'_components/dash_bootstrap_components.min.js'}, 'dash_daq': {'dash_daq.min.js', 'async~slider.js.map', 'async~colorpicker.js.map', 'async~slider.js', 'async~colorpicker.js'}, 'dash_core_components': {'async~plotlyjs.js', 'dash_core_components-shared.js.map', 'async~highlight.js', 'dash_core_components.min.js', 'async~datepicker.js', 'plotly.min.js', 'async~datepicker.js.map', 'async~plotlyjs.js.map', 'async~highlight.js.map', 'dash_core_components-shared.js', 'async~upload.js', 'async~dropdown.js', 'async~markdown.js', 'async~dropdown.js.map', 'async~upload.js.map', 'async~markdown.js.map', 'async~graph.js', 'dash_core_components.min.js.map', 'async~graph.js.map'}, 'dash_table': {'async~table.js.map', 'async~highlight.js', 'async~table.js', 'async~highlight.js.map', 'bundle.js', 'async~export.js', 'async~export.js.map', 'bundle.js.map'}})



**Expected behavior**

the lazy loading should handle properly for that, or there should be a new release for dash-daq. 
byronz commented 4 years ago

Hello @shammamah

emilhe commented 4 years ago

I am also seeing this issue. Is there a fix available?

KPrasch commented 4 years ago

I am also experiencing this Issue after upgrading to the latest release (1.8.0)

DependencyException: "dash_daq" is registered but the path requested is not valid.
Marc-Andre-Rivet commented 4 years ago

I don't think this is a dash==1.8.0 issue, just a DAQ issue.

While the .js.map entry is in the manifest (https://github.com/plotly/dash-daq/blob/master/MANIFEST.in#L2) it's missing from https://github.com/plotly/dash-daq/blame/master/dash_daq/__init__.py -- there is no entry for dash_daq.min.js.map.