Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

71%
+3 −0
Q&A Docutils rst2pseudoxml.py reported error: No role entry for "meth"

docutils's rst2pseudoxml.py is reporting this error: Unknown interpreted text role "meth". even though the build command: sphinx-build -b html -d build/doctrees source build/html runs fine and pro...

1 answer  ·  posted 3y ago by CodeFarmer‭  ·  last activity 3y ago by J-hen‭

#5: Post edited by user avatar CodeFarmer‭ · 2021-11-12T20:25:10Z (about 3 years ago)
Add the full sphinx-build command
  • docutils's <span>rst2pseudoxml.py</span> is reporting this error: `Unknown interpreted text role "meth".` even though `make html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've searched extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
  • docutils's <span>rst2pseudoxml.py</span> is reporting this error: `Unknown interpreted text role "meth".` even though the build command: `sphinx-build -b html -d build/doctrees source build/html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've searched extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
#4: Post edited by user avatar CodeFarmer‭ · 2021-11-11T19:26:41Z (about 3 years ago)
Fix a couple of spelling errors
  • docutils's <span>rst2pseudoxml.py</span> is reporting this error: `Unknown interpreted text role "meth".` even thought `make html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've search extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
  • docutils's <span>rst2pseudoxml.py</span> is reporting this error: `Unknown interpreted text role "meth".` even though `make html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've searched extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
#3: Post edited by user avatar elgonzo‭ · 2021-11-11T15:28:40Z (about 3 years ago)
rst2pseudoxml is from docutils; added tag "docutils"; suppressed false url detection for rst2pseudoxml.py
  • Sphinx rst2pseudoxml.py reported error: No role entry for "meth"
  • Docutils rst2pseudoxml.py reported error: No role entry for "meth"
  • Sphinx's rst2pseudoxml.py is reporting this error: `Unknown interpreted text role "meth".` even thought `make html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've search extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
  • docutils's <span>rst2pseudoxml.py</span> is reporting this error: `Unknown interpreted text role "meth".` even thought `make html` runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've search extensively for information about this but haven't found anything that enables debugging it or correcting it.
  • Command:
  • `rst2pseudoxml.py --strict source/writing.rst`
  • Output:
  • `source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`
  • The source line is:
  • > \`:meth:mymethod` method.
  • The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
  • I appreciate any ideas on how to resolve this!
#2: Post edited by user avatar Alexei‭ · 2021-11-11T06:00:41Z (about 3 years ago)
added relevant tags
#1: Initial revision by user avatar CodeFarmer‭ · 2021-11-10T22:39:16Z (about 3 years ago)
Sphinx rst2pseudoxml.py reported error: No role entry for "meth"
Sphinx's rst2pseudoxml.py is reporting this error: `Unknown interpreted text role "meth".` even thought `make html` runs fine and properly displays the method.  I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one.  I've search extensively for information about this but haven't  found anything that enables debugging it or correcting it.

Command:    
`rst2pseudoxml.py  --strict source/writing.rst`

Output:   
`source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".`


The source line is:

 > \`:meth:mymethod` method.

The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.

I appreciate any ideas on how to resolve this!