populse / populse_mia

Multiparametric Image Analysis
Other
10 stars 9 forks source link

[general purpose] UTs fail #307

Closed servoz closed 1 year ago

servoz commented 1 year ago

The UT is currently down. There seems to be a link with sip.

Traceback (most recent call last):
  File "C:\projects\capsul\capsul\qt_gui\widgets\pipeline_developer_view.py", line 2693, in __del__
    self.release_pipeline(delete=True)
  File "C:\projects\capsul\capsul\qt_gui\widgets\pipeline_developer_view.py", line 2800, in release_pipeline
    from soma.qt_gui.qt_backend import sip
  File "C:\projects\soma-base\python\soma\qt_gui\qt_backend.py", line 83, in find_module
    found = imp.find_module(module_name, qt_module.__path__)
  File "C:\Python37\lib\imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'sip'
denisri commented 1 year ago

I have tried to fix it. Can you give it a try please ?

servoz commented 1 year ago

Sure! Thanks a lot @denisri , your fix in soma is effective and the UTs in populse_mia are working properly again!