Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid url for bokeh js ressources #8589

Open
Ph0tonic opened this issue Mar 19, 2024 · 0 comments
Open

Invalid url for bokeh js ressources #8589

Ph0tonic opened this issue Mar 19, 2024 · 0 comments

Comments

@Ph0tonic
Copy link

Describe the issue:

Hi,
I am having the same issue as described in dask/dask-gateway#676 with the latest version of dask-gateway 2024.1.0. The dashboard is broken as js files url are invalid.

Static urls generated for bokeh js ressources are relatives to the server instead of the current url.

<!-- Should be : -->
<script type="text/javascript" src="static/js/bokeh.min.js?v=39ef57c3a83533e24f961e5c27f651a61045dbccefac4b5df86a7680b1edaff31886a7c0322250ffb0d758fa14ae156c9b640f60cca99f020096b050a4dbb571"></script>
<!-- But is : -->
<script type="text/javascript" src="/static/js/bokeh.min.js?v=39ef57c3a83533e24f961e5c27f651a61045dbccefac4b5df86a7680b1edaff31886a7c0322250ffb0d758fa14ae156c9b640f60cca99f020096b050a4dbb571"></script>

This breaks the loading of the page, with nothing being displayed. I checked which version of bokeh is running and I identified version 3.3.0 which integrated a fix:

However, I am not sure why this is happening. Any help is welcome.

Anything else we need to know?:

Environment:

  • dask-gateway ~= 2024.1.0
  • Python version: 3.11
  • Install method: pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant