You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display informative message if attempting to use the dashboard and bokeh isn't installed #3836
enhancementImprove existing functionality or make things work bettergood second issueClearly described, educational, but less trivial than "good first issue".help wanted
Perhaps we should include a vanilla route under /status (the common
entry point for Bokeh users) that says "please install bokeh" with some
conda/pip install lines if Bokeh isn't installed. The relevant code is
probably in distributed/http/scheduler/info.py . I suspect that someone
even very mildly familiar with web programming could accomplish this by
copying examples that are already there.
I would like to work on this, but I'm unsure of how to implement the suggested approach. Perhaps I'm missing something obvious, but if we add a route under /status to the Tornado server in distributed/http/scheduler/info.py, won't that conflict with the /status route on the Bokeh app? e.g, if Bokeh is installed, and the user navigates to /status, won't they be served by the vanilla route rather than the current status endpoint?
Good thought. So we would probably only want to install that route if
bokeh wasn't installed. We might accomplish this with a try-except
ImportError block.
On Sun, May 31, 2020 at 1:02 PM joshreback ***@***.***> wrote:
I would like to work on this, but I'm unsure of how to implement the
suggested approach. Perhaps I'm missing something obvious, but if we add a
route under /status to the Tornado server in
distributed/http/scheduler/info.py, won't that conflict with the /status
route on the Bokeh app? e.g, if Bokeh is installed, and the user navigates
to /status, won't they be served by the vanilla route rather than the
current status endpoint?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3836 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTEHJOWQZKJTAYLSAGLRUKZW3ANCNFSM4NNFNH4Q>
.
enhancementImprove existing functionality or make things work bettergood second issueClearly described, educational, but less trivial than "good first issue".help wanted
Activity
joshreback commentedon May 31, 2020
I would like to work on this, but I'm unsure of how to implement the suggested approach. Perhaps I'm missing something obvious, but if we add a route under
/statusto the Tornado server indistributed/http/scheduler/info.py, won't that conflict with the/statusroute on the Bokeh app? e.g, if Bokeh is installed, and the user navigates to/status, won't they be served by the vanilla route rather than the current status endpoint?mrocklin commentedon May 31, 2020