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