TaurusWidgetFactory algorithm is not taking into account the real module where a widget is defined.
Example
# TaurusWidget is defined in: taurus.qt.qtgui.container.tauruswidget from taurus.qt.qtgui.util.tauruswidgetfactory import TaurusWidgetFactory factory = TaurusWidgetFactory() print(factory.getWidgets()['TaurusWidget']
generates:
('taurus.qt.qtgui.panel', <class 'taurus.qt.qtgui.container.tauruswidget.TaurusWidget'>)
it should generate:
('taurus.qt.qtgui.container.tauruswidget', <class 'taurus.qt.qtgui.container.tauruswidget.TaurusWidget'>)
as a reference, a better algorithm to handle class/package can be found in Sardana MacroServer:
Ticket moved from /p/sardana/tickets/71/
Can't be converted: