[Bug 301007] Re: Missing package dependency
** Changed in: matplotlib (Ubuntu) Status: In Progress => Confirmed ** Summary changed: - Missing package dependency + python-matplotlib: missing package dependency (python-tk) -- python-matplotlib: missing package dependency (python-tk) https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 301007] Re: Missing package dependency
I can confirm this bug on Jaunty amd64 ** Attachment added: "code will produce bug if python-tk is not installed" http://launchpadlibrarian.net/26322024/matplotlib-test.py -- Missing package dependency https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 301007] Re: Missing package dependency
Just ran into this problem in Jaunty when testing smem (mentioned on this weeks LWN front page), and also described in the smem list archive here by someone else: http://selenic.com/pipermail/smem/2009-April/14.html Apparently the Debian package does have python-tk as a requirement, as can be seen here - http://packages.debian.org/stable/python-matplotlib -- Missing package dependency https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 301007] Re: Missing package dependency
On Fri, Jan 23, 2009 at 03:56, Дмитрий Ледков wrote: > An auto backend support within matplotlib would be great. I'll try to > find bug tracker for matplotlib and see if there is a request already > for this, if not I'll file one and help to add code to support that. it's on their SF website[1] even if -devel (or -user sometimes) mailing-list is much more used than tracker. [1] http://sourceforge.net/tracker/?group_id=80706 > I think that it will be possible to write a post install script which > will do the following: > > 1) check dependencies for all possible backends > 2) Ignore backends for which dependencies are missing > 3) Out of the working backends pick the pretties one > 4) modify /etc/matplotlibrc to default to one that is installed what if install-time is weeks before the usage, so that packages gets installed and removed in between? > By bash-foo is not perfect but I will work on this in the next week or > so. So for now I'll assign this bug to myself. If I succeed I'll work > with debian packaging team to incorporate it =D The best (only real?) solution is to let upstream provide an "auto" mode, like they already said they're working on it. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Missing package dependency https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 301007] Re: Missing package dependency
An auto backend support within matplotlib would be great. I'll try to find bug tracker for matplotlib and see if there is a request already for this, if not I'll file one and help to add code to support that. In the mean time we still have the all mightly debian packaging = I think that it will be possible to write a post install script which will do the following: 1) check dependencies for all possible backends 2) Ignore backends for which dependencies are missing 3) Out of the working backends pick the pretties one 4) modify /etc/matplotlibrc to default to one that is installed By bash-foo is not perfect but I will work on this in the next week or so. So for now I'll assign this bug to myself. If I succeed I'll work with debian packaging team to incorporate it =D ** Changed in: matplotlib (Ubuntu) Assignee: (unassigned) => Дмитрий Ледков (dmitrij.ledkov) Status: Confirmed => In Progress -- Missing package dependency https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 301007] Re: Missing package dependency
python-matplotlib 0.98.3-4ubuntu1 depends on "python-tk | python-gtk2 | python-wxgtk2.8 | python-qt3 | python-qt4". This means, that you need to have one of those packages installed. If you have none of those packages installed and you install python-matplotlib, python-tk will be installed. If you have one of those packages installed (except python-tk) and you install python-matplotlib, you have to install python-tk manually or change the default backend (in /etc/matplotlibrc). You always need the python package installed wich correspond to the selected backend. I do not know how to assure that the correct python package is installed. The other way is to select the backend based on the installed packages. A plan for the future is to have a "auto" backend which searches for the installed packages and select the first he finds. ** Changed in: matplotlib (Ubuntu) Status: New => Confirmed -- Missing package dependency https://bugs.launchpad.net/bugs/301007 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs