Süsteemis esines viga: cannot access local variable 'child_docs' where it is not associated with a value
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/ave/app.py", line 194, in __dispatch_error_wrapper
response = _application_dispatch(REQUEST, environ, start_response, template_engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/ave/app.py", line 413, in _application_dispatch
result = webfunc(REQUEST=REQUEST)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/ave/ave/webforms/permits.py", line 902, in public_document_permit_view
return _general_view(REQUEST, t_data, "public_document_permit_view")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/ave/ave/webforms/permits.py", line 1053, in _general_view
return REQUEST.render_page(t_data, template='/permits/permits_public_document_view.mako')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/ave/ave/session.py", line 571, in render_page
output.append(app_html.content(self, self.render(template, t_data), t_data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/ave/ave/session.py", line 541, in render
raise app_exceptions.TemplateError('Tekis süsteemne viga malli laadimisel.')
ave.exceptions.TemplateError: Tekis süsteemne viga malli laadimisel.