I can’t generate stock balance report.
I get the following error:
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’
Then, when i tried the method here, by adding decode(‘utf-8’), I get a report with no entries.
This is the empty report I get.
I do have entries so a valid report should be generated.
Please help guys! I removed the script in the above link mentioned, making the init.py defaut, I just get a message -
PLEASE HELP!
Do you have access to the report?? Because on the first image you uploaded , there should be a button called show report on the right side beside the print button doesn’t seem to appear for you
Hi. I got the same error.
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’
Upgrade to at least Python 3.6.
This may occur in Ubuntu 16 where python 3.5 in the installed version. Ubuntu 18 which has python 3.6 does not have this problem
Hi Joseph ,
When i update the python version in my local machine then my local server not running having issue redis server exit bye bye like this how i solve this issue can u please help me to solve this
Thanks
Hi i think.this is another topic.