Re: New InVesalius upstream version (3.1.99994)
Hi Thiago,
On Mon, Mar 02, 2020 at 11:46:41AM -0300, Thiago Franco de Moraes wrote:
> >
> > commit 54645a18d87cca743a9ccadaca1c67d79ddfe27e
> > Author: Andreas Tille <tille@debian.org>
> > Date: Mon Mar 2 10:56:15 2020 +0100
> >
> > Seems 10_import_cython_modules.patch needs to be droped
>
> It's necessary. But pybuild was building before the creation of the cython files. I fixed that by overriding "override_dh_auto_configure". Now it's working correctly. Also, I needed to force GTK to use X11 because OpenGL in WXPython doesn't work in Wayland.
OK, fine for me. I do not know much about the internals.
> > I've installed the build result and startet:
> >
> >
> > $ LC_ALL=C invesalius3
> > /usr/lib/python3/dist-packages/wx/lib/pubsub/__init__.py:25: wxPyDeprecationWarning: wx.lib.pubsub has been deprecated, plese migrate your code to use pypubsub, available on PyPI.
> > wx.wxPyDeprecationWarning)
> > app.py:225: DeprecationWarning: Yield() is deprecated
> > wx.Yield()
> > Could not import dl
> > /usr/share/invesalius/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/python3/dist-packages/wx/core.py", line 2228, in Notify
> > self.notify()
> > File "/usr/lib/python3/dist-packages/wx/core.py", line 3384, in Notify
> > self.result = self.callable(*self.args, **self.kwargs)
> > File "app.py", line 231, in Startup
> > from invesalius.gui.frame import Frame
> > File "/usr/share/invesalius/invesalius/gui/frame.py", line 27, in <module>
> > import invesalius.gui.default_tasks as tasks
> > File "/usr/share/invesalius/invesalius/gui/default_tasks.py", line 28, in <module>
> > import invesalius.gui.data_notebook as nb
> > File "/usr/share/invesalius/invesalius/gui/data_notebook.py", line 40, in <module>
> > import invesalius.data.slice_ as slice_
> > File "/usr/share/invesalius/invesalius/data/slice_.py", line 36, in <module>
> > from invesalius.data.mask import Mask
> > File "/usr/share/invesalius/invesalius/data/mask.py", line 33, in <module>
> > from . import floodfill
> > ImportError: cannot import name 'floodfill' from 'invesalius.data' (/usr/share/invesalius/invesalius/data/__init__.py)
> > Traceback (most recent call last):
> > File "/usr/lib/python3/dist-packages/wx/core.py", line 2228, in Notify
> > self.notify()
> > File "/usr/lib/python3/dist-packages/wx/core.py", line 3384, in Notify
> > self.result = self.callable(*self.args, **self.kwargs)
> > File "app.py", line 111, in Startup2
> > self.control = self.splash.control
> > AttributeError: 'Inv3SplashScreen' object has no attribute 'control'
> > Traceback (most recent call last):
> > File "app.py", line 255, in OnClose
> > if self.fc.IsRunning():
> > AttributeError: 'Inv3SplashScreen' object has no attribute 'fc'
> >
> >
> >
> > Could you please re-check the current status in Git?
>
> This was fixed in my last commit
Really? Unfortunately this problem did not went away at my side? :-(
I admit I'm running the program on a testing system. So may be
some versioned dependencies are missing?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: