Menu

#270 [3.7.0] is not compatible with guiqwt 3.x series

Jul16
resolved
None
bug
2016-07-18
2016-03-09
No

Hello while building the latest taurus I found this error on Debian unstable.

/«BUILDDIR»/taurus-3.7.0+dfsg/doc/source/devel/api/taurus/qt/qtgui/extra_guiqwt.rst:8: WARNING: autodoc: failed to import module u'taurus.qt.qtgui.extra_guiqwt'; the following exception was raised:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 386, in import_object
    __import__(self.modname)
  File "/«BUILDDIR»/taurus-3.7.0+dfsg/lib/taurus/qt/qtgui/extra_guiqwt/__init__.py", line 31, in <module>
    from .taurustrend2d import TaurusTrend2DDialog
  File "/«BUILDDIR»/taurus-3.7.0+dfsg/lib/taurus/qt/qtgui/extra_guiqwt/taurustrend2d.py", line 36, in <module>
    from taurus.qt.qtgui.extra_guiqwt.tools import TaurusModelChooserTool, TimeAxisTool, AutoScrollTool
  File "/«BUILDDIR»/taurus-3.7.0+dfsg/lib/taurus/qt/qtgui/extra_guiqwt/tools.py", line 35, in <module>
    from guiqwt.signals import SIG_ITEMS_CHANGED
ImportError: cannot import name SIG_ITEMS_CHANGED

now it uses by default the #API2 for signals.

Cheers

Fred

(EDIT: I removed non-related traces and comments referring to them to avoid noise)

Related

OLD Tickets: #239

Discussion

  • Carlos Pascual

    Carlos Pascual - 2016-03-09

    I confirm this.

    For now in debian8 it is ok, but for debian>8 (testing, unstable) I am forced to install guiqwt using:

    pip install https://github.com/PierreRaybaut/guiqwt/archive/v2.3.1.zip
    

    The problem to support guiqwt>=3 is that it forces API2 for signals and taurus is not yet ready for that (see [#187]).

    OFFICIAL CALL FOR HELP: If someone can contribute time for fixing [#187] in taurus4, it would be greatly appreciated

     

    Related

    OLD Tickets: #187

  • Carlos Pascual

    Carlos Pascual - 2016-07-18
    • status: waiting --> resolved
    • assigned_to: Carlos Pascual
    • Milestone: unassigned --> Jul16
     
  • Carlos Pascual

    Carlos Pascual - 2016-07-18

    taurus4.0.0 supports guiqwt3