We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AttributeError: can't set attribute
Hi,
We are having this error:
after last 0.7.2 update.
Full log:
# Sphinx version: 4.3.0 # Python version: 3.8.11 (CPython) # Docutils version: 0.16 release # Jinja2 version: 3.0.1 # Last messages: # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.nz # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.rotx # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.roty # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.rotz # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.ux # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.uy # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.uz # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.inline_functions.Query.vsel # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.launch_mapdl # writing output... [ 10%] api/_autosummary/ansys.mapdl.core.mapdl_geometry.Geometry # Loaded extensions: # sphinx.ext.mathjax (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\mathjax.py # sphinxcontrib.applehelp (1.0.2) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinxcontrib\applehelp\__init__.py # sphinxcontrib.devhelp (1.0.2) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinxcontrib\devhelp\__init__.py # sphinxcontrib.htmlhelp (2.0.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinxcontrib\htmlhelp\__init__.py # sphinxcontrib.serializinghtml (1.1.5) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinxcontrib\serializinghtml\__init__.py # sphinxcontrib.qthelp (1.0.3) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinxcontrib\qthelp\__init__.py # alabaster (0.7.12) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\alabaster\__init__.py # jupyter_sphinx (0.3.2) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\jupyter_sphinx\__init__.py # notfound.extension (0.8) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\notfound\extension.py # sphinx.ext.autodoc.preserve_defaults (1.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\autodoc\preserve_defaults.py # sphinx.ext.autodoc.type_comment (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\autodoc\type_comment.py # sphinx.ext.autodoc (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\autodoc\__init__.py # sphinx.ext.autosummary (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\autosummary\__init__.py # numpydoc (1.2.dev0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\numpydoc\__init__.py # sphinx.ext.coverage (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\coverage.py # sphinx.ext.doctest (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\doctest.py # sphinx.ext.extlinks (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\extlinks.py # sphinx.ext.intersphinx (4.3.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\ext\intersphinx.py # sphinx_autodoc_typehints (unknown version) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx_autodoc_typehints.py # sphinx_copybutton (0.4.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx_copybutton\__init__.py # sphinx_gallery.gen_gallery (0.10.0) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx_gallery\gen_gallery.py # pyansys_sphinx_theme (0.1.1) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\pyansys_sphinx_theme\__init__.py # pydata_sphinx_theme (unknown version) from c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\pydata_sphinx_theme\__init__.py Traceback (most recent call last): File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\cmd\build.py", line 280, in build_main app.build(args.force_all, filenames) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\application.py", line 344, in build self.builder.build_update() File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\builders\__init__.py", line 294, in build_update self.build(to_build, File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\builders\__init__.py", line 358, in build self.write(docnames, list(updated_docnames), method) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\builders\__init__.py", line 532, in write self._write_serial(sorted(docnames)) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\builders\__init__.py", line 542, in _write_serial self.write_doc(docname, doctree) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\builders\html\__init__.py", line 626, in write_doc self.docwriter.write(doctree, destination) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\docutils\writers\__init__.py", line 78, in write self.translate() File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\writers\html.py", line 71, in translate self.document.walkabout(visitor) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\docutils\nodes.py", line 214, in walkabout if child.walkabout(visitor): File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\docutils\nodes.py", line 214, in walkabout if child.walkabout(visitor): File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\docutils\nodes.py", line 214, in walkabout if child.walkabout(visitor): [Previous line repeated 2 more times] File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\docutils\nodes.py", line 206, in walkabout visitor.dispatch_visit(self) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\sphinx\util\docutils.py", line 477, in dispatch_visit method(node) File "c:\users\gayuso\.conda\envs\pymapdl\lib\site-packages\pydata_sphinx_theme\bootstrap_html_translator.py", line 34, in visit_table self._table_row_index = 0 AttributeError: can't set attribute
The text was updated successfully, but these errors were encountered:
pydata-sphinx-theme
Are you sure you are using the latest version (this was specifically fixed in 0.7.2, see #509)
The log output gives "unknown version", which is also a bit strange / suspicious.
Sorry, something went wrong.
I think it's the customized theme you are using that pins pydata-sphinx-theme to an older version: https://github.com/pyansys/pyansys-sphinx-theme/blob/3881058d131c4ce6a78172a6ea5f54d3f90b9116/setup.py#L44
@jorisvandenbossche you are right. We had the version fixed. Now it is fixed. Thank you and sorry for the inconvenience!
No branches or pull requests
Hi,
We are having this error:
after last 0.7.2 update.
Full log:
The text was updated successfully, but these errors were encountered: