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
{{ message }}
Repository navigation
Better error message if using new device manager without the new environment variable #1359
and if the blueapi's values.yaml is missing the new environment variable required, eg
- kind: deviceManager
module: dodal.beamlines.i04
then posting a plan will give a BlueAPI validation error which isn't very obvious. The message body on the validation error response looks like: Value error, Device smargon is not of type dodal.devices.smargon.Smargon (etc for all devices in the plan you were trying to run). I didn't really have any idea where to look from that error message.
It would be really helpful if the error message pointed out that the deviceManager configuration was missing
We should log a warning if no devices have been configured with a message along the lines of "check modules are included and have the correct 'kind' field".
Activity
tpoliaw commentedon Jan 29, 2026
This is partly covered by #1194 (and relates to #1193)
It's difficult to tell in blueapi that a module should use
deviceManagerinstead ofdodalbut we should definitely improve the error message.dodalversion and warn if anyone is using it. We are aiming to remove the dodal dependency soon so this will help with that.Would that help debug situations like this?
olliesilvester commentedon Jan 29, 2026
Yes, that all sounds good thanks