Macro Rendering Error¶
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/5406cbf31d7248bb9281f1bdc9e6f372/docs/Components/Soil and Water.md'
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/mkdocs_macros/plugin.py", line 480, in render
return md_template.render(**page_variables)
File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/home/runner/work/smartcitizen-minke-docs/smartcitizen-minke-docs/main.py", line 159, in get_snippet_git
with open(root + '/' + file_path, 'r') as myfile:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/5406cbf31d7248bb9281f1bdc9e6f372/docs/Components/Soil and Water.md'