[BUG] 10.5.0: sphinx 4.0.2 warnings
See original GitHub issue- it is not possible to generate documentation before install
rich
module or unpack it.
[tkloczko@barrel rich-10.5.0]$ make -C docs man
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs'
Running Sphinx v4.0.2
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 323, in eval_config_file
exec(code, namespace)
File "/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/conf.py", line 34, in <module>
release = pkg_resources.get_distribution("rich").version
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 482, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 358, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rich' distribution was not found and is required by the application
make: *** [Makefile:20: man] Error 2
- sphinx 4.0.2 shows some warnings
Running Sphinx v4.0.2
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 61 added, 0 changed, 0 removed
reading sources... [100%] tree
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst:73: WARNING: duplicate label alternate screen, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/console.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/pretty.rst:215: WARNING: duplicate label example, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/layout.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:20: WARNING: duplicate label basic usage, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:87: WARNING: duplicate label auto refresh, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:101: WARNING: duplicate label columns, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/columns.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:154: WARNING: duplicate label print / log, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:175: WARNING: duplicate label redirecting stdout / stderr, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/progress.rst:198: WARNING: duplicate label example, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/pretty.rst
/home/tkloczko/rpmbuild/BUILDROOT/python-rich-10.5.0-2.fc35.x86_64/usr/lib/python3.8/site-packages/rich/console.py:docstring of rich.console.Console.render_lines:12: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/reference/logging.rst:4: WARNING: duplicate label logging, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/console.rst
/home/tkloczko/rpmbuild/BUILDROOT/python-rich-10.5.0-2.fc35.x86_64/usr/lib/python3.8/site-packages/rich/segment.py:docstring of rich.segment.Segment.set_shape:9: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/style.rst:5: WARNING: duplicate label styles, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/style.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/syntax.rst:2: WARNING: duplicate label syntax, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/markup.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/tree.rst:2: WARNING: duplicate label tree, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/layout.rst
/home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/tree.rst:42: WARNING: duplicate label examples, other instance in /home/tkloczko/rpmbuild/BUILD/rich-10.5.0/docs/source/live.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-rich.3 { introduction console style markup text highlighting pretty logging traceback prompt columns group markdown padding panel progress syntax tables tree live layout protocol reference reference/align reference/bar reference/color reference/columns reference/console reference/emoji reference/highlighter reference/init reference/layout reference/live reference/logging reference/markdown reference/markup reference/measure reference/padding reference/panel reference/pretty reference/progress_bar reference/progress reference/prompt reference/protocol reference/rule reference/segment reference/spinner reference/status reference/style reference/styled reference/syntax reference/table reference/text reference/theme reference/traceback reference/tree reference/abc appendix appendix/box appendix/colors } done
build succeeded, 16 warnings.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Some warnings contain non-existing paths #9481 - GitHub
While investigating sktime/sktime#1181, I noticed that the warnings (turned into errors) contained some weird paths: $ python -m sphinx -v -W -T ...
Read more >Changelog - Sphinx documentation
#10439: std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify.
Read more >Sphinx Read-The-Docs Theme recognised but not "found"
It will not be available since Sphinx-6.0 Theme error: no theme named 'sphinx_rtd_theme' found (missing theme.conf?) Somehow Sphinx seems to find the theme...
Read more >[Django] #33753: documentation build failing with "ValueError
WARNING : extlinks: Sphinx-6.0 will require a caption string to ... Please also report this if it was a user error, so that...
Read more >[solved]after upgrade system doesn't boot anymore; libidn2.so ...
pacman: error while loading shared libraries: libidn2.so.0: ... krita (4.0.1-2 -> 4.0.2-1) [2018-05-07 19:29] [ALPM] upgraded pcsclite ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe it is not clear that I’v opened that ticket because I have problem. I’m just reporing warnings and I know that in many cases because some warnings some parts of the documentation are skipped. If you don’t care than I have nothing more to say … I’m just a messanger and I have no comnnection with that issue.
Again I’m none-the-wiser as to what problem the warnings are creating for you. Do the warnings prevent you from creating these man pages?