Warnings on boot if gonio axes values are not set
还没有人认领这个 Issue。
评估
调研方向
使用 tickit 模拟器和 IOC 重现该问题,然后重新初始化真实探测器后再重复一次。对列出的探测器 API 端点(包括 phi_start)使用 curl,以确定这些值在真实系统中是否为 None,还是仅在模拟器中为 None。启动 IOC 不产生任何警告即表示完成。
由索引模型根据 Issue 内容生成。
描述
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
- e.g.
- Start IOC
Acceptance Criteria
- No warnings on boot
- 主要语言
- Python
- 星标
- 2
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DiamondLightSource/fastcs-eiger 的其他 Issue
-
难度 5/5 一周以上 新手友好度 42/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 15/100
-
Add waveform PV and image viewer to display monitor stream images可能已有人在做 @GDYendell 于 242 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 15/100
查看 DiamondLightSource/fastcs-eiger 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
instance instance add
难度 2/5 1-3 小时 新手友好度 68/100
searxng/searx-instances#941 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
FluidNumerics/fluid-walk-blocker#89 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复