Error while sync ihma494 ID11
2 issues icat-sync-raw --beamline id11 --proposal ihma494 --session 20240512
- This session is not listed in the todo of the nightly run of the 17/05. Session end date = 14/05 (605 unregistered)
-
icat-sync-raw --beamline id11 --proposal ihma494 --session 20240512 --register
tries to remove the session from the cache
Total synchronization time was 0:01:11.188796
Traceback (most recent call last):
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/apps/sync_raw.py", line 73, in sync_raw
_ = sync_session(
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/apps/sync_raw.py", line 176, in sync_session
exp_session_store.remove_session(exp_session)
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/utils/sync_store.py", line 71, in remove_session
filename = self._cache_filename(exp_session)
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/utils/sync_store.py", line 113, in _cache_filename
return os.path.join(self._cache_subdir, basename)
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bodin/miniconda3/envs/pyicatplus/bin/icat-sync-raw", line 8, in <module>
sys.exit(main())
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/apps/sync_raw.py", line 549, in main
sync_raw(
File "/home/bodin/miniconda3/envs/pyicatplus/lib/python3.9/site-packages/pyicat_plus/apps/sync_raw.py", line 84, in sync_raw
raise RuntimeError(
RuntimeError: Failed syncing beamline=id11, proposal=ihma494, session=20240512