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

wrote error: 'Schema not found' #7150

Closed
3 tasks done
piotratlz opened this issue Nov 13, 2023 · 4 comments
Closed
3 tasks done

wrote error: 'Schema not found' #7150

piotratlz opened this issue Nov 13, 2023 · 4 comments
Labels
bug status:Needs Triage Applied to issues that need triage

Comments

@piotratlz
Copy link

Please answer the following questions for yourself before submitting an issue

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository

Description

Jupyter notebook suddenly returns schema not found error 404.

[I 2023-11-13 11:21:15.920 ServerApp] Package notebook took 0.0000s to import
[I 2023-11-13 11:21:15.921 ServerApp] notebook | extension was successfully linked.
[I 2023-11-13 11:21:15.957 ServerApp] notebook | extension was successfully loaded.
[I 2023-11-13 11:21:15.957 ServerApp] Serving notebooks from local directory: /Users/user
[I 2023-11-13 11:21:15.957 ServerApp] Jupyter Server 2.10.0 is running at:
[I 2023-11-13 11:21:15.957 ServerApp] http://localhost:8888/tree?token=b09cd80a19e0339251377daf151e7310805989fdcba2bdc9
[I 2023-11-13 11:21:15.957 ServerApp]     http://127.0.0.1:8888/tree?token=b09cd80a19e0339251377daf151e7310805989fdcba2bdc9
[I 2023-11-13 11:21:15.957 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-11-13 11:21:15.962 ServerApp]

    To access the server, open this file in a browser:
        file:///Users/user/Library/Jupyter/runtime/jpserver-73803-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=b09cd80a19e0339251377daf151e7310805989fdcba2bdc9
        http://127.0.0.1:8888/tree?token=b09cd80a19e0339251377daf151e7310805989fdcba2bdc9
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.
[W 2023-11-13 11:21:17.539 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-11-13 11:21:17.539 JupyterNotebookApp] Settings directory does not exist at /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas
[W 2023-11-13 11:21:17.560 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-11-13 11:21:17.560 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1699870877559 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json
[W 2023-11-13 11:21:17.560 JupyterNotebookApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 57, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 379, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 55, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
[W 2023-11-13 11:21:17.562 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1699870877559 (e04c00ef2ea143f6bcfe8965fd59decf@::1) 2.84ms referer=http://localhost:8888/tree
[W 2023-11-13 11:21:17.563 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-11-13 11:21:17.563 ServerApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1699870877559 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json

Reproduce

  1. Run jupyter notebook
  2. Open browser
  3. See error in console

Expected behavior

Jupyter runs without any issues.

Context

  • Operating System and version: macOS 13.4 (22F66)
  • Browser and version: Version 119.0.6045.123 (Official Build) (arm64)
  • Jupyter Notebook version:
jupyter --version
Selected Jupyter core packages...
IPython          : 8.17.2
ipykernel        : 6.26.0
ipywidgets       : 8.1.1
jupyter_client   : 8.6.0
jupyter_core     : 5.5.0
jupyter_server   : 2.10.0
jupyterlab       : 4.0.8
nbclient         : 0.9.0
nbconvert        : 7.11.0
nbformat         : 5.9.2
notebook         : 7.0.6
qtconsole        : 5.5.0
traitlets        : 5.13.0
Troubleshoot Output
$PATH:
	/paths

sys.path:
/opt/homebrew/bin
/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python311.zip
/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload
/opt/homebrew/lib/python3.11/site-packages

sys.executable:
/opt/homebrew/opt/[email protected]/bin/python3.11

sys.version:
3.11.6 (main, Nov 2 2023, 04:39:43) [Clang 14.0.3 (clang-1403.0.22.14.1)]

platform.platform():
macOS-13.4-arm64-arm-64bit

which -a jupyter:
/opt/homebrew/bin/jupyter
/Users/user/anaconda3/envs/crop/bin/jupyter
/opt/homebrew/bin/jupyter
/opt/homebrew/bin/jupyter
/Users/user/anaconda3/bin/jupyter

pip list:
Package Version
---------------------------------- --------------------
absl-py 2.0.0
accelerate 0.24.1
anyio 4.0.0
apispec 6.3.0
appnope 0.1.3
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.4.1
astunparse 1.6.3
async-lru 2.0.4
attrs 23.1.0
awscli-local 0.20
azure-core 1.29.4
azure-identity 1.14.0
azure-storage-blob 12.18.3
azure-storage-file-share 12.14.1
Babel 2.13.1
beautifulsoup4 4.12.2
bleach 6.1.0
blis 0.7.10
boto3 1.26.97
botocore 1.29.138
bpemb 0.3.4
cachetools 5.0.0
catalogue 2.0.9
certifi 2023.7.22
cffi 1.16.0
charset-normalizer 3.3.2
chex 0.1.84
click 8.1.3
comm 0.2.0
confection 0.1.1
conllu 4.5.3
contextlib2 21.6.0
contourpy 1.2.0
cryptography 40.0.2
cycler 0.12.1
cymem 2.0.7
Cython 3.0.5
debugpy 1.8.0
decorator 5.1.1
defusedxml 0.7.1
Deprecated 1.2.14
dill 0.3.2
distlib 0.3.6
dnslib 0.9.23
dnspython 2.3.0
docutils 0.20.1
ecdsa 0.18.0
etils 1.5.2
executing 2.0.1
Faker 19.13.0
fastjsonschema 2.18.1
filelock 3.12.0
flair 0.13.0
flatbuffers 23.5.26
flax 0.7.5
fonttools 4.44.0
fqdn 1.5.1
fsspec 2023.10.0
ftfy 6.1.1
gast 0.5.4
gdown 4.7.1
gensim 4.3.2
google-auth 2.23.3
google-auth-oauthlib 1.0.0
google-pasta 0.2.0
greenlet 3.0.0
grpcio 1.58.0
grpcio-tools 1.58.0
h5py 3.10.0
huggingface-hub 0.17.3
idna 3.4
importlib-metadata 6.8.0
importlib-resources 6.1.1
ipykernel 6.26.0
ipython 8.17.2
ipywidgets 8.1.1
isodate 0.6.1
isoduration 20.11.0
Janome 0.5.0
jaraco.classes 3.3.0
jax 0.4.20
jaxlib 0.4.20
jedi 0.19.1
Jinja2 3.1.2
jmespath 1.0.1
joblib 1.3.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.19.2
jsonschema-specifications 2023.7.1
jupyter 1.0.0
jupyter_client 8.6.0
jupyter-console 6.6.3
jupyter_core 5.5.0
jupyter-events 0.9.0
jupyter-lsp 2.2.0
jupyter_server 2.10.0
jupyter_server_terminals 0.4.4
jupyterlab 4.0.8
jupyterlab-pygments 0.2.2
jupyterlab_server 2.25.1
jupyterlab-widgets 3.0.9
keras 2.14.0
keyring 24.2.0
kiwisolver 1.4.5
langcodes 3.3.0
langdetect 1.0.9
libclang 16.0.6
lmdb 1.4.1
localstack 2.0.2
localstack-client 2.1
localstack-core 2.0.2
localstack-ext 2.0.2
lxml 4.9.3
Markdown 3.5
markdown-it-py 2.2.0
MarkupSafe 2.1.3
matplotlib 3.8.1
matplotlib-inline 0.1.6
mdurl 0.1.2
mistune 3.0.2
ml-dtypes 0.2.0
more-itertools 10.1.0
mpld3 0.5.9
mpmath 1.3.0
msal 1.24.1
msal-extensions 1.0.0
msgpack 1.0.7
murmurhash 1.0.9
nameparser 1.1.3
names 0.3.0
natsort 8.4.0
nbclient 0.9.0
nbconvert 7.11.0
nbformat 5.9.2
nest-asyncio 1.5.8
networkx 3.2
nh3 0.2.14
nltk 3.8.1
notebook 7.0.6
notebook_shim 0.2.3
numpy 1.25.2
oauthlib 3.2.2
object-detection 0.0.3
opencv-python 4.6.0.66
opt-einsum 3.3.0
optax 0.1.7
orbax-checkpoint 0.4.2
overrides 7.4.0
packaging 23.2
pandas 2.0.3
pandocfilters 1.5.0
parso 0.8.3
pathy 0.10.2
pbr 5.11.1
pexpect 4.8.0
Pillow 10.0.1
pip 23.3.1
pkginfo 1.9.6
platformdirs 4.0.0
plux 1.3.1
portalocker 2.8.2
pptree 3.1
preshed 3.0.8
prometheus-client 0.18.0
prompt-toolkit 3.0.40
protobuf 4.24.3
psutil 5.9.6
ptyprocess 0.7.0
pure-eval 0.2.2
py-cpuinfo 9.0.0
pyaes 1.6.1
pyasn1 0.5.0
pyasn1-modules 0.3.0
pycocotools 2.0.7
pycparser 2.21
pydantic 1.10.12
pygame 2.5.0
Pygments 2.16.1
PyJWT 2.8.0
pynvim 0.4.3
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-dotenv 1.0.0
python-jose 3.3.0
python-json-logger 2.0.7
pytorch_revgrad 0.2.0
pytz 2023.3
PyYAML 6.0.1
pyzbar 0.1.9
pyzmq 25.1.1
qtconsole 5.5.0
QtPy 2.4.1
random-address 1.1.1
readme-renderer 42.0
referencing 0.30.2
regex 2023.10.3
requests 2.31.0
requests-oauthlib 1.3.1
requests-toolbelt 1.0.0
rfc3339-validator 0.1.4
rfc3986 2.0.0
rfc3986-validator 0.1.1
rich 13.3.5
rpds-py 0.12.0
rsa 4.9
s3transfer 0.6.1
safetensors 0.4.0
scikit-learn 1.3.2
scipy 1.11.3
seaborn 0.13.0
segtok 1.5.11
semver 3.0.0
Send2Trash 1.8.2
sentencepiece 0.1.99
setuptools 68.2.2
six 1.16.0
smart-open 6.3.0
sniffio 1.3.0
soupsieve 2.5
spacy 3.6.0
spacy-legacy 3.0.12
spacy-loggers 1.0.4
sqlitedict 2.1.0
srsly 2.4.7
stack-data 0.6.3
stevedore 5.1.0
sympy 1.12
tabulate 0.9.0
tailer 0.4.1
tensorboard 2.14.1
tensorboard-data-server 0.7.1
tensorflow 2.14.0
tensorflow-decision-forests 1.6.0
tensorflow-estimator 2.14.0
tensorflow-hub 0.15.0
tensorflow-io-gcs-filesystem 0.34.0
tensorflow-macos 2.14.0
tensorflow-object-detection-api 0.1.1
tensorflowjs 4.13.0
tensorstore 0.1.45
termcolor 2.3.0
terminado 0.18.0
thinc 8.1.11
thop 0.1.1.post2209072238
threadpoolctl 3.2.0
tinycss2 1.2.1
tokenizers 0.14.1
toolz 0.12.0
torch 2.1.0
torchvision 0.16.0
tornado 6.3.3
tqdm 4.65.1
traitlets 5.13.0
transformer-smaller-training-vocab 0.3.2
transformers 4.35.0
twine 4.0.2
typer 0.9.0
types-python-dateutil 2.8.19.14
typing_extensions 4.8.0
tzdata 2023.3
ultralytics 8.0.208
uri-template 1.3.0
urllib3 2.0.7
virtualenv 20.22.0
wasabi 1.1.2
wcwidth 0.2.9
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.4
Werkzeug 3.0.0
wheel 0.41.3
widgetsnbextension 4.0.9
Wikipedia-API 0.6.0
wrapt 1.14.1
wurlitzer 3.0.3
zipp 3.17.0

conda list:
# packages in environment at /Users/user/anaconda3/envs/crop:
#
# Name Version Build Channel
aiofiles 22.1.0 py311hca03da5_0
aiosqlite 0.18.0 py311hca03da5_0
anyio 3.5.0 py311hca03da5_0
appnope 0.1.2 py311hca03da5_1001
archspec 0.2.1 pyhd3eb1b0_0
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py311h80987f9_0
asttokens 2.0.5 pyhd3eb1b0_0
attrs 23.1.0 py311hca03da5_0
babel 2.11.0 py311hca03da5_0
backcall 0.2.0 pyhd3eb1b0_0
beautifulsoup4 4.12.2 py311hca03da5_0
bleach 4.1.0 pyhd3eb1b0_0
boltons 23.0.0 py311hca03da5_0
brotli-python 1.0.9 py311h313beb8_7
bzip2 1.0.8 h620ffc9_4
c-ares 1.19.1 h80987f9_0
ca-certificates 2023.08.22 hca03da5_0
certifi 2023.7.22 py311hca03da5_0
cffi 1.15.1 py311h80987f9_3
charset-normalizer 2.0.4 pyhd3eb1b0_0
comm 0.1.2 py311hca03da5_0
conda 23.10.0 py311hca03da5_0
conda-libmamba-solver 23.11.0 py311hca03da5_0
conda-package-handling 2.2.0 py311hca03da5_0
conda-package-streaming 0.9.0 py311hca03da5_0
cryptography 41.0.3 py311hd4332d6_0
cyrus-sasl 2.1.28 h9131b1a_1
debugpy 1.6.7 py311h313beb8_0
decorator 5.1.1 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
entrypoints 0.4 py311hca03da5_0
executing 0.8.3 pyhd3eb1b0_0
fmt 9.1.0 h48ca7d4_0
gettext 0.21.0 h13f89a0_1
glib 2.69.1 h514c7bf_2
gst-plugins-base 1.14.1 h313beb8_1
gstreamer 1.14.1 h80987f9_1
icu 73.1 h313beb8_0
idna 3.4 py311hca03da5_0
ipykernel 6.25.0 py311hb6e6a13_0
ipython 8.15.0 py311hca03da5_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 8.0.4 py311hca03da5_0
jedi 0.18.1 py311hca03da5_1
jinja2 3.1.2 py311hca03da5_0
jpeg 9e h80987f9_1
json5 0.9.6 pyhd3eb1b0_0
jsonpatch 1.32 pyhd3eb1b0_0
jsonpointer 2.1 pyhd3eb1b0_0
jsonschema 4.19.2 py311hca03da5_0
jsonschema-specifications 2023.7.1 py311hca03da5_0
jupyter 1.0.0 py311hca03da5_8
jupyter_client 7.4.9 py311hca03da5_0
jupyter_console 6.6.3 py311hca03da5_0
jupyter_core 5.5.0 py311hca03da5_0
jupyter_events 0.8.0 py311hca03da5_0
jupyter_server 1.23.4 py311hca03da5_0
jupyter_server_fileid 0.9.0 py311hca03da5_0
jupyter_server_ydoc 0.8.0 py311hca03da5_1
jupyter_ydoc 0.2.4 py311hca03da5_0
jupyterlab 3.6.3 py311hca03da5_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.25.1 py311hca03da5_0
jupyterlab_widgets 3.0.5 py311hca03da5_0
krb5 1.20.1 hf3e1bf2_1
libarchive 3.6.2 h62fee54_2
libclang 14.0.6 default_h1b80db6_1
libclang13 14.0.6 default_h24352ff_1
libcurl 8.4.0 h3e2b118_0
libcxx 14.0.6 h848a8c0_0
libedit 3.1.20221030 h80987f9_0
libev 4.33 h1a28f6b_1
libffi 3.4.4 hca03da5_0
libiconv 1.16 h1a28f6b_2
libllvm14 14.0.6 h7ec7a93_3
libmamba 1.5.3 h15e39b3_0
libmambapy 1.5.3 py311h1c5506f_0
libnghttp2 1.57.0 h62f6fdd_0
libpng 1.6.39 h80987f9_0
libpq 12.15 h02f6b3c_1
libsodium 1.0.18 h1a28f6b_0
libsolv 0.7.24 h514c7bf_0
libssh2 1.10.0 h02f6b3c_2
libxml2 2.10.4 h0dcf63f_1
llvm-openmp 14.0.6 hc6e5704_0
lz4-c 1.9.4 h313beb8_0
markupsafe 2.1.1 py311h80987f9_0
matplotlib-inline 0.1.6 py311hca03da5_0
mistune 2.0.4 py311hca03da5_0
mysql 5.7.24 ha71a6ea_2
nbclassic 1.0.0 py311hca03da5_0
nbclient 0.8.0 py311hca03da5_0
nbconvert 7.10.0 py311hca03da5_0
nbformat 5.9.2 py311hca03da5_0
ncurses 6.4 h313beb8_0
nest-asyncio 1.5.6 py311hca03da5_0
notebook 6.5.4 py311hca03da5_1
notebook-shim 0.2.3 py311hca03da5_0
openssl 3.0.12 h1a28f6b_0
packaging 23.1 py311hca03da5_0
pandocfilters 1.5.0 pyhd3eb1b0_0
parso 0.8.3 pyhd3eb1b0_0
pcre 8.45 hc377ac9_0
pcre2 10.42 hb066dcc_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pip 23.3 py311hca03da5_0
platformdirs 3.10.0 py311hca03da5_0
pluggy 1.0.0 py311hca03da5_1
ply 3.11 py311hca03da5_0
prometheus_client 0.14.1 py311hca03da5_0
prompt-toolkit 3.0.36 py311hca03da5_0
prompt_toolkit 3.0.36 hd3eb1b0_0
psutil 5.9.0 py311h80987f9_0
ptyprocess 0.7.0 pyhd3eb1b0_2
pure_eval 0.2.2 pyhd3eb1b0_0
pybind11-abi 4 hd3eb1b0_1
pycosat 0.6.6 py311h80987f9_0
pycparser 2.21 pyhd3eb1b0_0
pygments 2.15.1 py311hca03da5_1
pyopenssl 23.2.0 py311hca03da5_0
pyqt 5.15.10 py311h313beb8_0
pyqt5-sip 12.13.0 py311h80987f9_0
pysocks 1.7.1 py311hca03da5_0
python 3.11.5 hb885b13_0
python-dateutil 2.8.2 pyhd3eb1b0_0
python-fastjsonschema 2.16.2 py311hca03da5_0
python-json-logger 2.0.7 py311hca03da5_0
pytz 2023.3.post1 py311hca03da5_0
pyyaml 6.0.1 py311h80987f9_0
pyzmq 23.2.0 py311h313beb8_0
qt-main 5.15.2 h0917680_10
qtconsole 5.4.2 py311hca03da5_0
qtpy 2.2.0 py311hca03da5_0
readline 8.2 h1a28f6b_0
referencing 0.30.2 py311hca03da5_0
reproc 14.2.4 hc377ac9_1
reproc-cpp 14.2.4 hc377ac9_1
requests 2.31.0 py311hca03da5_0
rfc3339-validator 0.1.4 py311hca03da5_0
rfc3986-validator 0.1.1 py311hca03da5_0
rpds-py 0.10.6 py311hf0e4da2_0
ruamel.yaml 0.17.21 py311h80987f9_0
send2trash 1.8.2 py311hca03da5_0
setuptools 68.0.0 py311hca03da5_0
sip 6.7.12 py311h313beb8_0
six 1.16.0 pyhd3eb1b0_1
sniffio 1.2.0 py311hca03da5_1
soupsieve 2.5 py311hca03da5_0
sqlite 3.41.2 h80987f9_0
stack_data 0.2.0 pyhd3eb1b0_0
terminado 0.17.1 py311hca03da5_0
tinycss2 1.2.1 py311hca03da5_0
tk 8.6.12 hb8d0fd4_0
tornado 6.3.3 py311h80987f9_0
tqdm 4.65.0 py311hb6e6a13_0
traitlets 5.7.1 py311hca03da5_0
truststore 0.8.0 py311hca03da5_0
typing-extensions 4.7.1 py311hca03da5_0
typing_extensions 4.7.1 py311hca03da5_0
tzdata 2023c h04d1e81_0
urllib3 1.26.18 py311hca03da5_0
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py311hca03da5_1
websocket-client 0.58.0 py311hca03da5_4
wheel 0.41.2 py311hca03da5_0
widgetsnbextension 4.0.5 py311hca03da5_0
xz 5.4.2 h80987f9_0
y-py 0.5.9 py311ha6e5c4f_0
yaml 0.2.5 h1a28f6b_0
yaml-cpp 0.8.0 h313beb8_0
ypy-websocket 0.8.2 py311hca03da5_0
zeromq 4.3.4 hc377ac9_0
zlib 1.2.13 h5a0b063_0
zstandard 0.19.0 py311h80987f9_0
zstd 1.5.5 hd90d995_0

conda env:
name: base
channels:
- defaults
dependencies:
- aiofiles=22.1.0=py311hca03da5_0
- aiosqlite=0.18.0=py311hca03da5_0
- anyio=3.5.0=py311hca03da5_0
- appnope=0.1.2=py311hca03da5_1001
- archspec=0.2.1=pyhd3eb1b0_0
- argon2-cffi=21.3.0=pyhd3eb1b0_0
- argon2-cffi-bindings=21.2.0=py311h80987f9_0
- asttokens=2.0.5=pyhd3eb1b0_0
- attrs=23.1.0=py311hca03da5_0
- babel=2.11.0=py311hca03da5_0
- backcall=0.2.0=pyhd3eb1b0_0
- beautifulsoup4=4.12.2=py311hca03da5_0
- bleach=4.1.0=pyhd3eb1b0_0
- boltons=23.0.0=py311hca03da5_0
- brotli-python=1.0.9=py311h313beb8_7
- bzip2=1.0.8=h620ffc9_4
- c-ares=1.19.1=h80987f9_0
- ca-certificates=2023.08.22=hca03da5_0
- certifi=2023.7.22=py311hca03da5_0
- cffi=1.15.1=py311h80987f9_3
- charset-normalizer=2.0.4=pyhd3eb1b0_0
- comm=0.1.2=py311hca03da5_0
- conda=23.10.0=py311hca03da5_0
- conda-libmamba-solver=23.11.0=py311hca03da5_0
- conda-package-handling=2.2.0=py311hca03da5_0
- conda-package-streaming=0.9.0=py311hca03da5_0
- cryptography=41.0.3=py311hd4332d6_0
- cyrus-sasl=2.1.28=h9131b1a_1
- debugpy=1.6.7=py311h313beb8_0
- decorator=5.1.1=pyhd3eb1b0_0
- defusedxml=0.7.1=pyhd3eb1b0_0
- entrypoints=0.4=py311hca03da5_0
- executing=0.8.3=pyhd3eb1b0_0
- fmt=9.1.0=h48ca7d4_0
- gettext=0.21.0=h13f89a0_1
- glib=2.69.1=h514c7bf_2
- gst-plugins-base=1.14.1=h313beb8_1
- gstreamer=1.14.1=h80987f9_1
- icu=73.1=h313beb8_0
- idna=3.4=py311hca03da5_0
- ipykernel=6.25.0=py311hb6e6a13_0
- ipython=8.15.0=py311hca03da5_0
- ipython_genutils=0.2.0=pyhd3eb1b0_1
- ipywidgets=8.0.4=py311hca03da5_0
- jedi=0.18.1=py311hca03da5_1
- jinja2=3.1.2=py311hca03da5_0
- jpeg=9e=h80987f9_1
- json5=0.9.6=pyhd3eb1b0_0
- jsonpatch=1.32=pyhd3eb1b0_0
- jsonpointer=2.1=pyhd3eb1b0_0
- jsonschema=4.19.2=py311hca03da5_0
- jsonschema-specifications=2023.7.1=py311hca03da5_0
- jupyter=1.0.0=py311hca03da5_8
- jupyter_client=7.4.9=py311hca03da5_0
- jupyter_console=6.6.3=py311hca03da5_0
- jupyter_core=5.5.0=py311hca03da5_0
- jupyter_events=0.8.0=py311hca03da5_0
- jupyter_server=1.23.4=py311hca03da5_0
- jupyter_server_fileid=0.9.0=py311hca03da5_0
- jupyter_server_ydoc=0.8.0=py311hca03da5_1
- jupyter_ydoc=0.2.4=py311hca03da5_0
- jupyterlab=3.6.3=py311hca03da5_0
- jupyterlab_pygments=0.1.2=py_0
- jupyterlab_server=2.25.1=py311hca03da5_0
- jupyterlab_widgets=3.0.5=py311hca03da5_0
- krb5=1.20.1=hf3e1bf2_1
- libarchive=3.6.2=h62fee54_2
- libclang=14.0.6=default_h1b80db6_1
- libclang13=14.0.6=default_h24352ff_1
- libcurl=8.4.0=h3e2b118_0
- libcxx=14.0.6=h848a8c0_0
- libedit=3.1.20221030=h80987f9_0
- libev=4.33=h1a28f6b_1
- libffi=3.4.4=hca03da5_0
- libiconv=1.16=h1a28f6b_2
- libllvm14=14.0.6=h7ec7a93_3
- libmamba=1.5.3=h15e39b3_0
- libmambapy=1.5.3=py311h1c5506f_0
- libnghttp2=1.57.0=h62f6fdd_0
- libpng=1.6.39=h80987f9_0
- libpq=12.15=h02f6b3c_1
- libsodium=1.0.18=h1a28f6b_0
- libsolv=0.7.24=h514c7bf_0
- libssh2=1.10.0=h02f6b3c_2
- libxml2=2.10.4=h0dcf63f_1
- llvm-openmp=14.0.6=hc6e5704_0
- lz4-c=1.9.4=h313beb8_0
- markupsafe=2.1.1=py311h80987f9_0
- matplotlib-inline=0.1.6=py311hca03da5_0
- mistune=2.0.4=py311hca03da5_0
- mysql=5.7.24=ha71a6ea_2
- nbclassic=1.0.0=py311hca03da5_0
- nbclient=0.8.0=py311hca03da5_0
- nbconvert=7.10.0=py311hca03da5_0
- nbformat=5.9.2=py311hca03da5_0
- ncurses=6.4=h313beb8_0
- nest-asyncio=1.5.6=py311hca03da5_0
- notebook=6.5.4=py311hca03da5_1
- notebook-shim=0.2.3=py311hca03da5_0
- openssl=3.0.12=h1a28f6b_0
- packaging=23.1=py311hca03da5_0
- pandocfilters=1.5.0=pyhd3eb1b0_0
- parso=0.8.3=pyhd3eb1b0_0
- pcre=8.45=hc377ac9_0
- pcre2=10.42=hb066dcc_0
- pexpect=4.8.0=pyhd3eb1b0_3
- pickleshare=0.7.5=pyhd3eb1b0_1003
- pip=23.3=py311hca03da5_0
- platformdirs=3.10.0=py311hca03da5_0
- pluggy=1.0.0=py311hca03da5_1
- ply=3.11=py311hca03da5_0
- prometheus_client=0.14.1=py311hca03da5_0
- prompt-toolkit=3.0.36=py311hca03da5_0
- prompt_toolkit=3.0.36=hd3eb1b0_0
- psutil=5.9.0=py311h80987f9_0
- ptyprocess=0.7.0=pyhd3eb1b0_2
- pure_eval=0.2.2=pyhd3eb1b0_0
- pybind11-abi=4=hd3eb1b0_1
- pycosat=0.6.6=py311h80987f9_0
- pycparser=2.21=pyhd3eb1b0_0
- pygments=2.15.1=py311hca03da5_1
- pyopenssl=23.2.0=py311hca03da5_0
- pyqt=5.15.10=py311h313beb8_0
- pyqt5-sip=12.13.0=py311h80987f9_0
- pysocks=1.7.1=py311hca03da5_0
- python=3.11.5=hb885b13_0
- python-dateutil=2.8.2=pyhd3eb1b0_0
- python-fastjsonschema=2.16.2=py311hca03da5_0
- python-json-logger=2.0.7=py311hca03da5_0
- pytz=2023.3.post1=py311hca03da5_0
- pyyaml=6.0.1=py311h80987f9_0
- pyzmq=23.2.0=py311h313beb8_0
- qt-main=5.15.2=h0917680_10
- qtconsole=5.4.2=py311hca03da5_0
- qtpy=2.2.0=py311hca03da5_0
- readline=8.2=h1a28f6b_0
- referencing=0.30.2=py311hca03da5_0
- reproc=14.2.4=hc377ac9_1
- reproc-cpp=14.2.4=hc377ac9_1
- requests=2.31.0=py311hca03da5_0
- rfc3339-validator=0.1.4=py311hca03da5_0
- rfc3986-validator=0.1.1=py311hca03da5_0
- rpds-py=0.10.6=py311hf0e4da2_0
- ruamel.yaml=0.17.21=py311h80987f9_0
- send2trash=1.8.2=py311hca03da5_0
- setuptools=68.0.0=py311hca03da5_0
- sip=6.7.12=py311h313beb8_0
- six=1.16.0=pyhd3eb1b0_1
- sniffio=1.2.0=py311hca03da5_1
- soupsieve=2.5=py311hca03da5_0
- sqlite=3.41.2=h80987f9_0
- stack_data=0.2.0=pyhd3eb1b0_0
- terminado=0.17.1=py311hca03da5_0
- tinycss2=1.2.1=py311hca03da5_0
- tk=8.6.12=hb8d0fd4_0
- tornado=6.3.3=py311h80987f9_0
- tqdm=4.65.0=py311hb6e6a13_0
- traitlets=5.7.1=py311hca03da5_0
- truststore=0.8.0=py311hca03da5_0
- typing-extensions=4.7.1=py311hca03da5_0
- typing_extensions=4.7.1=py311hca03da5_0
- tzdata=2023c=h04d1e81_0
- urllib3=1.26.18=py311hca03da5_0
- wcwidth=0.2.5=pyhd3eb1b0_0
- webencodings=0.5.1=py311hca03da5_1
- websocket-client=0.58.0=py311hca03da5_4
- wheel=0.41.2=py311hca03da5_0
- widgetsnbextension=4.0.5=py311hca03da5_0
- xz=5.4.2=h80987f9_0
- y-py=0.5.9=py311ha6e5c4f_0
- yaml=0.2.5=h1a28f6b_0
- yaml-cpp=0.8.0=h313beb8_0
- ypy-websocket=0.8.2=py311hca03da5_0
- zeromq=4.3.4=hc377ac9_0
- zlib=1.2.13=h5a0b063_0
- zstandard=0.19.0=py311h80987f9_0
- zstd=1.5.5=hd90d995_0
prefix: /Users/user/anaconda3/envs/crop

Command Line Output
Paste the output from your command line running `jupyter notebook` here, use `--debug` if possible.
Browser Output image

@piotratlz piotratlz added bug status:Needs Triage Applied to issues that need triage labels Nov 13, 2023
@RRosio
Copy link
Collaborator

RRosio commented Nov 14, 2023

Hi @piotratlz, thank you for opening this issue. This is a known issue when installing Notebook with Homebrew, previously reported in #6974, which has some suggestions for mitigating the issue locally. If you could add your comments to the existing issue that would be appreciated. I will close this issue in favor of #6974.

@DarkMortal
Copy link

DarkMortal commented Aug 20, 2024

I'm facing the same issue.
I'm using a virtual environment of Python 3.12 using Pyenv.
I have installed jupyter using pip and not Homebrew. Here are the logs

[W 2024-08-20 11:37:32.322 ServerApp] 404 GET /lab/api/settings?1724134052044 (127.0.0.1): Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json
[W 2024-08-20 11:37:32.322 LabApp] wrote error: 'Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json'
    Traceback (most recent call last):
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/tornado/web.py", line 3301, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_handler.py", line 58, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 392, in get_settings
        settings_list, warnings = _list_settings(
                                  ^^^^^^^^^^^^^^^
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 217, in _list_settings
        schema, version = _get_schema(
                          ^^^^^^^^^^^^
      File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 61, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json)
[W 2024-08-20 11:37:32.325 LabApp] 404 GET /lab/api/settings?1724134052044 ([email protected]) 147.51ms referer=http://localhost:8888/tree

image
Initially I was using Python 3.8 and got the same error message so I thought the error would be resolved if I used the latest version of Python.
Hopefully this issue will be fixed in the later versions. For now I'm just downgrading to notebook version 6.5.7

@eyildiz-ugoe
Copy link

Still the same issue

@Medevin
Copy link

Medevin commented Nov 22, 2024

    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.13/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/opt/homebrew/lib/python3.13/site-packages/tornado/web.py", line 3301, in wrapper
        return method(self, *args, **kwargs)
      File "/opt/homebrew/lib/python3.13/site-packages/jupyterlab_server/settings_handler.py", line 58, in get
        result, warnings = get_settings(
                           ~~~~~~~~~~~~^
            self.app_settings_dir,
            ^^^^^^^^^^^^^^^^^^^^^^
        ...<6 lines>...
            ids_only=ids_only,
            ^^^^^^^^^^^^^^^^^^
        )
        ^
      File "/opt/homebrew/lib/python3.13/site-packages/jupyterlab_server/settings_utils.py", line 385, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.13/site-packages/jupyterlab_server/settings_utils.py", line 61, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json)
[W 2024-11-22 20:14:52.678 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1732299292660 (c5730f9e0a6e48449e9d37f890122ccd@::1) 1.80ms referer=http://localhost:8888/tree

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

5 participants