While installing frappe in new site, I got this error:
Installing frappe...
Updating DocTypes for frappe : [======= ] 35%bad json: /home/ user/frappe-bench/apps/frappe/frappe/core/workspace/users/users.json
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
main()
File "/home/user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 1078, in main
rv = self.invoke(ctx)
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/frappe-bench/env/lib/python3.10/site-packages/click/core.py" , line 783, in invoke
return __callback(*args, **kwargs)
File "/home/user/frappe-bench/apps/frappe/frappe/commands/site.py", line 68, in new_site
_new_site(
File "/home/user/frappe-bench/apps/frappe/frappe/installer.py", line 112, in _new_site
install_app(app, verbose=verbose, set_as_patched=not source_sql, force=False )
File "/home/user/frappe-bench/apps/frappe/frappe/installer.py", line 301, in install_app
sync_for(name, force=force, reset_permissions=True)
File "/home/user/frappe-bench/apps/frappe/frappe/model/sync.py", line 111, in sync_for
import_file_by_path(
File "/home/user/frappe-bench/apps/frappe/frappe/modules/import_file.py", lin e 112, in import_file_by_path
docs = read_doc_from_file(path)
File "/home/user/frappe-bench/apps/frappe/frappe/modules/import_file.py", lin e 178, in read_doc_from_file
doc = json.loads(f.read())
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 162 column 1 (char 4236)
user@example-hostname1639315809:~/frappe-bench$ ^C