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/", line 60, in application
    response = frappe.api.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 49, in handle
    return frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 19, in handle
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 36, in execute_cmd
    ret =, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 879, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/", line 261, in get_template
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/", 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