Package: python-matplotlib
Version: 0.86.2-5
Severity: grave
Justification: renders package unusable


The default installation of python-matplotlib is non-functional because of
tthe following specific problem.

Installing the python-matplotlib package also installs python-numeric see
[0] because the Depends: line has "python-numeric | python-numarray" but in
/etc/matplotlibrc, the default for numerix is "numarray, not "Numeric". 
This resulet in the package becoming unusable from a clean install as shown
below:

[EMAIL PROTECTED] python -c 'import matplotlib.numerix'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/matplotlib/numerix/__init__.py",
line 52, in ?
    from numarray import *
ImportError: No module named numarray


This will noly function properly if both the python-numarray _and_
python-numarray-ext packages are installed.

One of the the two following fixed needs to be made:

1. the dependency on python-numeric and python-numeric-ext needs to be
dropped, or 

2. the /etc/matplotlibrc file needs to be changed to use Numeric for numerix
and the python-numeric and python-numeric-ext dependency needs to be dropped

Eventually, numpy will have to be used but there is no Debian package as of
yet.

Cheers,

Carlo 



[0] ---- Installation of python-matplot lib on a clean system

oxide# apt-get install python-matplotlib
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  python-matplotlib-data python-numeric python-numeric-ext
Suggested packages:
  python-matplotlib-doc python-numeric-tutorial
The following NEW packages will be installed:
  python-matplotlib python-matplotlib-data python-numeric python-numeric-ext
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4126kB of archives.
After unpacking 16.1MB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  python-numeric python-numeric-ext python-matplotlib-data python-matplotlib
Authentication warning overridden.
Get:1 http://debian.phys.iit.edu sid/main python-numeric 24.2-4 [189kB]
Get:2 http://debian.phys.iit.edu sid/main python-numeric-ext 24.2-4 [131kB]
Get:3 http://debian.phys.iit.edu sid/main python-matplotlib-data 0.86.2-5
[377kB]
Get:4 http://debian.phys.iit.edu sid/main python-matplotlib 0.86.2-5
[3429kB]
Fetched 4126kB in 1s (3045kB/s)
Selecting previously deselected package python-numeric.
(Reading database ... 151885 files and directories currently installed.)
Unpacking python-numeric (from .../python-numeric_24.2-4_i386.deb) ...
Selecting previously deselected package python-numeric-ext.
Unpacking python-numeric-ext (from .../python-numeric-ext_24.2-4_i386.deb)
...
Selecting previously deselected package python-matplotlib-data.
Unpacking python-matplotlib-data (from
.../python-matplotlib-data_0.86.2-5_all.deb) ...
Selecting previously deselected package python-matplotlib.
Unpacking python-matplotlib (from .../python-matplotlib_0.86.2-5_i386.deb)
...
Setting up python-numeric (24.2-4) ...

Setting up python-numeric-ext (24.2-4) ...

Setting up python-matplotlib-data (0.86.2-5) ...
Setting up python-matplotlib (0.86.2-5) ...



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-matplotlib depends on:
ii  dvipng                        1.5-2.1+b1 convert PNG graphics from DVI file
ii  python                        2.3.5-11   An interactive high-level object-o
hi  python-central                0.5.1      register and build utility for Pyt
ii  python-dev                    2.3.5-11   Header files and a static library 
ii  python-matplotlib-data        0.86.2-5   python based plotting system (data
ii  python-numeric                24.2-4     Numerical (matrix-oriented) Mathem
ii  python-numeric-ext            24.2-4     Extension modules for Numeric Pyth
ii  python-qt3                    3.16-1.1   Qt3 bindings for Python

python-matplotlib recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to