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

Event handlers not working, 404s for /nbextensions/ipyevents/extension.js #91

Open
snydej opened this issue Dec 20, 2024 · 0 comments
Open

Comments

@snydej
Copy link

snydej commented Dec 20, 2024

I've installed and reinstalled ipyevents many times as well as anything related and I can't get it to do anything. I've tried many of the examples from https://github.com/mwcraig/ipyevents/blob/main/docs/events.ipynb and I don't get any exceptions but none of the event handlers trigger like they should. I'm seeing 404 errors for a couple files, including /nbextensions/ipyevents/extension.js and I think this is related.

Here is the server output:

PS D:\> jupyter-notebook.exe
C:\Users\snydej\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyter_events\schema.py:68: JupyterEventsVersionWarning: The `version` property of an event schema must be a string. It has been type coerced, but in a future version of this library, it will fail to validate. Please update schema: https://events.jupyter.org/jupyter_server/contents_service/v1
  validate_schema(_schema)
C:\Users\snydej\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyter_events\schema.py:68: JupyterEventsVersionWarning: The `version` property of an event schema must be a string. It has been type coerced, but in a future version of this library, it will fail to validate. Please update schema: https://events.jupyter.org/jupyter_server/gateway_client/v1
  validate_schema(_schema)
C:\Users\snydej\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyter_events\schema.py:68: JupyterEventsVersionWarning: The `version` property of an event schema must be a string. It has been type coerced, but in a future version of this library, it will fail to validate. Please update schema: https://events.jupyter.org/jupyter_server/kernel_actions/v1
  validate_schema(_schema)
[W 2024-12-20 01:50:46.711 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. 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.
[I 2024-12-20 01:50:46.727 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-12-20 01:50:46.727 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-12-20 01:50:46.744 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-12-20 01:50:46.749 ServerApp] nbclassic | extension was successfully linked.
[I 2024-12-20 01:50:46.749 ServerApp] notebook | extension was successfully linked.
[W 2024-12-20 01:50:47.053 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_nbextensions_configurator. 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.
[I 2024-12-20 01:50:47.053 ServerApp] jupyter_nbextensions_configurator | extension was found and enabled by notebook_shim. Consider moving the extension to Jupyter Server's extension paths.
[I 2024-12-20 01:50:47.063 ServerApp] jupyter_nbextensions_configurator | extension was successfully linked.
[I 2024-12-20 01:50:47.063 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-12-20 01:50:47.094 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-12-20 01:50:47.094 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-12-20 01:50:47.094 ServerApp] [jupyter_nbextensions_configurator] enabled 0.6.4
[I 2024-12-20 01:50:47.104 ServerApp] jupyter_nbextensions_configurator | extension was successfully loaded.
[I 2024-12-20 01:50:47.104 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-12-20 01:50:47.104 LabApp] JupyterLab extension loaded from C:\Users\snydej\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyterlab
[I 2024-12-20 01:50:47.104 LabApp] JupyterLab application directory is C:\Users\snydej\AppData\Local\Programs\Python\Python310\share\jupyter\lab
[I 2024-12-20 01:50:47.104 LabApp] Extension Manager is 'pypi'.
[I 2024-12-20 01:50:47.120 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-12-20 01:50:47.120 ServerApp] nbclassic | extension was successfully loaded.
[I 2024-12-20 01:50:47.135 ServerApp] notebook | extension was successfully loaded.
[I 2024-12-20 01:50:47.135 ServerApp] Serving notebooks from local directory: D:\
[I 2024-12-20 01:50:47.135 ServerApp] Jupyter Server 2.14.2 is running at:
[I 2024-12-20 01:50:47.135 ServerApp] http://localhost:8888/tree?token=b14bd75f3f3680d37330ee267b261720a7c76d3bc3a379d7
[I 2024-12-20 01:50:47.135 ServerApp]     http://127.0.0.1:8888/tree?token=b14bd75f3f3680d37330ee267b261720a7c76d3bc3a379d7
[I 2024-12-20 01:50:47.135 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-12-20 01:50:47.200 ServerApp]

    To access the server, open this file in a browser:
        file:///C:/Users/snydej/AppData/Roaming/jupyter/runtime/jpserver-16992-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=b14bd75f3f3680d37330ee267b261720a7c76d3bc3a379d7
        http://127.0.0.1:8888/tree?token=b14bd75f3f3680d37330ee267b261720a7c76d3bc3a379d7
[I 2024-12-20 01:50:47.617 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[W 2024-12-20 01:50:57.891 ServerApp] 404 GET /nbextensions/ipyevents/extension.js?v=20241220095047 (7d0a00148ee646f387a118733cb7a3a8@127.0.0.1) 30.76ms referer=http://localhost:8888/notebooks/Documents/Math/Event%20test.ipynb
[W 2024-12-20 01:50:57.893 ServerApp] 404 GET /nbextensions/nbextensions_configurator/config_menu/main.js?v=20241220095047 (7d0a00148ee646f387a118733cb7a3a8@127.0.0.1) 33.67ms referer=http://localhost:8888/notebooks/Documents/Math/Event%20test.ipynb
[W 2024-12-20 01:50:57.961 ServerApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20241220095047 (7d0a00148ee646f387a118733cb7a3a8@127.0.0.1) 2.96ms referer=http://localhost:8888/notebooks/Documents/Math/Event%20test.ipynb
C:\Users\snydej\AppData\Local\Programs\Python\Python310\lib\site-packages\jupyter_events\schema.py:68: JupyterEventsVersionWarning: The `version` property of an event schema must be a string. It has been type coerced, but in a future version of this library, it will fail to validate. Please update schema: https://events.jupyter.org/jupyter_server/kernel_actions/v1
  validate_schema(_schema)
[I 2024-12-20 01:50:58.121 ServerApp] Kernel started: c10f7df4-f84c-4db0-a296-fe24e72f9fec
[I 2024-12-20 01:50:59.187 ServerApp] Connecting to kernel c10f7df4-f84c-4db0-a296-fe24e72f9fec.
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 43c44af8-6c8e-439b-a9f9-030fecc90f5f
[W 2024-12-20 01:51:01.992 ServerApp] 404 GET /static/nbclassic/ipyevents.js?v=20241220095047 (7d0a00148ee646f387a118733cb7a3a8@127.0.0.1) 2.07ms referer=http://localhost:8888/notebooks/Documents/Math/Event%20test.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant