You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error occurred in sphinx when using the internationalization feature to HTML content in rst file.
Content:
.. raw:: html
<tableclass="contentstable"align="center"style="margin-left: 30px"><tr>
<tdwidth="45%"rowspan="4">
<imgalt="Mayavi banner"src="_static/m2_about.jpg"width="100%" />
</td>
<tdwidth="5%"rowspan="4"></td>
<tdwidth="50%">
<pclass="biglink"><aclass="biglink"href="application.html">
Using the Mayavi application</a><br/>
<spanclass="linkdescr">
Understanding and using the Mayavi interactive application</span></p>
</td></tr><tr><tdwidth="50%">
<pclass="biglink"><aclass="biglink"href="mlab.html">
Python scripting for 3D plotting</a><br/>
<spanclass="linkdescr">The simple scripting API to Mayavi</span></p>
</td></tr><tr><tdwidth="50%">
<pclass="biglink"><aclass="biglink"href="auto/examples.html">
Gallery and examples</a><br/>
<spanclass="linkdescr">
Example gallery of visualizations,
with the Python code that generates them</span></p>
</td></tr>
</table>
Error:
File "/usr/local/lib/python3.9/site-packages/sphinx/transforms/i18n.py", line 320, in apply
if not noqa and len(old_foot_refs) != len(new_foot_refs):
UnboundLocalError: local variable 'noqa' referenced before assignment
Exception occurred:
File "/usr/local/lib/python3.9/site-packages/sphinx/transforms/i18n.py", line 320, in apply
if not noqa and len(old_foot_refs) != len(new_foot_refs):
UnboundLocalError: local variable 'noqa' referenced before assignment
The full traceback has been saved in /tmp/sphinx-err-se8e55i6.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:2: all] Error 2
How to Reproduce
FROM python:3.9-slim
RUN apt update; apt install -y git make
RUN git clone https://github.com/tkoyama010/mayavi-doc-translations
WORKDIR /mayavi-doc-translations
RUN git checkout 2cfddb290ca429fd720334115ba95e66c271a63a
RUN pip install -r requirements.txt
RUN make
Describe the bug
The following error occurred in sphinx when using the internationalization feature to HTML content in rst file.
Content:
Error:
How to Reproduce
Expected behavior
Build without error.
Your project
https://github.com/tkoyama010/mayavi-doc-translations
Screenshots
No response
OS
Ubuntu22.04
Python version
3.9
Sphinx version
4.5.0
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: