V12 - Issue in STOCK BALANCE Report - Need Urgent Support

Every Time I Click “Generate New Report” in the Stock Balance report in Stock Module I get the following error, facing this after updating to V12

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 264, in get_prepared_report_result
data = json.loads(uncompressed_content)
File “/usr/lib/python3.5/json/init.py”, line 312, in loads
TypeError: the JSON object must be str, not ‘bytes’

Issue is posted on GITHUB


Python 3.6 may detect and decode that input correctly?


@Pujan_Thakkar notes switch to Python 3.6 fixed this V12 - Issue in STOCK BALANCE Report · Issue #19192 · frappe/erpnext · GitHub