I have the same issue, loading an extension that needs to load other CSS
and JS files.
Did you find a solution Ted ?
luc
On Tuesday, August 16, 2016 at 5:14:50 PM UTC-5, Ted Liefeld wrote:
>
> Hi again folks,
>
> I have a jupyterhub that I am setting up and have custom authentication
> and css on it. I am also trying to get a custom extension installed on the
> single-user docker containers launched by the hub and that is where the
> problem is. The extension appears to be installed based on this returning
> true
> import notebook
> notebook.nbextensions.check_nbextension('genomespace', user=True)
>
> However in the notebook page it cannot load the js or css for the
> extension widgets. What seems to be the issue is the path to the js/css
> based on the 404's in the console. The issue seems to be that the page is
> looking for
>
> https://jupyterhubtest.genomespace.org/hub/nbextensions/
> <EXTENSION_NAME>/js/<PATH>
>
> while I can actually access it in the spawned single user at
>
> https://jupyterhubtest.genomespace.org*/user/<username>/*
> nbextensions/<EXTENSTION_NAME>/js/<PATH>
>
> which is actually passed on to the spawned container.
>
> Is this something that can be controlled via config or do I need to
> install the extension on the hub as well/instead of in the container?
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/e9fd310e-40b7-4877-ab6b-496c29ca8e3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.