<div dir="ltr"><div><div><div><div>Hi,<br></div>the package you provided to me does not work either. It shows main application dialog but when I click on Open patient button it does not open dialog but in console there is <br><br><i>ERROR: Unhandled exception: Traceback (most recent call last):<br>  File "/usr/share/dicompyler/dicompyler/main.py", line 314, in OnOpenPatient<br>    dicomgui.ImportDicom(self)<br>  File "/usr/share/dicompyler/dicompyler/dicomgui.py", line 31, in ImportDicom<br>    dlgDicomImporter.Init(res)<br>  File "/usr/share/dicompyler/dicompyler/dicomgui.py", line 129, in Init<br>    self.OnDirectorySearch()<br>  File "/usr/share/dicompyler/dicompyler/dicomgui.py", line 188, in OnDirectorySearch<br>    args=(self, self.path, self.import_search_subfolders,<br>AttributeError: 'DicomImporterDialog' object has no attribute 'path'<br><br></i></div>Which is the same behavior as when I solved that matplotlib problem by editing that file.<br><br></div>I was lucky enough to run windows version today. I was able to view ct data and radiotherapy data and doses data. It seems in the package you provided to me there is even no button for importing these data and import dialog is gray.<br></div>Vojtech. <br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-12 15:46 GMT+01:00 Andreas Tille <span dir="ltr"><<a href="mailto:tille@debian.org" target="_blank">tille@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vojtech,<br>
<br>
please make sure you send your mails to <a href="mailto:854837@bugs.debian.org">854837@bugs.debian.org</a> and not<br>
my private e-mail address.  Thanks.<br>
<span class=""><br>
On Sun, Feb 12, 2017 at 08:50:05AM +0000, Vojtech Kulvait wrote:<br>
> Andreas,<br>
> I am using Debian Jessie and you are using some development version.<br>
<br>
</span>I admit that is true and I assumed that the egg-info files would have<br>
been cleaned up also by previous python helper versions.  Sorry for<br>
the confusion.<br>
<br>
> In the<br>
> package <a href="http://http.debian.net/debian/pool/main/d/dicompyler/" rel="noreferrer" target="_blank">http://http.debian.net/debian/<wbr>pool/main/d/dicompyler/</a><br>
> dicompyler_0.4.2.orig.tar.gz there is file<br>
> dicompyler/dicompyler-0.4.2.<wbr>egg-info/requires.txt<br>
<br>
To be clear about this:  Inside the .orig.tar.gz tarball you will find<br>
the orginal source as the authors of dicompyler.  As I said its<br>
unmaintained and orphaned code which will probably never change.<br>
However, at least in *recent* build tools the egg-info files are cleaned<br>
up.<br>
<span class=""><br>
> in the format I have described with those dependencieds. To replicate the<br>
> problem I downloaded live CD with debian Jessie (XFCE).<br>
><br>
> Using vanilla Debian Live CD:<br>
> apt-get install dicompyler<br>
> dicompyler<br>
> The result is:<br>
><br>
</span>> *Traceback (most recent call last):  File "/usr/bin/dicompyler", line 5, in<br>
<span class="">> <module>    from pkg_resources import load_entry_point  File<br>
> "/usr/lib/python2.7/dist-<wbr>packages/pkg_resources.py", line 2876, in<br>
> <module>    working_set = WorkingSet._build_master()  File<br>
> "/usr/lib/python2.7/dist-<wbr>packages/pkg_resources.py", line 451, in<br>
> _build_master    return cls._build_from_requirements(_<wbr>_requires__)  File<br>
> "/usr/lib/python2.7/dist-<wbr>packages/pkg_resources.py", line 464, in<br>
> _build_from_requirements    dists = ws.resolve(reqs, Environment())  File<br>
> "/usr/lib/python2.7/dist-<wbr>packages/pkg_resources.py", line 639, in<br>
> resolve    raise<br>
> DistributionNotFound(req)pkg_<wbr>resources.<wbr>DistributionNotFound:<br>
</span>> matplotlib>=0.99,<=1.3.1*<br>
<span class="">><br>
><br>
> So the problem is that in Jessie is packaged software that does crash after<br>
> it is launched.<br>
<br>
</span>I admit that's bad.  I remember that we did quite some effort to port it<br>
to wxpython3.0 and at this time it was running.  Most probably some past<br>
version bump of matplotlib spoiled this effort and the package was not<br>
tested afterwards again since this is a very rarely used program (it has<br>
currently a popularity contest vote of 2 users).<br>
<span class=""><br>
> Result of reportbug dicompyler:<br>
><br>
> Subject: dicompyler: Dicompyler crashes after launch even from vanilla<br>
> Debian Jessie installation.<br>
> Package: dicompyler<br>
> Version: 0.4.2-2<br>
> Severity: important<br>
<br>
</span>I admit I do not have a Jessie system currently at hand but you might<br>
like to try<br>
<br>
    wget <a href="http://ftp.debian.org/debian/pool/main/d/dicompyler/dicompyler_0.4.2-3_all.deb" rel="noreferrer" target="_blank">http://ftp.debian.org/debian/<wbr>pool/main/d/dicompyler/<wbr>dicompyler_0.4.2-3_all.deb</a><br>
    sudo dpkg -i dicompyler_0.4.2-3_all.deb<br>
<br>
This package will be part of the next stable release Stretch and you<br>
might be lucky that it also works on Jessie (sorry, I do not have any<br>
Jessie system with GUI at hand but it seems it should be at least<br>
installable.)<br>
<br>
Kind regards<br>
<br>
      Andreas.<br>
<div class="HOEnZb"><div class="h5"><br>
> -- System Information:<br>
> Debian Release: 8.7<br>
>   APT prefers stable<br>
>   APT policy: (500, 'stable')<br>
> Architecture: amd64 (x86_64)<br>
><br>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)<br>
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
> Shell: /bin/sh linked to /bin/dash<br>
> Init: systemd (via /run/systemd/system)<br>
><br>
> Versions of packages dicompyler depends on:<br>
> ii  python-dicom       0.9.8-1<br>
> ii  python-imaging     2.6.1-2+deb8u3<br>
> ii  python-matplotlib  1.4.2-3.1<br>
> ii  python-numpy       1:1.8.2-2<br>
> ii  python-pil         2.6.1-2+deb8u3<br>
> ii  python-tornado     3.2.2-1.1<br>
> ii  python-wxgtk3.0    3.0.1.1+dfsg-2<br>
> pn  python:any         <none><br>
><br>
> Vojtech.<br>
><br>
><br>
> 2017-02-11 23:31 GMT+00:00 Andreas Tille <<a href="mailto:tille@debian.org">tille@debian.org</a>>:<br>
><br>
> > Hi again,<br>
> ><br>
> > I need to admit we *really* need full system information to deal<br>
> > with your bug report.<br>
> ><br>
> > On Sat, Feb 11, 2017 at 11:09:59PM +0100, Vojtech Kulvait wrote:<br>
> > > Hi,<br>
> > > well in the file<br>
> > > /usr/share/dicompyler/<wbr>dicompyler-0.4.2.egg-info/<wbr>requires.txt<br>
> > > matplotlib>=0.99, <=1.1.0<br>
> > > numpy>=1.2.1<br>
> > > pil>=1.1.7<br>
> > > pydicom>=0.9.5, <0.9.7<br>
> ><br>
> > On my system I get:<br>
> ><br>
> >  $ LC_ALL=C apt-cache policy dicompyler<br>
> > dicompyler:<br>
> >   Installed: 0.4.2-3<br>
> >   Candidate: 0.4.2-3<br>
> >   Version table:<br>
> >  *** 0.4.2-3 501<br>
> >         501 <a href="http://httpredir.debian.org/debian" rel="noreferrer" target="_blank">http://httpredir.debian.org/<wbr>debian</a> testing/main amd64 Packages<br>
> >          50 <a href="http://httpredir.debian.org/debian" rel="noreferrer" target="_blank">http://httpredir.debian.org/<wbr>debian</a> unstable/main amd64<br>
> > Packages<br>
> >         100 /var/lib/dpkg/status<br>
> ><br>
> > $ cat /usr/share/dicompyler/<wbr>dicompyler-0.4.2.egg-info/<wbr>requires.txt<br>
> > $<br>
> ><br>
> > So the file you wrote above is in the Debian package empty (=has zero<br>
> > bytes).  I'm afraid you are using something else than the Debian<br>
> > packaged version.  I can confirm that the original tarball contains the<br>
> > data you fixed but you most probably are lacking all the patches that<br>
> > are contained in the Debian package.<br>
> ><br>
> > > i had to edit it to be<br>
> > > matplotlib>=0.99, <=1.3.1<br>
> ><br>
> > That's definitely not needed.<br>
> ><br>
> > > because otherwise python warns that the version of matplotlib is too new<br>
> > > and can not run dicompyler<br>
> > ><br>
> > > after this bugfix however dicompiler itself draw its widget but you can<br>
> > not<br>
> > > import data or even open some dialogs, file import is grey. So the<br>
> > program<br>
> > > is useless.<br>
> ><br>
> > Whatever you have installed might be useless since upstream seems to<br>
> > have orphaned this code and Debian is covering lots of patches to fix<br>
> > it.  If you really install the Debian package you can report bugs about<br>
> > the package but I have not idea how to fix your manual installation.<br>
> ><br>
> > > I have to download windows version and then work on it.<br>
> ><br>
> > Alternatively remove your installation and try<br>
> ><br>
> >     apt-get install dicompyler<br>
> ><br>
> > If you confirm you did so and there might be any remaining problems feel<br>
> > free to report these here.  If not I probably need to close this bug<br>
> > report since it does not concern the Debian package but something else<br>
> > we do not control.<br>
> ><br>
> > Hope this helps<br>
> ><br>
> >        Andreas.<br>
> ><br>
> > --<br>
> > <a href="http://fam-tille.de" rel="noreferrer" target="_blank">http://fam-tille.de</a><br>
> ><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
<a href="http://fam-tille.de" rel="noreferrer" target="_blank">http://fam-tille.de</a><br>
</font></span></blockquote></div><br></div>