opentrons
opentrons copied to clipboard
bug: When a command fails during Labware Position Check, the error dialog is formatted wrongly and goes away on its own
Overview
The Opentrons App seems to be mishandling Protocol Engine command errors raised during Labware Position Check.
Steps to reproduce
- Start a run on a robot and start Labware Position Check.
- Wait for Labware Position Check to encounter a robot-side Protocol Engine command failure.
- For example, on v6.0.0, it will probably error when it tries to move to a labware atop a Heater-Shaker, because of bug #11125.
Current behavior
- The app displays a dialog with the literal text
error_modal_text
. - The dialog goes away on its own after a second or two, without you selecting its close button.

Expected behavior
- The dialog should have a message that's meaningful to users, instead of the literal string
error_modal_text
. - The dialog should only go away when it's been closed.
- We might also consider moving the
movement command id abc123...
part to the app's debugging logs, or to a "developer details" dropdown menu within the dialog. It seems like technobabble.
Some possibilities for what error_modal_text
should say:
- "The robot could not perform a required movement step."
- "A movement command to the robot failed."
As a user, I'd also like a title more specific than "Something went wrong" (might as well just say "Error"). If this is an LPC-specific dialog it could say "Labware Position Check failed" or "Labware Position Check stopped".
Stale, pretty sure this has been solved by now.