[Debian-med-packaging] Bug#779655: invesalius: "ZeroDivisionError: float division by zero" upon importing DICOM X-ray videos

Thiago Franco Moraes tfmoraes at cti.gov.br
Wed Mar 4 12:16:32 UTC 2015


Hi Andreas and Axel,

We've not tested InVesalius with X-ray videos yet. Probably it does not
work, because InVesalius is directed to work with CT, µCT and MRI. Your
error must be because we make some assumptions about the dicom file which
are not appropriate to x-ray videos.

Axel, if possible, could you please send me x-ray dicom file? So I can
investigate if it's possible to open this file in InVesalius.

Thanks!

On Tue, Mar 3, 2015 at 5:21 PM Andreas Tille <tille at debian.org> wrote:

> Hi Axel,
>
> thanks for your bug report.  I hope you are fine and do not need to
> diagnose your own. ;-)  I have put Thiago in  CC (in case he might have
> missed the bug report).  He has close connection to upstream and will
> surely work on fixing the issue.
>
> As an independant hint you might like to try ginkgocadx, amide and
> aeskulap (in this order) to perhaps see what you want to see.  Any
> reports about these would be welcome as well.
>
> Kind regards
>
>      Andreas.
>
> On Tue, Mar 03, 2015 at 06:00:56PM +0100, Axel Beckert wrote:
> > Package: invesalius
> > Version: 3.0~b5-4
> > Severity: normal
> >
> > Hi,
> >
> > thanks for packaging software for Debian which enables me to view my own
> > medical data on my own and Debian running computer! :-)
> >
> > I've tried to view some X-ray videos in DICOM format with Invesalius and
> > when I want to import them it shows me that there 8 videos (or images,
> > not 100% sure) to import, but as soon as I click on the "Import" button,
> > I get an empty (0%) progress bar popup and the following Python
> > stacktrace on the commandline where I started Invesalius:
> >
> > Traceback (most recent call last):
> >   File "/usr/share/invesalius/invesalius/gui/import_panel.py", line
> 171, in OnClickOk
> >     self.LoadDicom(group)
> >   File "/usr/share/invesalius/invesalius/gui/import_panel.py", line
> 191, in LoadDicom
> >     [self.first_image_selection, self.last_image_selection]))
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/
> pubsub/core/arg1/publisher.py", line 36, in sendMessage
> >     topicObj.publish(data)
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/
> pubsub/core/arg1/publishermixin.py", line 23, in publish
> >     self._publish(data)
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/pubsub/core/topicobj.py",
> line 376, in _publish
> >     self.__sendMessage(data, self, iterState)
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/pubsub/core/topicobj.py",
> line 397, in __sendMessage
> >     self._mix_callListener(listener, data, iterState)
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/
> pubsub/core/arg1/publishermixin.py", line 34, in _mix_callListener
> >     listener(self, data)
> >   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/
> pubsub/core/arg1/listenerimpl.py", line 51, in __call__
> >     cb(msg, **kwargs)
> >   File "/usr/share/invesalius/invesalius/control.py", line 486, in
> OnOpenDicomGroup
> >     matrix, matrix_filename, dicom = self.OpenDicomGroup(group,
> interval, file_range, gui=True)
> >   File "/usr/share/invesalius/invesalius/control.py", line 542, in
> OpenDicomGroup
> >     orientation, resolution_percentage)
> >   File "/usr/share/invesalius/invesalius/data/imagedata_utils.py", line
> 425, in dcm2memmap
> >     update_progress= vtk_utils.ShowProgress(len(files) - 1, dialog_type
> = "ProgressDialog")
> >   File "/usr/share/invesalius/invesalius/data/vtk_utils.py", line 52,
> in ShowProgress
> >     ratio = (100.0 / number_of_filters)
> > ZeroDivisionError: float division by zero
> >
> > (I could import and view my computer tomography data without issues into
> > Invesalius, so it's not a general issue, maybe just with some specific
> > data formats or even with some specific data.)
> >
> > -- System Information:
> > Debian Release: 8.0
> >   APT prefers testing-updates
> >   APT policy: (500, 'testing-updates'), (500,
> 'testing-proposed-updates'), (500, 'testing')
> > Architecture: amd64 (x86_64)
> >
> > Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
> > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > Init: sysvinit (via /sbin/init)
> >
> > Versions of packages invesalius depends on:
> > ii  invesalius-bin      3.0~b5-4
> > ii  python-casmoothing  0.1-2
> > ii  python-gdcm         2.4.4-3
> > ii  python-imaging      2.6.1-1
> > ii  python-nibabel      1.3.0-2
> > ii  python-numpy        1:1.8.2-2
> > ii  python-psutil       2.1.1-1+b1
> > ii  python-scipy        0.14.0-2
> > ii  python-serial       2.6-1.1
> > ii  python-vtk          5.8.0-17.5
> > ii  python-vtkgdcm      2.4.4-3
> > ii  python-wxgtk3.0     3.0.1.1+dfsg-2
> > pn  python2.7:any       <none>
> > pn  python:any          <none>
> >
> > invesalius recommends no packages.
> >
> > invesalius suggests no packages.
> >
> > -- no debconf information
> >
> > _______________________________________________
> > Debian-med-packaging mailing list
> > Debian-med-packaging at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/
> debian-med-packaging
> >
>
> --
> http://fam-tille.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150304/10f38928/attachment.html>


More information about the Debian-med-packaging mailing list