Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Device server class inheriting from 4Impl does not send events #591

Closed
tiagocoutinho opened this issue Oct 8, 2019 · 1 comment
Closed

Comments

@tiagocoutinho
Copy link

A bug was reported in the PyTango project mentioning that a device server using PyTango 9.3.2 and Tango 9.3.x was unable to send manual events.
@jairomoldes noticed that the device class was inheriting from Device_4Impl instead of Device_5Impl. It seems to be the cause of the problem.

We were able to reproduce it in C++ (see attached code).

The same code worked well with Tango C++ 9.2.5

The best practice is to inherit from LastestDeviceImpl (PyTango original API) or from the TANGO_BASE_CLASS (in case of C++). But for old device servers it would be nice if they
still work without changes in the code.

IMHO this is not critical.
Test.zip

@bourtemb
Copy link
Member

@tiagocoutinho, this bug looks very similar to #492 which was present in cppTango 9.3.2 and for which a fix was provided ( #531 ) (in cppTango 9.3.3).
Is PyTango 9.3.2 using cppTango 9.3.2 as the name is suggesting?
Did you try with cppTango 9.3.3 or cppTango 9.3.2?

@t-b t-b closed this as completed Feb 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants