You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run command python3 erpnext_sync.py its showing below error.
Traceback (most recent call last):
File "/home/sigma/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 319, in
status = pickledb.load('/'.join([config.LOGS_DIRECTORY, 'status.json']), True)
File "/home/sigma/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/pickledb.py", line 43, in load
return PickleDB(location, auto_dump, sig)
File "/home/sigma/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/pickledb.py", line 54, in init
self.load(location, auto_dump)
File "/home/sigma/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/pickledb.py", line 85, in load
self._loaddb()
File "/home/sigma/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/pickledb.py", line 102, in _loaddb
self.db = json.load(open(self.loco, 'rt'))
File "/usr/lib/python3.10/json/init.py", line 293, in load
return loads(fp.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 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
When I run command
python3 erpnext_sync.py
its showing below error.The text was updated successfully, but these errors were encountered: