More precisely, a very similarly looking error was mentioned in https://trac.sagemath.org/ticket/33507#comment:75 - and it turns out that there was a stale Sagemath Jupyter kernel, i.e. a file named kernel.json, in a directory with name ending on sagemath, i.e. something like foo/bar/sagemath/kernel.json.
In that particular case it was (on macOS) ~/Library/Jupyter/sagemath/kernel.json with the obsolete path to sage (version 9.4.beta3) In your case it would be pointing to sage 9.0. On Tuesday, April 5, 2022 at 10:59:50 AM UTC+1 Dima Pasechnik wrote: > Errors such as > sagemath_doc_html-none] [repl ] Notebook execution failed > (exception: [Errno 2] No such file or directory: > '/home/furutaka/work/sage/sage-9.0-git-bld/local/bin/sage') > > indicate that you have remains of Sage 9.0 (still instaleld in > /home/furutaka/work/sage/sage-9.0-git-bld ?) pollutng the build. > Perhaps it's in your PATH. > > On Tue, Apr 5, 2022 at 10:34 AM Kazuyoshi Furutaka > <furutaka....@gmail.com> wrote: > > > > The build failed on Fedora-35/python-3.10.4. > > > > Logs attached; excerpts below... > > > > Kazuyoshi > > ... > > [sagemath_doc_html-none] Build finished. The built documents can be > found in > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/share/doc/sage/inventory/en/reference/coercion > > [sagemath_doc_html-none] [repl ] executing interact > > [sagemath_doc_html-none] [repl ] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/jsonschema/validators.py:188: > > DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated > and will be removed in a future release. Call > validator.evolve(schema=new_schema).iter_errors(...) instead. > > [sagemath_doc_html-none] [repl ] warnings.warn( > > [sagemath_doc_html-none] [repl ] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/nbclient/util.py:47: > > DeprecationWarning: There is no current event loop > > [sagemath_doc_html-none] [repl ] loop = asyncio.get_event_loop() > > [sagemath_doc_html-none] [repl ] Extension error: > > [sagemath_doc_html-none] [repl ] Notebook execution failed (exception: > [Errno 2] No such file or directory: > '/home/furutaka/work/sage/sage-9.0-git-bld/local/bin/sage') > > [sagemath_doc_html-none] Build finished. The built documents can be > found in > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/share/doc/sage/inventory/en/reference/repl > > ... > > [sagemath_doc_html-none] Build finished. The built documents can be > found in > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/share/doc/sage/inventory/en/reference/combinat > > [sagemath_doc_html-none] [plot3d ] executing plot3d > > [sagemath_doc_html-none] [plot3d ] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/jsonschema/validators.py:188: > > DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated > and will be removed in a future release. Call > validator.evolve(schema=new_schema).iter_errors(...) instead. > > [sagemath_doc_html-none] [plot3d ] warnings.warn( > > [sagemath_doc_html-none] [plot3d ] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/nbclient/util.py:47: > > DeprecationWarning: There is no current event loop > > [sagemath_doc_html-none] [plot3d ] loop = asyncio.get_event_loop() > > [sagemath_doc_html-none] [plot3d ] Extension error: > > [sagemath_doc_html-none] [plot3d ] Notebook execution failed (exception: > [Errno 2] No such file or directory: > '/home/furutaka/work/sage/sage-9.0-git-bld/local/bin/sage') > > [sagemath_doc_html-none] Build finished. The built documents can be > found in > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/share/doc/sage/inventory/en/reference/plot3d > > [sagemath_doc_html-none] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/nbclient/util.py:47: > > DeprecationWarning: There is no current event loop > > [sagemath_doc_html-none] loop = asyncio.get_event_loop() > > ... > > [sagemath_doc_html-none] [reference] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/src/doc/en/reference/index.rst:17: > > WARNING: unknown document: repl/index > > [sagemath_doc_html-none] [reference] > /home/furutaka/work/sage/sage-9.6.beta7-gcc/src/doc/en/reference/index.rst:24: > > WARNING: unknown document: plot3d/index > > [sagemath_doc_html-none] [reference] The inventory files are in > local/share/doc/sage/inventory/en/reference. > > [sagemath_doc_html-none] Error building the documentation. > > [sagemath_doc_html-none] Traceback (most recent call last): > > [sagemath_doc_html-none] File "/usr/lib64/python3.10/runpy.py", line > 196, in _run_module_as_main > > [sagemath_doc_html-none] return _run_code(code, main_globals, None, > > [sagemath_doc_html-none] File "/usr/lib64/python3.10/runpy.py", line 86, > in _run_code > > [sagemath_doc_html-none] exec(code, run_globals) > > [sagemath_doc_html-none] File > "/home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/sage_docbuild/__main__.py", > > line 2, in <module> > > [sagemath_doc_html-none] main() > > [sagemath_doc_html-none] File > "/home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/sage_docbuild/__init__.py", > > line 1762, in main > > [sagemath_doc_html-none] builder() > > [sagemath_doc_html-none] File > "/home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/sage_docbuild/__init__.py", > > line 145, in f > > [sagemath_doc_html-none] runsphinx() > > [sagemath_doc_html-none] File > "/home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/sage_docbuild/sphinxbuild.py", > > line 326, in runsphinx > > [sagemath_doc_html-none] sys.stderr.raise_errors() > > [sagemath_doc_html-none] File > "/home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/venv-python3.10/lib64/python3.10/site-packages/sage_docbuild/sphinxbuild.py", > > line 262, in raise_errors > > [sagemath_doc_html-none] raise OSError(self._error) > > [sagemath_doc_html-none] OSError: > /home/furutaka/work/sage/sage-9.6.beta7-gcc/src/doc/en/reference/index.rst:17: > > WARNING: unknown document: repl/index > > [sagemath_doc_html-none] > > [sagemath_doc_html-none] Note: incremental documentation builds > sometimes cause spurious > > [sagemath_doc_html-none] error messages. To be certain that these are > real errors, run > > [sagemath_doc_html-none] "make doc-clean doc-uninstall" first and try > again. > > [sagemath_doc_html-none] make[6]: *** [Makefile:20: > doc-inventory--reference_top] Error 1 > > [sagemath_doc_html-none] make[5]: *** [Makefile:38: > doc-inventory-reference] Error 2 > > make[4]: *** [Makefile:2910: sagemath_doc_html-SAGE_DOCS-no-deps] Error 2 > > make[3]: *** [Makefile:2910: > /home/furutaka/work/sage/sage-9.6.beta7-gcc/local/var/lib/sage/installed/sagemath_doc_html-none] > > Error 2 > > make[2]: *** [Makefile:2471: all-start] Error 2 > > make[2]: Leaving directory > '/home/furutaka/work/sage/sage-9.6.beta7-gcc/build/make' > > > > real 21m52.324s > > user 152m48.760s > > sys 8m20.897s > > *************************************************************** > > Error building Sage. > > > > The following package(s) may have failed to build (not necessarily > > during this run of 'make all-start'): > > > > It is safe to delete any log files and build directories, but they > > contain information that is helpful for debugging build problems. > > WARNING: If you now run 'make' again, the build directory of the > > same version of the package will, by default, be deleted. Set the > > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. > > > > make[1]: *** [Makefile:39: all-start] Error 1 > > make[1]: Leaving directory '/home/furutaka/work/sage/sage-9.6.beta7-gcc' > > make: *** [Makefile:13: all] Error 2 > > > > > > > > 2022年4月3日(日) 4:12 Volker Braun <vbrau...@gmail.com>: > >> > >> As always, you can get the latest beta version from the "develop" git > branch. Alternatively, the self-contained source tarball is at > http://www.sagemath.org/download-latest.html > >> > >> 78bfb6c7ad (tag: 9.6.beta7, trac/develop) Updated SageMath version to > 9.6.beta7 > >> 199ee74bdd Trac #33563: fix some tests of emptiness > >> 596c5ebe69 Trac #33552: adjust error messages in toric/ > >> 36ffa34de1 Trac #33551: various details in pyx files > >> b9c0c5cb3e Trac #33545: fix W391 in rings > >> 160a503a46 Trac #33539: sage.manifolds, sage.tensor: Fix spelling errors > >> 26c9c81022 Trac #33519: fix indentation in integration.pyx > >> 6312320fb8 Trac #33517: fix W391 in categories > >> eb33795b51 Trac #33516: fix W391 in schemes > >> 2258189a8d Trac #33510: clean build/sage_bootstrap > >> 23ac99956a Trac #33506: spaces around some % in combinat/ > >> 5b4fe73af3 Trac #33503: adjust a few more error messages > >> aba82b3e94 Trac #33422: Bug in equivalence_decomposition of inductive > valuation > >> f516aabdee Trac #33400: Add pictures to various 3d graphics manual pages > >> f4a39b12e3 Trac #29775: Add a bit of typing to manifold code > >> a45aa86091 Trac #33604: Remove random_DAG from global namespace > >> c55624e4dc Trac #33603: Fix Conic doctests > >> 76167599cc Trac #33602: Deprecate the import of some element classes in > sage/ring/all.py > >> 9b8d0ef4f1 Trac #33595: fix indentation (E111) in some pyx files, > mostly in rings/ > >> aa11173798 Trac #33594: fix W391 in manifolds, geometry and graphs > >> 4a8c685227 Trac #33583: Move integration and volume to Polyhedron_base7 > >> 8f750d97b3 Trac #33581: small cleanup for mathics.py > >> a79b1b8baa Trac #33573: extend method cores to accept graphs with > multiple edges > >> 9543d076d5 Trac #33570: Add CONTRIBUTING.md to the repository > >> 86d9846846 Trac #33569: Speed up methods allow_multiple_edges and > multiple_edges > >> 08a942330a Trac #33507: sagemath_doc_html: Use jupyter-sphinx for 3D > graphics > >> 3dd4e6b470 Trac #33568: Add method `is_integral_domain` for polynomial > quotient rings > >> 76d0d33770 Trac #33567: finer category for cubic braid group quotients > >> 328de7a17c Trac #33564: add one test in TestSuite of Coxeter groups > >> 08854a8167 Trac #33559: Fix bug in > sage.graphs.graph_coloring.vertex_coloring > >> 1762a6ca6d Trac #33558: get rid of __nonzero__ and use __bool__ instead > >> fbc8bd05e9 Trac #33555: refresh the file subword.py > >> 42a088a131 Trac #33553: README Build from Source: m4 (step 5) is needed > to run `make configure` (step 3) > >> ce74d3217f Trac #33540: remove class inheritance of object in combinat > >> d8f2ce96a0 Trac #33538: More doctests fix in sage_docbuild > >> a5446dbaa4 Trac #33536: Some changes suggested by lgtm > >> b9cdb7c713 Trac #33529: Remove old thebe package > >> 211da0e7d1 Trac #33214: Vélu isogeny formulas use incorrect > a-invariants when pre-isomorphism is set > >> 64bd36ebc8 Trac #32687: error in height difference bound > >> f6ce4103f3 Trac #8784: remove quit_sage() command from all.py top level > >> 3c6f5086b7 Trac #33585: doctest failure when doc html not > built/installed but sphinx is available in PYTHONPATH > >> afa0d9633b Trac #33584: Adapt Mathics interface to SymPy upgrade from > 1.8 to 1.10 (resp.1.9) > >> 58bf1ba6bb Trac #33520: scipy, networkx: Update install-requires.txt > >> d20cc4945d Trac #33139: Fix sagemath_doc_html build failure on Cygwin > >> e39a3a2736 Trac #31924: sage -t: Do not run pytest on individual Python > files unless they match the pytest file pattern > >> a275e1f383 Trac #33607: jupyterlab: Use jupyterlab-server < 2.11 > >> 949bb36dd0 Trac #33523: Fix crosslinks in algebras catalog > >> e3fce642a0 Trac #33469: %matplotlib widget does not work in the scope > of %display latex > >> baf6b19517 Trac #33443: slow doctest improvements > (isogeny_small_degree, function_field, doctest/test.py) > >> b11471b30b Trac #33393: Implement Krawtchouk, Meixner, and Hahn > polynomials > >> a54d7ce44a Trac #33114: Feature.require vs. is_present, is_functional > >> c399fc096b Trac #32364: every quaternion lies in every quaternion order > >> 5166ac1413 Trac #20343: Add file `sage/misc/latex_standalone.py` and > class `TikzPicture` > >> 0991f82d57 Trac #33547: Update sympy to 1.10.1 > >> 0d0bb77fb2 Trac #33508: OpenSSL 3.0.2 security update > >> 56d233b1f6 Trac #33227: SystemError: calling remove_from_pari_stack() > inside sig_on() in expression.pyx > >> 43474c96d5 (tag: 9.6.beta6) Updated SageMath version to 9.6.beta6 > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "sage-release" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to sage-release...@googlegroups.com. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/5afaf70b-caa4-439f-8759-9dcb995b8c8cn%40googlegroups.com > . > > > > > > > > -- > > Kazuyoshi Furutaka > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-release" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-release...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/CANjERvfFtWRp%2B-3BWrKLj0N1Nz-8tSunkG-S6_treEyTtVDuxg%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/e0838435-0604-4c95-b774-ac7e51264d0cn%40googlegroups.com.