Skip to content

Conversation

@BryceStevenWilley
Copy link
Contributor

Uses the uri parameter in the MakoTemplate type (https://docs.makotemplates.org/en/latest/usage.html#mako.template.Template.params.uri).

Example on an error screen:

File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 874, in _render
_render_context(
File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 916, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 943, in exec_template
callable
(context, *args, **kwargs)
File "docassemble_ILAO_shared_basic_questions_yml__block_on_line_287", line 45, in render_body
File "/usr/lib/python3.12/urllib/parse.py", line 923, in quote
return quote_from_bytes(string, safe)


Continues on the same idea from #727

Uses the `uri` parameter in the `MakoTemplate` type
(https://docs.makotemplates.org/en/latest/usage.html#mako.template.Template.params.uri).

Example on an error screen:

```
File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 874, in _render
    _render_context(
File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 916, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/share/docassemble/local3.12/lib/python3.12/site-packages/docassemble/base/mako/runtime.py", line 943, in _exec_template
    callable_(context, *args, **kwargs)
File **"docassemble_ILAO_shared_basic_questions_yml__block_on_line_287"**, line 45, in render_body
File "/usr/lib/python3.12/urllib/parse.py", line 923, in quote
    return quote_from_bytes(string, safe)
```
@jhpyle jhpyle merged commit f7d6061 into jhpyle:master Jan 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants