Comment 2 for bug 1770595

Revision history for this message
Renat (deymos34) wrote :

Hi Thiago, thank you for this suggestion - and for this app. Unfortunately, aforemetioned workaround doesn't seems to work for me:

renat@renat-Lenovo-B50-80:~$ cd ~/dev/invesalius3
renat@renat-Lenovo-B50-80:~/dev/invesalius3$ export PYTHONPATH=/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg
renat@renat-Lenovo-B50-80:~/dev/invesalius3$ python app.py

======================================================================
          *** ATTENTION ***
This messaging protocol is deprecated. This module, and hence arg1
messaging protocol, will be removed in v3.4 of PyPubSub. Please make
the necessary changes to your code so that it no longer requires this
module. The pypubsub documentation provides steps that may be useful
to minimize the chance of introducing bugs in your application.
======================================================================

/home/renat/dev/invesalius3/invesalius/data/transformations.py:1899: UserWarning: failed to import module _transformations
  warnings.warn("failed to import module %s" % name)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg/wx/core.py", line 2158, in Notify
    self.notify()
  File "/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg/wx/core.py", line 3315, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
  File "app.py", line 240, in Startup
    from invesalius.gui.frame import Frame
  File "/home/renat/dev/invesalius3/invesalius/gui/frame.py", line 41, in <module>
    import invesalius.gui.default_tasks as tasks
  File "/home/renat/dev/invesalius3/invesalius/gui/default_tasks.py", line 28, in <module>
    import invesalius.gui.data_notebook as nb
  File "/home/renat/dev/invesalius3/invesalius/gui/data_notebook.py", line 41, in <module>
    import invesalius.data.slice_ as slice_
  File "/home/renat/dev/invesalius3/invesalius/data/slice_.py", line 34, in <module>
    from invesalius.data.mask import Mask
  File "/home/renat/dev/invesalius3/invesalius/data/mask.py", line 33, in <module>
    from . import floodfill
ImportError: cannot import name floodfill
Traceback (most recent call last):
  File "app.py", line 264, in OnClose
    if self.fc.IsRunning():
AttributeError: 'Inv3SplashScreen' object has no attribute 'fc'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg/wx/core.py", line 2158, in Notify
    self.notify()
  File "/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg/wx/core.py", line 3315, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
  File "app.py", line 123, in Startup2
    self.control = self.splash.control
AttributeError: 'Inv3SplashScreen' object has no attribute 'control'