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
If they are set then it works fine because the fetch returns a float.
Failed to get detector/api/1.8.0/config/phi_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/kappa_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/phi_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/chi_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/chi_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/kappa_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/omega_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/omega_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/two_theta_increment:
TypeError float() argument must be a string or a real number, not 'NoneType'
Failed to get detector/api/1.8.0/config/two_theta_start:
TypeError float() argument must be a string or a real number, not 'NoneType'
Check if this happens with a real detector. If the real detector returns None, then we need to handle it correctly. If it is just the simulator then that should be fixed.
Steps To Reproduce
With sim
Start tickit simulator
Start IOC
or with real detector
Re-initialise the detector
Check what values these parameters have with curl
e.g. curl -v http://ixx-eiger01/detector/api/1.8.0/config/phi_start
Start IOC
Acceptance Criteria
No warnings on boot
The text was updated successfully, but these errors were encountered:
❯ ec logs bl03i-ea-eiger-02
INFO: PVXS QSRV2 is loaded, permitted, and ENABLED.
Starting iocInit
############################################################################
## EPICS 7.0.7.1-DEV
## Rev. 7.0.7.99.1.1
## Rev. Date 7.0.7.99.1.1
############################################################################
Failed to get detector/api/1.8.0/config/total_flux:
TypeError float() argument must be a string or a real number, not 'NoneType'
iocRun: All initialization complete
Python 3.11.10 (main, Nov 12 2024, 02:25:24) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
❯ curl -v http://i03-eiger01/detector/api/1.8.0/config/total_flux
* Trying 172.23.103.210...
* TCP_NODELAY set
* Connected to i03-eiger01 (172.23.103.210) port 80 (#0)
> GET /detector/api/1.8.0/config/total_flux HTTP/1.1
> Host: i03-eiger01
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: application/json; charset=utf-8
< date: Tue, 11 Feb 2025 09:52:53 GMT
< content-length: 55
<
{"access_mode":"rw","value":null,"value_type":"float"}
If they are set then it works fine because the fetch returns a float.
Check if this happens with a real detector. If the real detector returns None, then we need to handle it correctly. If it is just the simulator then that should be fixed.
Steps To Reproduce
With sim
or with real detector
curl -v http://ixx-eiger01/detector/api/1.8.0/config/phi_start
Acceptance Criteria
The text was updated successfully, but these errors were encountered: