Sorry, I forgot to push the tags. The upstream/3.1.99994 tags was pushed now.
----- Mensagem original ----- De: "Thiago Franco de Moraes" <thiago.mor...@cti.gov.br> Para: "Andreas Tille" <andr...@an3as.eu> Cc: "debian-med" <debian-med@lists.debian.org> Enviadas: Sexta-feira, 6 de março de 2020 14:52:32 Assunto: Re: New InVesalius upstream version (3.1.99994) I tested it in a VM with Debian Testing and it's working. It generated the package correctly and the package worked. On Wed, Mar 4, 2020 at 3:17 PM Thiago Franco de Moraes <thiago.mor...@cti.gov.br> wrote: > > Hi Andreas, > > It seems that "debian/patches/10_import_cython_modules.patch" is not being > patched when package is being generated in your system. I don't know what I'm > doing wrong. This patch is listed inside "debian/patches/series". Maybe is a > difference between pybuild version? Mine is 4.20191017ubuntu7 (from package > dh-python). I'm using gbp buildpackage to generate package. And my > modifications to the package are in master. > > On Wed, Mar 4, 2020 at 5:28 AM Andreas Tille <andr...@an3as.eu> wrote: > > > > On Tue, Mar 03, 2020 at 01:28:17PM -0300, Thiago Franco de Moraes wrote: > > > > > > > > > > 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? > > > > > > Maybe your invesalius-bin package is old. > > > > Definitely not. I installed all new packages. > > > > > I tried here in Ubuntu 20.04 and it's working. I'm trying to test in > > > Debian Unstable (SId) and it's not installing because some InVesalius > > > dependencies (like python3-vtk7) have Python3.7 as dependency and > > > InVesalius has Python3.8 as dependency. I think Debian Unstable is in > > > process of update Python3 packages to Python3.8. > > > > I observed this as well so can't test on unstable for the moment. > > > > Kind regards > > > > Andreas. > > > > -- > > http://fam-tille.de > > > ----- Mensagem original ----- De: "Thiago Franco de Moraes" <thiago.mor...@cti.gov.br> Para: "Andreas Tille" <andr...@an3as.eu> Cc: "debian-med" <debian-med@lists.debian.org> Enviadas: Quarta-feira, 4 de março de 2020 15:16:20 Assunto: Re: New InVesalius upstream version (3.1.99994) Hi Andreas, It seems that "debian/patches/10_import_cython_modules.patch" is not being patched when package is being generated in your system. I don't know what I'm doing wrong. This patch is listed inside "debian/patches/series". Maybe is a difference between pybuild version? Mine is 4.20191017ubuntu7 (from package dh-python). I'm using gbp buildpackage to generate package. And my modifications to the package are in master. On Wed, Mar 4, 2020 at 5:28 AM Andreas Tille <andr...@an3as.eu> wrote: > > On Tue, Mar 03, 2020 at 01:28:17PM -0300, Thiago Franco de Moraes wrote: > > > > > > > > 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? > > > > Maybe your invesalius-bin package is old. > > Definitely not. I installed all new packages. > > > I tried here in Ubuntu 20.04 and it's working. I'm trying to test in Debian > > Unstable (SId) and it's not installing because some InVesalius dependencies > > (like python3-vtk7) have Python3.7 as dependency and InVesalius has > > Python3.8 as dependency. I think Debian Unstable is in process of update > > Python3 packages to Python3.8. > > I observed this as well so can't test on unstable for the moment. > > Kind regards > > Andreas. > > -- > http://fam-tille.de >