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

render blank page #28

Open
lemuellew opened this issue May 22, 2023 · 4 comments
Open

render blank page #28

lemuellew opened this issue May 22, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@lemuellew
Copy link

Description

render blank page

Context

image

pyproject.toml

dependencies = [
    "jupyterlab>=4.0.0",
    "jupyterlab-rise>=0.1.1",
]
requires-python = ">=3.11"
@lemuellew lemuellew added the bug Something isn't working label May 22, 2023
@nthiery
Copy link
Contributor

nthiery commented Sep 1, 2023

Hi @lemuellew; I could not reproduce here; could you try again with the latest version?

@astrojuanlu
Copy link

I'm not sure if it's the same issue, but I also get an empty panel. Here is what I see in the JavaScript console:

HTTP 403 on http://localhost:8888/static/rise/5297.bundle.js
...
The resource from “http://localhost:8888/static/rise/5297.bundle.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
...
Uncaught (in promise) ChunkLoadError: Loading chunk 5297 failed.
(error: http://localhost:8888/static/rise/5297.bundle.js)
    j jsonp chunk loading:27
    e ensure chunk:6
    e ensure chunk:5
    I sharing:75
    d consumes:80
    m consumes:45
    c consumes:125
    c consumes:85
    88395 consumes:212
    consumes consumes:466
    consumes consumes:449
    e ensure chunk:6
    e ensure chunk:5
    I sharing:76
    d consumes:80
    m consumes:45
    c consumes:125
    c consumes:85
    52289 consumes:174
    consumes consumes:466
    consumes consumes:449
    e ensure chunk:6
    e ensure chunk:5
    I sharing:44
    d consumes:80
    m consumes:45
    c consumes:125
    c consumes:85
    81724 consumes:170
    consumes consumes:466
    consumes consumes:449
    e ensure chunk:6
    e ensure chunk:5
    I sharing:53
    d consumes:80
    b consumes:129
    c consumes:85
    96322 consumes:138
    consumes consumes:466
    consumes consumes:449
    e ensure chunk:6
    e ensure chunk:5
    37559 bootstrap.js:1
    Webpack 3

And these are my dependencies:

#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
#    pip-compile --strip-extras
#

anyio==4.0.0
    # via jupyter-server
appnope==0.1.3
    # via
    #   ipykernel
    #   ipython
argon2-cffi==23.1.0
    # via
    #   jupyter-server
    #   nbclassic
argon2-cffi-bindings==21.2.0
    # via argon2-cffi
arrow==1.2.3
    # via isoduration
astroid==2.15.7
    # via pylint
asttokens==2.4.0
    # via stack-data
astunparse==1.6.3
    # via ipyflow-core
async-lru==2.0.4
    # via jupyterlab
attrs==23.1.0
    # via
    #   jsonschema
    #   referencing
autopep8==2.0.4
    # via python-lsp-server
babel==2.12.1
    # via jupyterlab-server
backcall==0.2.0
    # via ipython
beautifulsoup4==4.12.2
    # via nbconvert
black==23.9.1
    # via ipyflow-core
bleach==6.0.0
    # via nbconvert
certifi==2023.7.22
    # via requests
cffi==1.15.1
    # via argon2-cffi-bindings
charset-normalizer==3.2.0
    # via requests
click==8.1.7
    # via black
comm==0.1.4
    # via
    #   ipykernel
    #   ipywidgets
debugpy==1.8.0
    # via ipykernel
decorator==5.1.1
    # via ipython
defusedxml==0.7.1
    # via nbconvert
dill==0.3.7
    # via pylint
docstring-to-markdown==0.12
    # via python-lsp-server
executing==1.2.0
    # via stack-data
fastjsonschema==2.18.0
    # via nbformat
flake8==6.1.0
    # via python-lsp-server
fqdn==1.5.1
    # via jsonschema
idna==3.4
    # via
    #   anyio
    #   jsonschema
    #   requests
importlib-metadata==6.8.0
    # via yapf
ipyflow==0.0.189
    # via -r requirements.in
ipyflow-core==0.0.189
    # via ipyflow
ipykernel==6.25.2
    # via
    #   ipyflow-core
    #   jupyter
    #   jupyter-console
    #   jupyterlab
    #   nbclassic
    #   qtconsole
ipython==8.15.0
    # via
    #   ipyflow-core
    #   ipykernel
    #   ipywidgets
    #   jupyter-console
ipython-genutils==0.2.0
    # via
    #   nbclassic
    #   qtconsole
ipywidgets==8.1.1
    # via
    #   ipyflow-core
    #   jupyter
isoduration==20.11.0
    # via jsonschema
isort==5.12.0
    # via pylint
jedi==0.19.0
    # via
    #   ipython
    #   python-lsp-server
jinja2==3.1.2
    # via
    #   jupyter-server
    #   jupyterlab
    #   jupyterlab-server
    #   nbclassic
    #   nbconvert
json5==0.9.14
    # via jupyterlab-server
jsonpointer==2.4
    # via jsonschema
jsonschema==4.19.1
    # via
    #   jupyter-events
    #   jupyterlab-server
    #   nbformat
jsonschema-specifications==2023.7.1
    # via jsonschema
jupyter==1.0.0
    # via ipyflow
jupyter-client==8.3.1
    # via
    #   ipykernel
    #   jupyter-console
    #   jupyter-server
    #   nbclassic
    #   nbclient
    #   qtconsole
jupyter-console==6.6.3
    # via jupyter
jupyter-core==5.3.1
    # via
    #   ipykernel
    #   jupyter-client
    #   jupyter-console
    #   jupyter-server
    #   jupyterlab
    #   nbclassic
    #   nbclient
    #   nbconvert
    #   nbformat
    #   qtconsole
jupyter-events==0.7.0
    # via jupyter-server
jupyter-lsp==2.2.0
    # via
    #   jupyterlab
    #   jupyterlab-lsp
jupyter-server==2.7.3
    # via
    #   jupyter-lsp
    #   jupyterlab
    #   jupyterlab-rise
    #   jupyterlab-server
    #   nbclassic
    #   notebook
    #   notebook-shim
jupyter-server-terminals==0.4.4
    # via jupyter-server
jupyterlab==4.0.6
    # via
    #   ipyflow
    #   jupyterlab-lsp
    #   notebook
jupyterlab-lsp==5.0.0rc0
    # via -r requirements.in
jupyterlab-pygments==0.2.2
    # via nbconvert
jupyterlab-rise==0.41.0
    # via -r requirements.in
jupyterlab-server==2.25.0
    # via
    #   jupyterlab
    #   notebook
jupyterlab-widgets==3.0.9
    # via ipywidgets
lazy-object-proxy==1.9.0
    # via astroid
markupsafe==2.1.3
    # via
    #   jinja2
    #   nbconvert
matplotlib-inline==0.1.6
    # via
    #   ipykernel
    #   ipython
mccabe==0.7.0
    # via
    #   flake8
    #   pylint
    #   python-lsp-server
mistune==3.0.1
    # via nbconvert
mypy-extensions==1.0.0
    # via black
nbclassic==1.0.0
    # via ipyflow
nbclient==0.8.0
    # via nbconvert
nbconvert==7.8.0
    # via
    #   jupyter
    #   jupyter-server
    #   nbclassic
nbformat==5.9.2
    # via
    #   jupyter-server
    #   nbclassic
    #   nbclient
    #   nbconvert
nest-asyncio==1.5.8
    # via
    #   ipyflow-core
    #   ipykernel
    #   nbclassic
notebook==7.0.4
    # via
    #   -r requirements.in
    #   ipyflow
    #   jupyter
notebook-shim==0.2.3
    # via
    #   jupyterlab
    #   nbclassic
    #   notebook
overrides==7.4.0
    # via jupyter-server
packaging==23.1
    # via
    #   black
    #   ipykernel
    #   jupyter-server
    #   jupyterlab
    #   jupyterlab-server
    #   nbconvert
    #   pytoolconfig
    #   qtconsole
    #   qtpy
pandocfilters==1.5.0
    # via nbconvert
parso==0.8.3
    # via jedi
pathspec==0.11.2
    # via black
pexpect==4.8.0
    # via ipython
pickleshare==0.7.5
    # via ipython
platformdirs==3.10.0
    # via
    #   black
    #   jupyter-core
    #   pylint
    #   pytoolconfig
    #   yapf
pluggy==1.3.0
    # via python-lsp-server
prometheus-client==0.17.1
    # via
    #   jupyter-server
    #   nbclassic
prompt-toolkit==3.0.39
    # via
    #   ipython
    #   jupyter-console
psutil==5.9.5
    # via ipykernel
ptyprocess==0.7.0
    # via
    #   pexpect
    #   terminado
pure-eval==0.2.2
    # via stack-data
pyccolo==0.0.49
    # via ipyflow-core
pycodestyle==2.11.0
    # via
    #   autopep8
    #   flake8
    #   python-lsp-server
pycparser==2.21
    # via cffi
pydocstyle==6.3.0
    # via python-lsp-server
pyflakes==3.1.0
    # via
    #   flake8
    #   python-lsp-server
pygments==2.16.1
    # via
    #   ipython
    #   jupyter-console
    #   nbconvert
    #   qtconsole
pylint==2.17.6
    # via python-lsp-server
python-dateutil==2.8.2
    # via
    #   arrow
    #   jupyter-client
python-json-logger==2.0.7
    # via jupyter-events
python-lsp-jsonrpc==1.1.2
    # via python-lsp-server
python-lsp-server==1.8.0
    # via -r requirements.in
pytoolconfig==1.2.5
    # via rope
pyyaml==6.0.1
    # via jupyter-events
pyzmq==25.1.1
    # via
    #   ipykernel
    #   jupyter-client
    #   jupyter-console
    #   jupyter-server
    #   nbclassic
    #   qtconsole
qtconsole==5.4.4
    # via jupyter
qtpy==2.4.0
    # via qtconsole
referencing==0.30.2
    # via
    #   jsonschema
    #   jsonschema-specifications
    #   jupyter-events
requests==2.31.0
    # via jupyterlab-server
rfc3339-validator==0.1.4
    # via
    #   jsonschema
    #   jupyter-events
rfc3986-validator==0.1.1
    # via
    #   jsonschema
    #   jupyter-events
rope==1.9.0
    # via python-lsp-server
rpds-py==0.10.3
    # via
    #   jsonschema
    #   referencing
send2trash==1.8.2
    # via
    #   jupyter-server
    #   nbclassic
six==1.16.0
    # via
    #   asttokens
    #   astunparse
    #   bleach
    #   python-dateutil
    #   rfc3339-validator
sniffio==1.3.0
    # via anyio
snowballstemmer==2.2.0
    # via pydocstyle
soupsieve==2.5
    # via beautifulsoup4
stack-data==0.6.2
    # via ipython
terminado==0.17.1
    # via
    #   jupyter-server
    #   jupyter-server-terminals
    #   nbclassic
tinycss2==1.2.1
    # via nbconvert
tomli==2.0.1
    # via yapf
tomlkit==0.12.1
    # via pylint
tornado==6.3.3
    # via
    #   ipykernel
    #   jupyter-client
    #   jupyter-server
    #   jupyterlab
    #   nbclassic
    #   notebook
    #   terminado
traitlets==5.10.0
    # via
    #   comm
    #   ipyflow-core
    #   ipykernel
    #   ipython
    #   ipywidgets
    #   jupyter-client
    #   jupyter-console
    #   jupyter-core
    #   jupyter-events
    #   jupyter-server
    #   jupyterlab
    #   matplotlib-inline
    #   nbclassic
    #   nbclient
    #   nbconvert
    #   nbformat
    #   pyccolo
    #   qtconsole
typing-extensions==4.8.0
    # via pyccolo
ujson==5.8.0
    # via
    #   python-lsp-jsonrpc
    #   python-lsp-server
uri-template==1.3.0
    # via jsonschema
urllib3==2.0.5
    # via requests
wcwidth==0.2.6
    # via prompt-toolkit
webcolors==1.13
    # via jsonschema
webencodings==0.5.1
    # via
    #   bleach
    #   tinycss2
websocket-client==1.6.3
    # via jupyter-server
whatthepatch==1.0.5
    # via python-lsp-server
wheel==0.41.2
    # via astunparse
widgetsnbextension==4.0.9
    # via ipywidgets
wrapt==1.15.0
    # via astroid
yapf==0.40.2
    # via python-lsp-server
zipp==3.17.0
    # via importlib-metadata

I am using latest Firefox 117.0.1. Disabling "enhanced protection" had no effect.

image

@szazs89
Copy link

szazs89 commented Nov 14, 2023

Same here. I see the SlideShow icon on the top right, or the View->Rendes as Reveal Slideshow menu.
Anyhow, I get a blank page with three icons in the top row (Fullscreen, Render on Save checkbox, REload Preview), but anything else.

$ pip list |grep rise
jupyterlab_rise                    0.41.0
rise                               5.7.1
  • FF 115.4.0esr
  • Ubuntu 22.04.3 LTS
jupyter-labextension list
JupyterLab v4.0.7
/usr/local/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        nbgrader v0.9.1 enabled OK (python, nbgrader)
        jupyterlab-rise v0.41.0 enabled OK (python, jupyterlab_rise)
        jupyter-matplotlib v0.11.3 enabled OK
        ipyparallel-labextension v8.6.1 enabled  X
        nbdime-jupyterlab v3.0.0-alpha.1 enabled OK
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)
        @jupyter-notebook/lab-extension v7.0.6 enabled OK
        @jupyterlab/git v0.50.0-a1 enabled OK (python, jupyterlab-git)
        @jupyterlab/latex v4.0.0 enabled OK (python, jupyterlab-latex)
