sardana-org / sardana

Moved to GitLab: https://gitlab.com/sardana-org/sardana
39 stars 52 forks source link

expconf problem of 0D channels without timers #453

Open jkotan opened 7 years ago

jkotan commented 7 years ago

Hi,

when I add firstly exp_adc01 and then exp_t01 and do not select Timer/Monitor for exp_adc01 I get

p09/door/haso228k.01 [3]: MainThread     INFO     2017-04-19 07:20:24,030 TaurusRootLogger: Using "PyQt4" for Qt
MainThread     ERROR    2017-04-19 07:21:02,157 TaurusRootLogger: Could not create/delete/modify Measurement group "mm3": DevFailed(args = (DevError(desc = "KeyError: ('timer',)\n", origin = '  File "/home/jkotan/testsar/lib/python2.7/site-packages/sardana-2.2.4_alpha-py2.7.egg/sardana/tango/pool/MeasurementGroup.py", line 217, in write_Configuration\n    self.measurement_group.set_configuration_from_user(cfg)\n  File "/home/jkotan/testsar/lib/python2.7/site-packages/sardana-2.2.4_alpha-py2.7.egg/sardana/pool/poolmeasurementgroup.py", line 460, in set_configuration_from_user\n    self.set_configuration(config, propagate=propagate)\n  File "/home/jkotan/testsar/lib/python2.7/site-packages/sardana-2.2.4_alpha-py2.7.egg/sardana/pool/poolmeasurementgroup.py", line 364, in set_configuration\n    if timer_ctrl_data[\'timer\'] != g_timer:\n', reason = 'PyDs_PythonError', severity = tango._tango.ErrSeverity.ERR), DevError(desc = 'Failed to write_attribute on device mntgrp/pool_haso228k/mm3, attribute configuration', origin = 'DeviceProxy::write_attribute()', reason = 'API_AttributeFailed', severity = tango._tango.ErrSeverity.ERR)))

It is related to #448.

Bests, Jan

reszelaz commented 7 years ago

@jkotan I'm afraid that we won't have time to fix it for Jul17. We will try for the next release..