Sphinx, when running under Esbonio fails to build correctly
Log output
Traceback (most recent call last):
File "/var/home/alex/Projects/swyddfa/esbonio/develop/scripts/sphinx-app.py", line 56, in <module>
app.build()
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/application.py", line 378, in build
self.builder.build_update()
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 297, in build_update
self.build(to_build,
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 318, in build
updated_docnames = set(self.read())
^^^^^^^^^^^
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 425, in read
self._read_serial(docnames)
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 477, in _read_serial
self.read_doc(docname)
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 536, in read_doc
publisher.publish()
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/docutils/core.py", line 236, in publish
self.apply_transforms()
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/docutils/core.py", line 216, in apply_transforms
self.document.transformer.apply_transforms()
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/transforms/__init__.py", line 93, in apply_transforms
super().apply_transforms() # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/docutils/transforms/__init__.py", line 182, in apply_transforms
transform.apply(**kwargs)
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/transforms/__init__.py", line 412, in apply
self.app.emit('doctree-read', self.document)
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/application.py", line 498, in emit
return self.events.emit(event, *args, allowed_exceptions=allowed_exceptions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/alex/.local/share/hatch/env/virtual/blog/Ipy5CwKX/blog/lib/python3.12/site-packages/sphinx/events.py", line 109, in emit
raise ExtensionError(
sphinx.errors.ExtensionError: Handler <function process_posts at 0x7fd60859d260> for event 'doctree-read' threw an exception (exception: Losing "classes" attribute: ['esbonio-marker', 'esbonio-marker-0'])
Expected behavior
Esbonio should be usable with the
ablog
extensionActual behavior
Sphinx, when running under Esbonio fails to build correctly
Log output
(Optional) Settings from conf.py
No response