jupyter-server extension list
Config dir: /usr/etc/jupyter

Config dir: /usr/local/etc/jupyter
    ipyparallel enabled
    - Validating ipyparallel...
Package ipyparallel took 0.7965s 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...
Package jupyter_lsp took 0.0236s to import
A `_jupyter_server_extension_points` function was not found in jupyter_lsp. 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.
      jupyter_lsp 2.2.0 OK
    jupyter_server_mathjax enabled
    - Validating jupyter_server_mathjax...
Package jupyter_server_mathjax took 0.0029s to import
      jupyter_server_mathjax  OK
    jupyter_server_terminals enabled
    - Validating jupyter_server_terminals...
Package jupyter_server_terminals took 0.0075s to import
      jupyter_server_terminals 0.4.4 OK
    jupyterlab enabled
    - Validating jupyterlab...
Package jupyterlab took 0.0452s to import
      jupyterlab 4.0.7 OK
    jupyterlab_git enabled
    - Validating jupyterlab_git...
Package jupyterlab_git took 0.0277s to import
      jupyterlab_git 0.50.0a1 OK
    jupyterlab_latex enabled
    - Validating jupyterlab_latex...
Package jupyterlab_latex took 0.0023s to import
      jupyterlab_latex 4.0.0 OK
    jupyterlab_rise enabled
    - Validating jupyterlab_rise...
