icat sync error
Error in sync 20240428 /data/scisoft/icat_sync/runs/run_13238319/run_13238319.log
Run in /data/scisoft/icat_sync/runs/run_13238319
Loading cache from /data/scisoft/icat_sync/esrfv3 ...
Loading cache of 2349 sessions ...
9%|▉ | 223/2349 [00:00<00:04, 435.04it/s]exception calling callback for <Future at 0x7f47d3854a30 state=finished raised JSONDecodeError>
Traceback (most recent call last):
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 328, in _invoke_callbacks
callback(self)
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 251, in update_progress
results.append(future.result())
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 330, in _json_load
return json.load(fp, object_pairs_hook=_json_pair_deserializer)
File "/usr/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/__init__.py", line 370, in loads
return cls(**kw).decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/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)
100%|██████████| 2349/2349 [00:06<00:00, 350.59it/s]
Traceback (most recent call last):
File "/tmp/pyenv_13238319/bin/icat-sync-raw", line 8, in <module>
sys.exit(main())
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/apps/sync_raw.py", line 549, in main
sync_raw(
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/apps/sync_raw.py", line 36, in sync_raw
with ExperimentalSessionStore(
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 44, in __init__
self._load_all_session_files()
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 91, in _load_all_session_files
data = _executor_map_with_progress(_json_load, filenames)
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 262, in _executor_map_with_progress
raise future.exception()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 328, in _invoke_callbacks
callback(self)
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 251, in update_progress
results.append(future.result())
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/pyenv_13238319/lib/python3.8/site-packages/pyicat_plus/utils/sync_store.py", line 330, in _json_load
return json.load(fp, object_pairs_hook=_json_pair_deserializer)
File "/usr/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/__init__.py", line 370, in loads
return cls(**kw).decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/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)
Remove environment /tmp/pyenv_13238319
ICAT synchronization job finished