Skip to content

Murko testing 4/09/25 #1240

@DominicOram

Description

@DominicOram
  • Error on oav type being wrong:
2025-09-04 14:19:48,620 ERROR [server/[email protected]] gda.jython.JythonServer - CommandServer: error while running command: 'sample_control.loadSampleUiLogged(sample_position=1, sample_holder=1, sampleName='robot_test1', code='', blsampleId=6780641)' encountered an error: 
org.python.core.PyException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: uk.ac.diamond.daq.bluesky.client.error.HttpValidationError: ValidationError[locations=[body, params, oav], message=Value error, Device oav is not of type dodal.devices.oav.oav_detector.OAV, type=value_error, input=oav]

This was not getting through to graylog and the underlying issue was that the OAV was not instantiated at all, despite the error implying it was a type issue. Maybe we could be explicit that it doesn't exist at all and print the ones that do exist - fixed in DiamondLightSource/blueapi#1194

Metadata

Metadata

Assignees

No one assigned

    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