Error when exporting templates in V7

I’ve run into an error on V7 when I try to export any template via the Data Import Tool. It’s the same with “Download Blank Template” and “Download with Data”.

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
    response = frappe.api.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 49, in handle
    return frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/exporter.py", line 261, in get_template
    build_field_columns(d)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/exporter.py", line 107, in build_field_columns
    tablerow[column_start_end[dt].start + 2] = doctype_parentfield[dt]
IndexError: list assignment index out of range

Any ideas? This is a pretty fresh install, and I ran bench update a minute ago with no problems.

A post was merged into an existing topic: “IndexError: list assignment index out of range” on downloading import template for Item