elogbook issue when using newproposal for inhouse
Error when calling new proposal:
TDXRD [6]: newproposal("ih")
WARNING 2021-10-15 10:36:33,720 flint: Flint starting...
ERROR: Electronic logbook failed (400 Client Error: Bad Request for url: https://icatplus.esrf.fr/dataacquisition/elogbook-............./notification?investigationName=ih&instrumentName=id11)
!!! === TypeError: list indices must be integers or slices, not NoneType === !!! ( for more details type cmd 'last_error' )
TDXRD [6]: SCAN_SAVING
!!! === TypeError: list indices must be integers or slices, not NoneType === !!! ( for more details type cmd 'last_error' )
TDXRD [7]:
ICAT config:
icat_servers:
metadata_urls: [...]
elogbook_url: ...
elogbook_token: .............
elogbook_timeout: 0.1 # optional
feedback_timeout: 2 # optional
queue_timeout: 1 # optional
disable: False # optional
But scans works, aleluia !!
TDXRD [7]: sct(.1)
Fri Oct 15 10:37:21 2021: Scan(number=1, name=ct, path=/data/id11/3dxrd/ih/id11/sample/sample_0001/sample_0001.h5)
roi1_avg = 123.546 ( 1235.46 /s) marana
roi1_max = 157.000 ( 1570.00 /s) marana
roi1_min = 102.000 ( 1020.00 /s) marana
roi1_std = 6.77481 ( 67.7481 /s) marana
roi1_sum = 4.00870e+07 ( 4.00870e+08 /s) marana
fpico3 = 0.00000 ( 0.00000 /s) p201_20
fpico4 = 32121.0 ( 321210. /s) p201_20
fpico5 = 40930.0 ( 409300. /s) p201_20
sec[s] = 0.100000 ( 1.00000 /s) p201_20
Took 0:00:01.064141[s]
Out [7]: Scan(number=1, name=ct, path=/data/id11/3dxrd/ih/id11/sample/sample_0001/sample_0001.h5)
Edited by Wout De Nolf