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

base_url not set #123

Closed
guimou opened this issue Mar 10, 2022 · 2 comments
Closed

base_url not set #123

guimou opened this issue Mar 10, 2022 · 2 comments
Labels

Comments

@guimou
Copy link

guimou commented Mar 10, 2022

Hi!

Bug description

The base_url variable used to set --www-root-path (L93 of _init.py) is not replaced by any value.
If I test it in a standalone mode of JupyterLab, I end up with the command .... --www-root-path={base_url}rstudio/ ... exactly as written in the script, no variable substitution. Same thing behing with JupyterHub behind a Reverse Proxy (although here I have other issues with the auth-sign-in rewrite, but this must be related).
Trying to debug it, base_url is indeed an unknown variable from Python's point of view.
As per jupyter-server-proxy documentation, this variable should be replaced.

Expected behaviour

Variable set correctly.

Your personal set up

  • OS: containerized image of JupyterLab installation, based on Fedora 34.
  • Packages:
    ipython<8.0.0
    notebook==6.4.6
    jupyterhub==1.3.0
    jupyterlab==3.1.18
    jupyterlab-requirements==0.15.0
    jupyter_kernel_gateway==2.4.0
    jupyter-nbrequirements==0.7.3
    supervisor==4.1.0
    jupyterlab-git==0.30
    jupyterlab-spellchecker==0.7.2
    jupyter-server-proxy==3.2.1
    jupyter-rsession-proxy==2.0.1
@guimou guimou added the bug label Mar 10, 2022
@welcome
Copy link

welcome bot commented Mar 10, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@guimou
Copy link
Author

guimou commented Mar 25, 2022

Wrong diagnosis on my part, I was not debugging at the right place.
Problem solved with the solution provided by #124 (and comments in #121).

@guimou guimou closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant