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

Checking for bokeh static files raises error when building on mybinder.org #530

Closed
scottyhq opened this issue Apr 3, 2024 · 0 comments · Fixed by #531
Closed

Checking for bokeh static files raises error when building on mybinder.org #530

scottyhq opened this issue Apr 3, 2024 · 0 comments · Fixed by #531

Comments

@scottyhq
Copy link
Member

scottyhq commented Apr 3, 2024

Describe the bug

/bin/sh: 1: [: /srv/conda/envs/notebook/lib/python3.1/site-packages/bokeh/server/static: unexpected operator

Noticed here #522

Seems to be a problem with variable expansion and wildcard in this directory check, possible related to 3.1 -> 3.10 conda symlink...

; if [ -d ${NB_PYTHON_PREFIX}/lib/python*/site-packages/bokeh/server/static ]; then \

I guess nobody has been using binder for a few years since the binder build fails but building locally or on github actions does not raise this error. For example, log from the last merged PR:
https://github.com/pangeo-data/pangeo-docker-images/actions/runs/8494705937/job/23270196870#step:7:179

Docker Image Version
2024.03.22 (although has probably been the case for a while). This results in ~30MB static bokeh .js files not being deleted to reduce the image size

30M	/srv/conda/envs/notebook/lib/python3.11/site-packages/bokeh/server/static
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant