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
Users reported some issues with PyDM recently that when IOCs are rebooted they get a message that connection and access control callbacks failed even if the widget was no longer at the screen.
I tracked it down and I was able to isolate the issue into an example:
Instructions to reproduce:
Run the code below...
When the code goes into the poll loop, kill the IOC
Note on the terminal that even with the PV disconnected the connection and access callbacks are invoked.
Note: Change the PV from MTEST:Float to something else that you have.
@hhslepicka What does "they get a message that connection and access control callbacks failed even if the widget was no longer at the screen" mean? What failed?
Just to be clear, is the problem that a disconnected PV still has active connection callback and access callbacks? I would guess that PV.disconnect() should probably remove the connection and access callbacks.
Other than that, everything else looks OK to me. But maybe I'm not understanding.
Users reported some issues with PyDM recently that when IOCs are rebooted they get a message that connection and access control callbacks failed even if the widget was no longer at the screen.
I tracked it down and I was able to isolate the issue into an example:
Instructions to reproduce:
Note: Change the PV from
MTEST:Float
to something else that you have.This produces the following output:
For now I can force clear the connection and access callbacks on my side.
I would like to pick your brain before submitting a PR as what would be the best fix for this case:
clear_callbacks
to also clear the other two callbacksCould this also be related to #156 ?
The text was updated successfully, but these errors were encountered: