Skip to content

Macro Rendering Error

File: glossary.md

ValueError: objects.metadata.NodeFiles has no description.

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/bids-specification/envs/1902/lib/python3.11/site-packages/mkdocs_macros/plugin.py", line 527, in render
    return md_template.render(**page_variables)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/bids-specification/envs/1902/lib/python3.11/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/home/docs/checkouts/readthedocs.org/user_builds/bids-specification/envs/1902/lib/python3.11/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 11, in top-level template code
  File "/home/docs/checkouts/readthedocs.org/user_builds/bids-specification/checkouts/1902/tools/mkdocs_macros_bids/macros.py", line 177, in make_glossary
    text = render.make_glossary(schema_obj, src_path=src_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/bids-specification/envs/1902/lib/python3.11/site-packages/bidsschematools/render/text.py", line 158, in make_glossary
    raise ValueError(f"{obj_marker} has no description.")
ValueError: objects.metadata.NodeFiles has no description.