Macro Rendering Error#
File: user-guide/project-structure.md
CalledProcessError: Command '['tree', '-L', '3', '-P', '*.py', '-I', 'docs', '-P', 'pyproject.toml', '--gitfile', '.gitignore', '--noreport', 'docs/examples/default/']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/mkdocs_macros/plugin.py", line 644, in render
return md_template.render(**page_variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/jinja2/environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 28, in top-level template code
File "/home/runner/work/python-project-template/python-project-template/docs/util/macros.py", line 151, in run
result = subprocess.run(
^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['tree', '-L', '3', '-P', '*.py', '-I', 'docs', '-P', 'pyproject.toml', '--gitfile', '.gitignore', '--noreport', 'docs/examples/default/']' returned non-zero exit status 1.