Skip to content

Remove noisy "Invalid type" logs #1263

@DominicOram

Description

@DominicOram

When running BlueAPI version 1.6.1 on i04 I get many logs like the following:

2025-10-31 15:30:19.746	i04-k8s-serv-04.diamond.ac.uk
Invalid type NoneType for attribute 'settle_time' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.745	i04-k8s-serv-04.diamond.ac.uk
Invalid type NoneType for attribute 'settle_time' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.745	i04-k8s-serv-04.diamond.ac.uk
Invalid type EpicsSignalWithRBV for attribute 'obj' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.744	i04-k8s-serv-04.diamond.ac.uk
Invalid type EpicsSignalWithRBV for attribute 'obj' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.744	i04-k8s-serv-04.diamond.ac.uk
Invalid type dict for attribute 'right' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.744	i04-k8s-serv-04.diamond.ac.uk
Invalid type EpicsSignalWithRBV for attribute 'obj' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.743	i04-k8s-serv-04.diamond.ac.uk
Invalid type dict for attribute 'left' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.743	i04-k8s-serv-04.diamond.ac.uk
Invalid type EpicsSignal for attribute 'obj' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
2025-10-31 15:30:19.743	i04-k8s-serv-04.diamond.ac.uk
Invalid type dict for attribute 'right' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types

These are confusing to a user and make it hard to see what is actually going on.

Acceptance Criteria

  • Above logs are removed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions