ATTR_CONF_EVENT difference between Tango 8 and Tango 9

Hello,

I found the following differences in ATTR_CONF_EVENT behavior.
When one subscribes to ATTR_CONF_EVENT in stateless mode, the behavior is different for Tango 8.1.2 and Tango 9.2.5.

When the subscription is done when the server is shutdown:
  • in case of Tango 9 an error event is emitted with the API_CantConnectToDevice reason
  • in case of Tango 8 an error event is emitted with the API_BadConfigurationProperty reason

When the subscription is done when the server is getting started e.g. when subscribing to an attribute of a device from this server in the init_device method of another device from the same server:
  • in case of Tango 9 an error event is emitted with the API_DeviceNotExported reason (dserver)
  • in case of Tango 8 nothing happens

I have observed that with the Sardana server. Do you wan't me to test it with a more simplified example? Is this an intentional change?

Thanks!
Zibi

Hi Zibi,

This doesn't ring a bell in the C++ kernel team…
We will need more time to investigate this and analyze the reasons of these differences.
If you can provide a simplified example to reproduce the problem, that would be great, else we can create one from the pieces of information you provided in this post.
Could you please create an issue on cppTango github repository?
Is this blocking for you?

Cheers,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
Thanks for looking into that!

It is quite urgent because it affects the Sardana server and soon Debian 9 will be released. But don't worry for the moment.
We have a clue that Taurus have another bug that have been triggered by these changes in Tango. We believe that fixing Taurus will also fix Sardana server, so we won't be in such rush then.

We will get to you back after exploring the Taurus bug. Apart of that we will try to make a simpler example to demonstrate this change.
 
Register or login to create to post a reply.