Skip to content
Snippets Groups Projects

Fix #1159 (Taurus GUI blocks on DS errors)

Merged Carlos Pascual requested to merge c-p/taurus:fix-1159 into develop
  1. Sep 08, 2021
    • Carlos Pascual's avatar
      Protect against exceptions in async reads from Tango DSs · 8b9f48bf
      Carlos Pascual authored
      When polling all attributes of a Tango device asynchronously (as is done,
      e.g. by the taurus polling timer), the TaurusDevice.__pollreply() may raise
      an unhandled exception while calling Tango's read_attributes_reply().
      This unhandled exception results in no events being passed to the listener
      widgets (not even error type events), thus blocking the initialization of
      some widgets. Fix it by handling the exception as any other read error.
      
      Fixes #1159
      8b9f48bf
    • Carlos Pascual's avatar
      Add unit test for issue 1159 · 108aad46
      Carlos Pascual authored
      108aad46
Loading