-
Couldn't load subscription status.
- Fork 1
Open
Description
Traceback
=========
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/sphinx/events.py", line 404, in emit
results.append(listener.handler(self.app, *args))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/la/.local/lib/python3.13/site-packages/sphinxnotes/snippet/ext.py", line 121, in on_doctree_resolved
snippets = pick(app, doctree, docname)
File "/home/la/.local/lib/python3.13/site-packages/sphinxnotes/snippet/picker.py", line 49, in pick
doctree.walkabout(picker)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 186, in walkabout
if child.walkabout(visitor):
~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 186, in walkabout
if child.walkabout(visitor):
~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 186, in walkabout
if child.walkabout(visitor):
~~~~~~~~~~~~~~~^^^^^^^^^
[Previous line repeated 6 more times]
File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 199, in walkabout
visitor.dispatch_departure(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 2005, in dispatch_departure
return method(node)
File "/home/la/.local/lib/python3.13/site-packages/sphinxnotes/snippet/picker.py", line 94, in depart_section
self.snippets.append((Section(node), node))
~~~~~~~^^^^^^
File "/home/la/.local/lib/python3.13/site-packages/sphinxnotes/snippet/snippets.py", line 177, in __init__
Snippet.__init__(self, node)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/la/.local/lib/python3.13/site-packages/sphinxnotes/snippet/snippets.py", line 75, in __init__
raise ValueError(f'Nodes {nodes} lacks source file or docname')
ValueError: Nodes (<section "🌪️ 表层恐惧": <title...><bullet_list...>>,) lacks source file or docname
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/sphinx/cmd/build.py", line 432, in build_main
app.build(args.force_all, args.filenames)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/application.py", line 426, in build
self.builder.build_update()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 375, in build_update
self.build(
~~~~~~~~~~^
to_build,
^^^^^^^^^
...<2 lines>...
method='update',
^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 454, in build
self.write(docnames, updated_docnames, method)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 735, in write
self.write_documents(docnames)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 747, in write_documents
self._write_parallel(sorted_docnames, nproc=self.app.parallel - 1)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 804, in _write_parallel
doctree = self.env.get_and_resolve_doctree(docname, self)
File "/usr/lib/python3.13/site-packages/sphinx/environment/__init__.py", line 701, in get_and_resolve_doctree
self.apply_post_transforms(doctree, docname)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/environment/__init__.py", line 778, in apply_post_transforms
self.events.emit('doctree-resolved', doctree, docname)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sphinx/events.py", line 415, in emit
raise ExtensionError(
...<4 lines>...
) from exc
sphinx.errors.ExtensionError: Handler <function on_doctree_resolved at 0x7f981439c680> for event 'doctree-resolved' threw an exception (exception: Nodes (<section "🌪️ 表层恐惧": <title...><bullet_list...>>,) lacks source file or docname)
Metadata
Metadata
Assignees
Labels
No labels