Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2022 19:01:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 266855] devel/py-nbformat: 5.6.1 fails to open ipynb files because of missing nbformat.v*.schema.json files
Message-ID:  <bug-266855-21822-LFWFTooRhZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266855-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266855-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266855

--- Comment #6 from p5B2EA84B3@t-online.de ---
Trying to create a new Notebook fails too:

Creating Notebook Failed
An error occurred while creating a new notebook.

Traceback (most recent call last): File
"/usr/local/lib/python3.9/site-packages/tornado/web.py", line 1713, in _exe=
cute
result =3D await result File
"/usr/local/lib/python3.9/site-packages/tornado/gen.py", line 776, in run
yielded =3D self.gen.throw(*exc_info) # type: ignore File
"/usr/local/lib/python3.9/site-packages/notebook/services/contents/handlers=
.py",
line 212, in post yield self._new_untitled(path, type=3Dtype, ext=3Dext) Fi=
le
"/usr/local/lib/python3.9/site-packages/tornado/gen.py", line 769, in run v=
alue
=3D future.result() File "/usr/local/lib/python3.9/site-packages/tornado/ge=
n.py",
line 234, in wrapper yielded =3D ctx_run(next, result) File
"/usr/local/lib/python3.9/site-packages/notebook/services/contents/handlers=
.py",
line 161, in _new_untitled model =3D yield
maybe_future(self.contents_manager.new_untitled(path=3Dpath, type=3Dtype, e=
xt=3Dext))
File
"/usr/local/lib/python3.9/site-packages/notebook/services/contents/manager.=
py",
line 395, in new_untitled return self.new(model, path) File
"/usr/local/lib/python3.9/site-packages/notebook/services/contents/manager.=
py",
line 414, in new model['content'] =3D new_notebook() File
"/usr/local/lib/python3.9/site-packages/nbformat/v4/nbbase.py", line 170, in
new_notebook validate(nb) File
"/usr/local/lib/python3.9/site-packages/nbformat/v4/nbbase.py", line 40, in
validate return validate_orig(node, ref=3Dref, version=3Dnbformat) File
"/usr/local/lib/python3.9/site-packages/nbformat/validator.py", line 494, in
validate for error in iter_validate( File
"/usr/local/lib/python3.9/site-packages/nbformat/validator.py", line 612, in
iter_validate validator =3D get_validator(version, version_minor,
relax_add_props=3Drelax_add_props) File
"/usr/local/lib/python3.9/site-packages/nbformat/validator.py", line 65, in
get_validator schema_json =3D _get_schema_json(v, version=3Dversion,
version_minor=3Dversion_minor) File
"/usr/local/lib/python3.9/site-packages/nbformat/validator.py", line 104, in
_get_schema_json with open(schema_path) as f: FileNotFoundError: [Errno 2] =
No
such file or directory:
'/usr/local/lib/python3.9/site-packages/nbformat/v4/nbformat.v4.5.schema.js=
on'

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266855-21822-LFWFTooRhZ>