Menu

#190 MG problems when we change the Timer

unassigned
waiting
nobody
ms
bug
2016-01-14
2014-06-26
fbecheri
No

The Door hangs when I try to change the timer of an existent Measurement Group.
I started with a MG with two items:
emet05_timer
emet05_c01

And I tried to change it to:
emet04_timer
emet04_c01

I receive the following exception:
TaurusRootLogger: Could not create/delete/modify Measurement group "topup_tests": DevFailed(args = (DevError(desc = 'KeyError: (PoolController(eh_emet05_ctrl),)\n', origin = ' File "/homelocal/sicilia/lib/python/site-packages/sardana/tango/pool/MeasurementGroup.py", line 195, in write_Configuration\n self.measurement_group.set_configuration_from_user(cfg)\n File "/homelocal/sicilia/lib/python/site-packages/sardana/pool/poolmeasurementgroup.py", line 381, in set_configuration_from_user\n self.set_configuration(config, propagate=propagate)\n File "/homelocal/sicilia/lib/python/site-packages/sardana/pool/poolmeasurementgroup.py", line 304, in set_configuration\n timer_ctrl_data = config[\'controllers\'][g_timer.controller][\'units\'][\'0\']\n', reason = 'PyDs_PythonError', severity = PyTango._PyTango.ErrSeverity.ERR), DevError(desc = 'Failed to write_attribute on device mntgrp/pool_bl24/topup_tests, attribute Configuration', origin = 'DeviceProxy::write_attribute()', reason = 'API_AttributeFailed', severity = PyTango._PyTango.ErrSeverity.ERR)))

Then (in this bad conditions) if we call to the macro "ct" the door doesn't work anymore; it remains in a state "Running". It is impossible to stop/abort the macro "ct".

The only solution is the restart of the macroserver.
If we don't put back the old measurement gropu we easily see a "segmentation fault".

Discussion

  • Carlos Pascual

    Carlos Pascual - 2014-08-05
    • Milestone: Jul14 --> Jan15
     
  • Carlos Pascual

    Carlos Pascual - 2015-02-06
    • Milestone: Jan15 --> unassigned
     
  • Zbigniew Reszela

    • Milestone: Jan16 --> unassigned
     
MongoDB Logo MongoDB