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