[Debian-med-packaging] Bug#603027: Bug#603027: mgltools-pmv: missing dependency for python-imaging-tk idle-python2.6

Steffen Möller steffen_moeller at gmx.de
Fri Nov 12 13:24:45 UTC 2010


Hello,

thank you for your bug hunting. The addition of python-imaging-tk is
rather straight-forward obviously. And then you say that idle-python2.5
should be lost as a dependency, right? But what about all those fellows
that run with python 2.5?

These are the idle-python packages

$ apt-cache search idle-python
idle-python2.5 - An IDE for Python (v2.5) using Tkinter
idle-python2.6 - An IDE for Python (v2.6) using Tkinter
idle-python3.1 - An IDE for Python (v3.1) using Tkinter
idle-python2.7 - An IDE for Python (v2.7) using Tkinter
idle-python3.2 - An IDE for Python (v3.2) using Tkinter

and for the very moment I tend to think that it should be up to the user
to provide that consistency. At least I have no idea how to express that
as a dependency. But you are right, this is definitely annoying.

I am not sure if those fixes should go into squeeze. Should they? Probably.

Would you want to comaintain those packages, btw?

Many greetings

Steffen


On 11/10/2010 12:52 PM, debmgltools.5.iridos at recursor.net wrote:
>
> Package: mgltools-pmv
> Version: 1.5.4.cvs.20100912-1
> Severity: important
>
>
> Hello,
> traceback on start with missing python-imaging-tk:
>
> $ runPmv
> Run PMV from  /usr/lib/python2.6/dist-packages/Pmv
> global name 'ImageTk' is not defined
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/Pmv/__init__.py", line 367,
> in runPmv
>     from Pmv.moleculeViewer import MoleculeViewer
>   File "/usr/lib/python2.6/dist-packages/Pmv/moleculeViewer.py", line
> 21, in <module>
>     from ViewerFramework.VF import ViewerFramework, GeomContainer
>   File "/usr/lib/python2.6/dist-packages/ViewerFramework/VF.py", line
> 201, in <module>
>     from ViewerFramework.VFGUI import ViewerFrameworkGUI
>   File "/usr/lib/python2.6/dist-packages/ViewerFramework/VFGUI.py",
> line 22, in <module>
>     from PIL import Image, ImageTk
> ImportError: cannot import name ImageTk
>
> I was also missing idle-python2.* in squeeze, but that has been fixed
> for the version in sid with: "idle-python2.6 | idle-python2.5"
> On my system, this installed idle-python2.5 instead of idle-python2.6,
> which also prevented start-up:
>
> $ runPmv
> Run PMV from  /usr/lib/python2.6/dist-packages/Pmv
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/Pmv/__init__.py", line 367,
> in runPmv
>     from Pmv.moleculeViewer import MoleculeViewer
>   File "/usr/lib/python2.6/dist-packages/Pmv/moleculeViewer.py", line
> 21, in <module>
>     from ViewerFramework.VF import ViewerFramework, GeomContainer
>   File "/usr/lib/python2.6/dist-packages/ViewerFramework/VF.py", line
> 201, in <module>
>     from ViewerFramework.VFGUI import ViewerFrameworkGUI
>   File "/usr/lib/python2.6/dist-packages/ViewerFramework/VFGUI.py",
> line 68, in <module>
>     from mglutil.util.idleUtil import getShell
>   File "/usr/lib/python2.6/dist-packages/mglutil/util/idleUtil.py",
> line 1, in <module>
>     from idlelib import PyShell
> ImportError: No module named idlelib
>
> $ dpkg -l idle-python\*|grep ii
> ii  idle-python2.5                        2.5.5-10  [...]
>
>
> Cheers,
> Karsten Siegmund
>
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages mgltools-pmv depends on:
> ii  idle-python2.6   2.6.6-6                 An IDE for Python (v2.6)
> using Tki
> ii  mgltools-dejavu  1.5.4.cvs.20100912-1    visualization of 3D
> geometry using
> ii  mgltools-geomuti 1.5.4.cvs.20090603-1+b1 Python library for
> geometric analy
> ii  mgltools-mglutil 1.5.4.cvs.20100912-1    Molecular Graphics
> Laboratory util
> ii  mgltools-molkit  1.5.4.cvs.20090603-1.1  Python classes to read
> and manipul
> ii  mgltools-openglt 1.5.4.cvs.20100912-1    opengltk python extension
> ii  mgltools-support 1.5.4.cvs.20100912-1    Update mechanism of MGLTools
> ii  mgltools-viewerf 1.5.4.cvs.20090603-1.1  ViewerFramework supports
> building
> ii  python           2.6.6-3+squeeze1        interactive high-level
> object-orie
> ii  python-central   0.6.16+nmu1             register and build
> utility for Pyt
> ii  python-zsi       2.1~a1-3                Zolera Soap Infrastructure
>
> Versions of packages mgltools-pmv recommends:
> pn  apbs                          <none>     (no description available)
>
> Versions of packages mgltools-pmv suggests:
> pn  mgltools-qslimlib             <none>     (no description available)
>
> -- no debconf information
>
>
>
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging






More information about the Debian-med-packaging mailing list