`pydarm export` fails when trying to populate `CAL-CALIB_REPORT_HASH_INT`
I just tried re-exporting the last-exported report at LHO (20240330T211519Z). This should result in a no-operation since this is the last report exported at LHO. The only difference would be that the channels CAL-CALIB_REPORT_ID_INT
and CAL-CALIB_REPORT_HASH_INT
would be re-populated since their data types have been updated.
pydarm export
failed when trying to populate CAL-CALIB_REPORT_HASH_INT
. these lines in export.py are where it failed.
here is the log output:
H1:CAL-CALIB_REPORT_ID_INT = 1395868544.0
Traceback (most recent call last):
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/pydarm/__main__.py", line 80, in <module>
main()
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/pydarm/__main__.py", line 74, in main
func(args)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/pydarm/cmd/export.py", line 99, in main
write_dict_epics(
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/pydarm/utils.py", line 804, in write_dict_epics
epics.caput(channel, f'{value:0.6e}', wait=True, timeout=1)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/epics/__init__.py", line 93, in caput
out = thispv.put(value, wait=wait, timeout=timeout)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/epics/pv.py", line 46, in wrapped
return func(self, *args, **kwargs)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/epics/pv.py", line 657, in put
return ca.put(self.chid, value,
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/epics/ca.py", line 609, in wrapper
return fcn(*args, **kwds)
File "/ligo/groups/cal/conda/pydarm/lib/python3.9/site-packages/epics/ca.py", line 1690, in put
value = int(value, base=0)
ValueError: invalid literal for int() with base 0: b'1.395869e+09'