12:58:18 web.1 | Traceback (most recent call last):
12:58:18 web.1 | File "apps/frappe/frappe/app.py", line 114, in application
12:58:18 web.1 | response = frappe.api.handle(request)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/api/__init__.py", line 49, in handle
12:58:18 web.1 | data = endpoint(**arguments)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
12:58:18 web.1 | return frappe.handler.handle()
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/handler.py", line 49, in handle
12:58:18 web.1 | data = execute_cmd(cmd)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
12:58:18 web.1 | return frappe.call(method, **frappe.form_dict)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/__init__.py", line 1818, in call
12:58:18 web.1 | return fn(*args, **newargs)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/utils/typing_validations.py", line 32, in wrapper
12:58:18 web.1 | return func(*args, **kwargs)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/core/doctype/data_import/data_import.py", line 179, in download_template
12:58:18 web.1 | e = Exporter(
12:58:18 web.1 | ^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/core/doctype/data_import/exporter.py", line 50, in __init__
12:58:18 web.1 | self.add_data()
12:58:18 web.1 | File "apps/frappe/frappe/core/doctype/data_import/exporter.py", line 229, in add_data
12:58:18 web.1 | self.csv_array += self.data
12:58:18 web.1 | File "apps/frappe/frappe/core/doctype/data_import/exporter.py", line 120, in get_data_to_export
12:58:18 web.1 | rows = self.add_data_row(self.doctype, None, doc, rows, 0)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/core/doctype/data_import/exporter.py", line 148, in add_data_row
12:58:18 web.1 | value = frappe.core.utils.html2text(value)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "apps/frappe/frappe/core/utils.py", line 90, in html2text
12:58:18 web.1 | return md(html, heading_style="ATX", strip=strip, wrap=wrap)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "env/lib/python3.12/site-packages/markdownify/__init__.py", line 395, in markdownify
12:58:18 web.1 | return MarkdownConverter(**options).convert(html)
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "env/lib/python3.12/site-packages/markdownify/__init__.py", line 96, in convert
12:58:18 web.1 | soup = BeautifulSoup(html, 'html.parser')
12:58:18 web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12:58:18 web.1 | File "env/lib/python3.12/site-packages/bs4/__init__.py", line 315, in __init__
12:58:18 web.1 | elif len(markup) <= 256 and (
12:58:18 web.1 | ^^^^^^^^^^^
12:58:18 web.1 | TypeError: object of type 'NoneType' has no len()