Installing and enabling extensions on single-user servers should be all
that is needed. That looks like there's an inappropriate absolute URL
somewhere. Can you share some more information about your extension? Does
it have any explicit URLs, perhaps with `/nbextensions` anywhere?

-MinRK

On Wed, Aug 17, 2016 at 12:14 AM, Ted Liefeld <[email protected]>
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/402a47a7-7efb-406c-8fa1-f144207396d1%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/402a47a7-7efb-406c-8fa1-f144207396d1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHNn8BXxQBJU6E3OV1rfmiytFZP-ycXSiszmufS6UV9bxiUO1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to