A-1B1a-2 - Diesel LGV
Macro Rendering Error¶
_File_: `3-transition-elements/activity-hierarchy/1-transport/1b-freight/1b1-road/1b1a-02-diesel_light_trucks.md`
_ScannerError_: while scanning for the next token
found character that cannot start any token
in "
```
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mkdocs_macros/plugin.py", line 688, in render
return md_template.render(page_variables)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/jinja2/environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 8, in top-level template code
File "/home/runner/work/transition-project/transition-project/macros/activity.py", line 54, in transition_element_list
data = frontmatter.load(f)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/frontmatter/init.py", line 165, in load
return loads(text, encoding, handler, defaults)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/frontmatter/init.py", line 185, in loads
metadata, content = parse(text, encoding, handler, defaults)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/frontmatter/init.py", line 92, in parse
fm_data = handler.load(fm)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/frontmatter/default_handlers.py", line 260, in load
return yaml.load(fm, kwargs) # type: ignore[arg-type]
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "yaml/_yaml.pyx", line 673, in yaml._yaml.CParser.get_single_node
File "yaml/_yaml.pyx", line 687, in yaml._yaml.CParser._compose_document
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 845, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 694, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 860, in yaml._yaml.CParser._parse_next_event
yaml.scanner.ScannerError: while scanning for the next token
found character that cannot start any token
in "
```