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

classic notebook tree/view is not accessible XOR slideshow does not get rendered #71

Open
szazs89 opened this issue Feb 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@szazs89
Copy link

szazs89 commented Feb 3, 2024

Description

Either launching Jupyter Notebook File Browser (from Help menu) stucks with empty page after successfully renderng slideshow in jupyterlab, xOR launching classic notebook file browser first, the slideshow won't render (neither trying from jupyterlab, nor from classic notebook browser).

Reproduce

  1. (Re)start MyServer from HUB Control Panel
  2. Open an ipynb file from jupyterlab browser, check the Notebook and Slideshow icons on the top-right, next to the kernel version.
  3. Click on the Slideshow icon: a new window opens with the rendered slideshow.
  4. Click on the Fullscreen icon in the top-left corner of the slideshow window. (Opens full-screen, then press ESC)
  5. Close the Slideshow window and click on the Notebook icon of the window of the ipynb.
  6. A new empty browser tab opens (with any contents of the ipynb).
  7. Investigating with right click shows a line
    <script src="/user/myuser/static/notebook/bundle.js" main="index"></script>
    
  8. Jupyterhub log also contains user/szazs/static/notebook/bundle.js (::ffff:172.26.0.1): bundle.js is not in root static directory
  9. Close the empty window, try to Launch Jupyter Notebook File Browser from jupyterlab Help menu.
  10. The same empty window appears.
  11. Launch HUB Control Panel from File menu: Stop My Server / Start My Server (new jupyterlab gets loaded).
  12. Launch Jupyter Notebook File Browser from jupyterlab Help menu: the classic notebook GUI opens in a new browser tab.
  13. Open an ipynb file from jupyterlab browser
  14. Click on the Notebook icon on the top-right, next to the kernel version: the ipynb file opens in a new browser tab.
  15. Press Alt+R, or click on the Render as Slideshow in the View menu: a new empty tab with gray background opens which contains an empty window/rectangle with Render on Save head.
  16. Close these tabs and open the jupyterlab tab with the ipynb window.
  17. Click on the Slideshow icon: a new window opens in the same tab but it is empty, only the FullScreen icon and the Render on Save can be seen in its headline.
  18. Click on the Fullscreen icon in the top-left corner of the slideshow window. Nothing happens.

Expected behavior

Either to fully disable the classic notebook view or the slide show rendering ought to not conflict with classic view.

Context

  • Python package version: 3.10.12
  • Extension version:
extension lists
# jupyter-labextension list
JupyterLab v4.0.12
/usr/local/share/jupyter/labextensions
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v3.0.1 enabled OK
        jupyterlab-rise v0.42.0 enabled OK (python, jupyterlab_rise)
        ipyparallel-labextension v8.6.1 enabled  X
        jupyter-matplotlib v0.11.3 enabled OK
        @jupyterlab/git v0.50.0-a1 enabled OK (python, jupyterlab-git)
        @jupyterlab/latex v4.0.0 enabled OK (python, jupyterlab-latex)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)
        @jupyter-notebook/lab-extension v7.0.7 enabled OK
# jupyter-server extension list
Config dir: /root/.jupyter

Config dir: /usr/etc/jupyter

Config dir: /usr/local/etc/jupyter
    ipyparallel enabled
    - Validating ipyparallel...
Extension package ipyparallel took 0.1721s to import
A `_jupyter_server_extension_points` function was not found in ipyparallel. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
      ipyparallel 8.6.1 OK
    jupyter_lsp enabled
    - Validating jupyter_lsp...
      jupyter_lsp 2.2.2 OK
    jupyter_server_mathjax enabled
    - Validating jupyter_server_mathjax...
      jupyter_server_mathjax  OK
    jupyter_server_terminals enabled
    - Validating jupyter_server_terminals...
      jupyter_server_terminals 0.5.2 OK
    jupyterlab enabled
    - Validating jupyterlab...
      jupyterlab 4.0.12 OK
    jupyterlab_git enabled
    - Validating jupyterlab_git...
      jupyterlab_git 0.50.0a1 OK
    jupyterlab_latex enabled
    - Validating jupyterlab_latex...
      jupyterlab_latex 4.0.0 OK
    jupyterlab_rise enabled
    - Validating jupyterlab_rise...
      jupyterlab_rise 0.42.0 OK
    nbdime enabled
    - Validating nbdime...
      nbdime 4.0.1 OK
    notebook enabled
    - Validating notebook...
      notebook 7.0.7 OK
    notebook_shim enabled
    - Validating notebook_shim...
A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
      notebook_shim  OK
  • Operating System and its version: Ubuntu 22.04.3
  • Browser and its version: FireFox 115.7.0esr-1~deb11u1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant