Hi,
I am trying to change the format and unit of my PyTangoDS attributes dynamically.
For that I want to use the get_attribute_config() method within the DS.
I got it working in Python2 but now with Python3 and PyTango9.2.5 I get the following error:
DevError[
desc = RuntimeError: unidentifiable C++ exception
origin = File "/usr/lib/python3/dist-packages/tango/device_class.py", line 568, in __DeviceClass__device_factory
device = self._new_device(deviceImplClass, klass, dev_name)
File "/usr/lib/python3/dist-packages/tango/device_class.py", line 547, in __DeviceClass__new_device
return klass(dev_class, dev_name)
File "/usr/lib/python3/dist-packages/tango/server.py", line 573, in __init__
self.init_device()
File "/usr/lib/python3/dist-packages/tango/server.py", line 362, in init_device
return get_worker().execute(init_device_orig, self)
File "/usr/lib/python3/dist-packages/tango/green.py", line 98, in execute
return fn(*args, **kwargs)
File "/home/pi/TangoDS/MCC2/PhytronMCC2Axis.py", line 174, in init_device
ac = self.get_attribute_config("sw_limit_minus")
reason = PyDs_PythonError
severity = ERR]
]
Segmentation fault
Any ideas what might have changes?