Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyDM EnumCombobox widget emits spurious error #330

Open
canismarko opened this issue Dec 16, 2024 · 0 comments
Open

PyDM EnumCombobox widget emits spurious error #330

canismarko opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working Firefly Issues related to the Firefly GUI system

Comments

@canismarko
Copy link
Contributor

Describe the bug

In some cases, the pydm enum combobox when used with an ophyd-async signal will report that

[2024-12-16 10:04:50,734] [ERROR ] - Can not change value to <ScanInterval.SCAN_0_1: '.1 second'>. Not an option in PyDMComboBox

The ".1 second" option comes from the IOC itself (it is the current PV value). ".1 second" is a valid option, so this should work. When the display window is visible, the correct value is set in the combobox, so I think this is just a spurious error.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Firefly
  2. Open the window for a single ion chamber
  3. Check the firefly console to see the error coming from the labjack scan interval

Expected behavior
No error should be emitted since the value ".1 second" is valid

Screenshots
If applicable, add screenshots to help explain your problem.

@canismarko canismarko added bug Something isn't working Firefly Issues related to the Firefly GUI system labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Firefly Issues related to the Firefly GUI system
Projects
Development

No branches or pull requests

1 participant