Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696144 - 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
Summary: dev-python/notebook-5.7.0 USE=doc - Exception occurred: File "/usr/lib/pyth...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 15:20 UTC by Alessandro Barbieri
Modified: 2021-02-24 20:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
info (info,14.72 KB, text/plain)
2019-10-03 15:21 UTC, Alessandro Barbieri
Details
sphinx-err-4cwyq30n.log (sphinx-err-4cwyq30n.log,2.59 KB, text/plain)
2019-10-03 15:21 UTC, Alessandro Barbieri
Details
notebook-5.7.0:20191003-151333.log.xz (notebook-5.7.0:20191003-151333.log.xz,11.53 KB, application/x-xz)
2019-10-03 15:23 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-10-03 15:20:56 UTC
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
Comment 1 Alessandro Barbieri 2019-10-03 15:21:08 UTC
Created attachment 591732 [details]
info

emerge --info
Comment 2 Alessandro Barbieri 2019-10-03 15:21:35 UTC
Created attachment 591734 [details]
sphinx-err-4cwyq30n.log

traceback
Comment 3 Alessandro Barbieri 2019-10-03 15:23:01 UTC
Created attachment 591736 [details]
notebook-5.7.0:20191003-151333.log.xz

buildlog
Comment 4 François Bissey 2019-10-04 06:57:24 UTC
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.
Comment 5 Jakov Smolić archtester gentoo-dev 2021-02-21 16:39:39 UTC

*** This bug has been marked as a duplicate of bug 696140 ***
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-02-24 20:20:40 UTC
Closing bugs reported for old versions, no longer in ::gentoo.  Please reopen if you can still reproduce.