[Bug 266855] devel/py-nbformat: 5.6.1 fails to open ipynb files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Oct 2022 07:00:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266855 Osamu Matsuda <omatsuda000@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |omatsuda000@gmail.com --- Comment #1 from Osamu Matsuda <omatsuda000@gmail.com> --- I have the same problem with py-nbformat 5.6.1. In addition, it does not install /usr/local/lib/python3.9/site-packages/nbformat/v4/nbformat.v4*.schema.json files. As a consequence, when I tried to open a new session with python3 on jupyter-notebook, I got the following error. Creating Notebook Failed An error occured while creating a new notebook. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/ tornado/web.py", line 1713, in _execute result = await result File "/usr/local/l ib/python3.9/site-packages/tornado/gen.py", line 776, in run yielded = self.gen. throw(*exc_info) # type: ignore File "/usr/local/lib/python3.9/site-packages/not ebook/services/contents/handlers.py", line 212, in post yield self._new_untitled (path, type=type, ext=ext) File "/usr/local/lib/python3.9/site-packages/tornado/gen.py", line 769, in run value = future.result() File "/usr/local/lib/python3.9/site-packages/tornado/gen.py", line 234, in wrapper yielded = ctx_run(next, result) File "/usr/local/lib/python3.9/site-packages/notebook/services/contents/handlers.py", line 161, in _new_untitled model = yield maybe_future(self.contents_manager.new_untitled(path=path, type=type, ext=ext)) 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'] = 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=ref, version=nbformat) 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 = get_validator(version, version_minor, relax_add_props=relax_add_props) File "/usr/local/lib/python3.9/site-packages/nbformat/validator.py", line 65, in get_validator schema_json = _get_schema_json(v, version=version, version_minor=version_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.json' -- You are receiving this mail because: You are on the CC list for the bug.