You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that the default value of the "Notebook BASEURL" matches the value given when starting the notebook server and then press OK.
A blank page is shown in the browser. (See JS Console output from each browser below).
Additionally, I have tried git checkout tags/8.0.2 immediately after cloning the repo (step 2) without effect.
I have tried recreating this several times and always get the same result. I do not have an opinion on whether this is an error is the web3 example itself or the documentation describing it.
Expected behaviour
Some visual indication of a widget being successfully loaded in the webpage.
Context
ipywidgets version 8.0.2
Operating System and version:
macOS 12.6.1 (21G217)
Browser and version:
Google Chrome Version 107.0.5304.87 (Official Build) (arm64)
Firefox 106.0.3 (64-bit)
Paste the output from your command line running `jupyter lab` (or `jupyter notebook` if you use notebook) here, use `--debug` if possible.
$ jupyter lab
[I 2022-11-09 17:04:48.004 ServerApp] jupyterlab | extension was successfully linked.
[I 2022-11-09 17:04:48.010 ServerApp] nbclassic | extension was successfully linked.
[I 2022-11-09 17:04:48.210 ServerApp] notebook_shim | extension was successfully linked.
[I 2022-11-09 17:04:48.258 ServerApp] notebook_shim | extension was successfully loaded.
[I 2022-11-09 17:04:48.259 LabApp] JupyterLab extension loaded from </my/absolute/home>/anaconda3/envs/ipywidgets-test/lib/python3.11/site-packages/jupyterlab
[I 2022-11-09 17:04:48.259 LabApp] JupyterLab application directory is </my/absolute/home>/anaconda3/envs/ipywidgets-test/share/jupyter/lab
[I 2022-11-09 17:04:48.261 ServerApp] jupyterlab | extension was successfully loaded.
[I 2022-11-09 17:04:48.264 ServerApp] nbclassic | extension was successfully loaded.
[I 2022-11-09 17:04:48.266 ServerApp] Serving notebooks from local directory: </my/absolute/home>/code/long-nlp/ipywidgets/examples/web3
[I 2022-11-09 17:04:48.267 ServerApp] Jupyter Server 1.23.0 is running at:
[I 2022-11-09 17:04:48.267 ServerApp] http://localhost:8888/lab?token=<my_token>
[I 2022-11-09 17:04:48.267 ServerApp] or http://127.0.0.1:8888/lab?token=<my_token>
[I 2022-11-09 17:04:48.267 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2022-11-09 17:04:48.281 ServerApp]
To access the server, open this file in a browser:
file://</my/absolute/home>/Library/Jupyter/runtime/jpserver-9300-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=<my_token>
or http://127.0.0.1:8888/lab?token=<my_token>
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[I 2022-11-09 17:04:51.789 LabApp] Build is up to date
Browser Output
Paste the output from your browser Javascript console here.
Firefox:
16:40:16.584 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. 127.0.0.1:8080
16:40:16.901 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools react-dom.development.js:26244
16:40:16.955 strict mode: use allowUnionTypes to allow union type keyword at "#/properties/state/additionalProperties/properties/buffers/items/properties/path/items" (strictTypes) util.js:175
16:40:16.958 Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. index.js:7
16:40:19.930 Uncaught (in promise) ReferenceError: process is not defined
makeSettings serverconnection.js:156
makeSettings serverconnection.js:53
index.js:15
serverconnection.js:156
Chrome
util.js:175 strict mode: use allowUnionTypes to allow union type keyword at "#/properties/state/additionalProperties/properties/buffers/items/properties/path/items" (strictTypes)
checkStrictMode @ util.js:175
serverconnection.js:156 Uncaught (in promise) ReferenceError: process is not defined
at Object.makeSettings (serverconnection.js:156:1)
at Object.makeSettings (serverconnection.js:53:1)
at HTMLDocument. (index.js:15:28)
:8080/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
If using JupyterLab
JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
@jupyter-widgets/jupyterlab-manager v5.0.3 enabled OK (python, jupyterlab_widgets)
The text was updated successfully, but these errors were encountered:
I also get the same error. Looks like this is caused due to a bug in jupyterlab and was fixed in jupyterlab/jupyterlab#12213 but the example project is still using an older version of the dependency.
Description
Unable to get ipywidget web3 example working
(Other notes: I posted this on discourse here https://discourse.jupyter.org/t/unable-to-get-ipywidget-web3-example-working/16601, but have had no response so far).
Reproduce
Additionally, I have tried
git checkout tags/8.0.2
immediately after cloning the repo (step 2) without effect.I have tried recreating this several times and always get the same result. I do not have an opinion on whether this is an error is the web3 example itself or the documentation describing it.
Expected behaviour
Some visual indication of a widget being successfully loaded in the webpage.
Context
ipywidgets version
8.0.2
Operating System and version:
macOS 12.6.1 (21G217)
Browser and version:
Google Chrome Version 107.0.5304.87 (Official Build) (arm64)
Firefox 106.0.3 (64-bit)
Others (if required)
yarn --version ==> 1.22.19
conda --version ==> 22.9.0
Troubleshoot Output
Command Line Output
Browser Output
If using JupyterLab
Installed Labextensions
The text was updated successfully, but these errors were encountered: