Skip to content

Macro Rendering Error#

File: flow-logic/merging.md

NameError: name 'no_template' is not defined

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Traceback (most recent call last):
  File "/opt/buildhome/python3.8/lib/python3.8/site-packages/mkdocs_macros/plugin.py", line 527, in render
    return md_template.render(**page_variables)
  File "/opt/buildhome/python3.8/lib/python3.8/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/opt/buildhome/python3.8/lib/python3.8/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 17, in top-level template code
  File "/opt/build/repo/main.py", line 82, in workflowDemo
    if no_template:
NameError: name 'no_template' is not defined