Category : plotly

I’m trying to run a dash app locally using: if __name__ == ‘__main__’: logging.basicConfig(filename=LOG_NAME,level=logging.DEBUG) app.css.config.serve_locally = True app.scripts.config.serve_locally = True app.run_server(port=8050, host=’0.0.0.0′) when I do, I get this exception: [26/Mar/2019 00:04:14] “GET /_dash-component-suites/dash_renderer/dash_renderer.min.js.map?v=0.21.0&m=1553528052 HTTP/1.1” 500 – ERROR:flask.app:Exception on /_dash-component-suites/dash_renderer/dash_renderer.min.js.map [GET] Traceback (most recent call last): File “/usr/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi_app response = self.full_dispatch_request() File ..

Read more

I have a multi-page dash application that works as expected when running it locally with: waitress-serve –listen=0.0.0.0:80 web_app.wsgi:application so all the assets within the assets folder loads correctly, the images ar loaded with src=app.get_asset_url(‘xyz.png’) and have set app.css.config.serve_locally to true, as shown here everything loads working But when loading the same app within a docker ..

Read more