Package jupyterlab_rise took 0.0045s to import
      jupyterlab_rise 0.41.0 OK
    nbdime enabled
    - Validating nbdime...
Package nbdime took 0.0000s to import
      nbdime 4.0.0a1 OK
    nbgrader.server_extensions.formgrader disabled
    - Validating nbgrader.server_extensions.formgrader...
      nbgrader.server_extensions.formgrader  OK
    nbgrader.server_extensions.validate_assignment enabled
    - Validating nbgrader.server_extensions.validate_assignment...
Package nbgrader.server_extensions.validate_assignment took 0.0000s to import
      nbgrader.server_extensions.validate_assignment  OK
    nbgrader.server_extensions.assignment_list enabled
    - Validating nbgrader.server_extensions.assignment_list...
Package nbgrader.server_extensions.assignment_list took 0.0000s to import
      nbgrader.server_extensions.assignment_list  OK
    nbgrader.server_extensions.course_list disabled
    - Validating nbgrader.server_extensions.course_list...
      nbgrader.server_extensions.course_list  OK
    notebook enabled
    - Validating notebook...
Package notebook took 0.0000s to import
      notebook 7.0.6 OK
    notebook_shim enabled
    - Validating notebook_shim...
Package notebook_shim took 0.0000s to import
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

Zsolt

@afeld
Copy link

afeld commented Apr 25, 2024

Reinstalling the package solves the problem for me, temporarily.

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

5 participants