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

enable offline production of summary pages #348

Open
sybenzvi opened this issue Aug 5, 2023 · 0 comments
Open

enable offline production of summary pages #348

sybenzvi opened this issue Aug 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sybenzvi
Copy link
Contributor

sybenzvi commented Aug 5, 2023

By default, Nightwatch pages generated with bokeh require access to several JavaScript files in order to produce plots. The list of files can be identified by running

from bokeh.resources import CDN
CDN.js_files

This breaks the plots when Nightwatch is run offline, for example due to a network failure at KPNO. The fix is to define the environment variable

BOKEH_RESOURCES=inline

when running Nightwatch. The variable can be defined in the script /n/home/datasystems/setup_nightwatch.sh or in the desimodules/main config file.

@sybenzvi sybenzvi added the bug Something isn't working label Aug 5, 2023
@sybenzvi sybenzvi self-assigned this Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant