[Debian-med-packaging] Bug#779655: invesalius: "ZeroDivisionError: float division by zero" upon importing DICOM X-ray videos
Axel Beckert
abe at debian.org
Tue Mar 3 17:00:56 UTC 2015
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
More information about the Debian-med-packaging
mailing list