Try ERPNext Buy Support Partners Foundation

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
s.class.name))
TypeError: the JSON object must be str, not ‘bytes’

Issue is posted on GITHUB

Python 3.6 may detect and decode that input correctly?

References:

https://docs.python.org/3/whatsnew/3.6.html#json

@Pujan_Thakkar notes switch to Python 3.6 fixed this https://github.com/frappe/erpnext/issues/19192#issue-499369713