| Summary: | dev-python/notebook-5.7.0 USE=doc - Exception occurred: File "/usr/lib/python3.7/site-packages/nbsphinx.py", line 1177, in html_collect_pages for file in app.status_iterator(files, 'copying linked files... ', AttributeError: 'Sphinx' object has no a | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | frp.bissey |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
info
sphinx-err-4cwyq30n.log notebook-5.7.0:20191003-151333.log.xz |
||
Created attachment 591732 [details]
info
emerge --info
Created attachment 591734 [details]
sphinx-err-4cwyq30n.log
traceback
Created attachment 591736 [details]
notebook-5.7.0:20191003-151333.log.xz
buildlog
Hi Alessandro, I see that you are using sphinx 1.8.5 from the sage-on-gentoo overlay. I have a feeling that may be the source of the problem. sphinx-2+ is python3 only but I think it does have the missing bits. The dependency on sphinx for notebook documentation may need to be raised. Which makes things complicated since notebook 5.7.0 is also python2.7 compatible. Which means you cannot build the documentation if you only have python2.7 installed. I am expecting those python2.7 problems to go away in short order in 2020. I don't think Gentoo will carry an unsupported python for very long. *** This bug has been marked as a duplicate of bug 696140 *** Closing bugs reported for old versions, no longer in ::gentoo. Please reopen if you can still reproduce. |
writing output... [100%] ui_components /usr/lib/python3.7/site-packages/sphinx/transforms/post_transforms/__init__.py:58: RemovedInSphinx20Warning: /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/examples/Notebook/Distributing Jupyter Extensions as Python Packages.ipynb:592: Invalid pendig_xref node detected. :doc: reference should have refdomain=std attribute. RemovedInSphinx20Warning) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/examples/Notebook/Distributing Jupyter Extensions as Python Packages.ipynb:458: WARNING: Pygments lexer name 'config' is not known /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/extending/frontend_extensions.rst:210: WARNING: undefined label: jupyter_path (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/notebook.rst:25: WARNING: undefined label: jupyter:install (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/notebook.rst:83: WARNING: undefined label: nbformat:notebook_file_format (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/notebook.rst:176: WARNING: undefined label: magics_explained (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/notebook.rst:191: WARNING: undefined label: magics_explained (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/notebook.rst:197: WARNING: undefined label: ipythonzmq (if the link has no caption the label must precede a section header) /var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs/source/public_server.rst:7: WARNING: undefined label: ipython:ipythonzmq (if the link has no caption the label must precede a section header) generating indices... genindex Exception occurred: File "/usr/lib/python3.7/site-packages/nbsphinx.py", line 1177, in html_collect_pages for file in app.status_iterator(files, 'copying linked files... ', AttributeError: 'Sphinx' object has no attribute 'status_iterator' The full traceback has been saved in /var/tmp/portage/dev-python/notebook-5.7.0/temp/sphinx-err-4cwyq30n.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! make: *** [Makefile:57: html] Error 2 make: Leaving directory '/var/tmp/portage/dev-python/notebook-5.7.0/work/notebook-5.7.0/docs' * ERROR: dev-python/notebook-5.7.0::gentoo failed (compile phase): * emake failed