Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning, treated as error: node class 'meta' is already registered, its visitors will be overridden #9841

Closed
nomathx opened this issue Nov 11, 2021 · 3 comments
Labels
docutils Tags upstream Docutils issues type:question

Comments

@nomathx
Copy link

nomathx commented Nov 11, 2021

Describe the bug

sphinx-build -W -b html -d /tmp/doctrees docs docs/html
Warning, treated as error:
node class 'meta' is already registered, its visitors will be overridden

How to Reproduce

build documentation

Expected behavior

No warning

Your project

source is not available

Screenshots

No response

OS

Centos7

Python version

Python 3.8

Sphinx version

sphinx==2.3.1

Sphinx extensions

Extra tools

No response

Additional context

index.rst:

Welcome to project's documentation!

.. toctree::
:maxdepth: 2
:caption: Contents:

syntax_introduction

Indices and tables

  • :ref:genindex
  • :ref:modindex
  • :ref:search
@tk0miya
Copy link
Member

tk0miya commented Nov 11, 2021

Could you check the version of docutils, please? If you're using docutils-0.18, please upgrade your Sphinx or downgrade docutils to 0.17.
Thanks,

@eviljeff
Copy link

Could you check the version of docutils, please? If you're using docutils-0.18, please upgrade your Sphinx ...

@tk0miya I'm reading this as there is a more recent version of Sphinx that is compatible with docutils-0.18, but setup.py still specifies <0.18

@tk0miya
Copy link
Member

tk0miya commented Nov 17, 2021

Sorry for lack of my words. Yes, all of Sphinx does not support the latest docutils. So you need to downgrade it via 1) installing the latest Sphinx (it will downgrade docutils through its dependency), 2) downgrade docutils by your hand.

grst added a commit to jingxinfu/infercnvpy that referenced this issue Dec 9, 2021
@tk0miya tk0miya closed this as completed Dec 22, 2021
airshipbot pushed a commit to airshipit/pegleg that referenced this issue Jan 11, 2022
Shpinx incorrectly claims it wants docutils >=0.18 but that is an error
and older versions fail with that, as mentioned here:

sphinx-doc/sphinx#9841

Additionally, the repo URL for OpenSUSE 15.3 python has changed.

Change-Id: I9bee6cf3ad7aaba80a44f2bd2f917b16c776c0d7
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docutils Tags upstream Docutils issues type:question
Projects
None yet
Development

No branches or pull requests

3 participants