Hi All,
Set up a new server with ERPNext 15 and Frappe 15 and when trying to print any document, I get a rendering error. Here is the last traceback.
Traceback (most recent call last):
File “apps/frappe/frappe/website/serve.py”, line 20, in get_response
response = renderer_instance.render()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 84, in render
html = self.get_html()
File “apps/frappe/frappe/website/utils.py”, line 523, in cache_html_decorator
html = func(*args, **kwargs)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 95, in get_html
self.update_context()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 163, in update_context
data = self.run_pymodule_method(“get_context”)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 223, in run_pymodule_method
return method(self.context)
File “apps/frappe/frappe/www/printview.py”, line 57, in get_context
body = get_rendered_template(
File “apps/frappe/frappe/www/printview.py”, line 163, in get_rendered_template
format_data_map[df.get(“fieldname”)] = df
AttributeError: ‘str’ object has no attribute ‘get’
Any pointers would be much appreciated.