aftre update to latest version all reports (script reports) gives me this error :
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, 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 40, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 897, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 93, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/frappe/frappe-bench/apps/sdxenergy_management/sdxenergy_management/sdxenergy_management/report/flow_rate_graph/flow_rate_graph.py”, line 31, in execute
group by date order by date desc’‘’, (filters.from_date, filters.to_date))
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 137, in sql
self._cursor.execute(query, values)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 187, in execute
query = query % tuple([db.literal(item) for item in args])
TypeError: format requires a mapping
Installed Apps
ERPNext: v7.2.21
Frappe Framework: v7.2.17
Sdxenergy Management: v0.0.1