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

javascript won't load unless hub acct is restarted #15

Closed
rskabelund opened this issue Dec 6, 2016 · 1 comment
Closed

javascript won't load unless hub acct is restarted #15

rskabelund opened this issue Dec 6, 2016 · 1 comment

Comments

@rskabelund
Copy link

Using single-user server to develop a custom widget. Attempting to test the widget prior to deployment. In this environment I have been using the following commands to install the widget:

from the terminal:
$ git clone https://git.company url
$ cd widget-project
$ python setup.py build
$ python setup.py install
$ jupyter nbextension install --py --user widget-project
$ jupyter nbextension enable --py --user widget-project

Then, in order to see these changes, I need to restart the hub server. This has been working fine, although tedious, to debug widget development on just my hub acct before pushing changes to entire server. Once widget is ready, I push the changes and build a new docker image using the latest repo.

However, since we upgraded to Jupyter Hub 0.7.0 we ran into an issue regarding cookies and user persmissions (jupyterhub/jupyterhub#537) and the solution seems to be to delete the user image so it gets respawned etc. However this kinda breaks my previous procedure since the image gets reset and the install gets removed and I can no longer debug.

We have been trying to fix the 500 error, but with SSO on a different server and so many moving parts we are having little luck. So, I can live with resetting the image as the solution to the 500 error if did not have to restart in the first place.

Is there another way to get the javascript loaded? Am I totally missing something?

@rskabelund
Copy link
Author

ok, how come I didn't think of this sooner, I just reloaded the browser window and my javascript changes appeared.

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

No branches or pull requests

1 participant