Export CSV from profitability analysis report

Hello,

I am getting following error when export CSV from profitability analysis report.

Traceback (most recent call last): File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application response = 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 42, in execute_cmd ret = frappe.call(method, **frappe.form_dict) File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 903, in call return fn(*args, **newargs) File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 142, in export_query xlsx_file = make_xlsx([content] + data.result, “Query Report”) File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/xlsxutils.py”, line 22, in make_xlsx ws.append(row) File “/home/frappe/frappe-bench/env/lib/python2.7/site-packages/openpyxl/writer/write_only.py”, line 223, in append not isinstance(row, (list, tuple, range)) TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types

Thank you in advance

Working fine in the Test account.
Is there any customisations done?

Hello @ArundhatiS,
Thank you for your reply.

I forgot to mention that i am getting this error when exporting .xls file from Profitability Analysis Report.