[Python-modules-team] Bug#498229: Typo in /usr/lib/python2.5/site-packages/matplotlib/axes3d.py

Tiziano Zito otizonaizit at yahoo.com
Mon Sep 8 10:30:27 UTC 2008


Package: python-matplotlib
Version: 0.98.1-1
Severity: minor

Hi, in the package python-matplotlib I've just hit a typo in
/usr/share/pyshared/matplotlib/axes3d.py:

raise NotImplmentedError('axes3d is not supported in matplotlib-0.98.
You may want to try the 0.91.x maintenance branch')

should read "NotImplementedError" instead of "NotImplmentedError".
To reproduce just try:

>>> from matplotlib import axes3d
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/lib/python2.5/site-packages/matplotlib/axes3d.py", line
1, in <module>
   raise NotImplmentedError('axes3d is not supported in
matplotlib-0.98.  You may want to try the 0.91.x maintenance branch')
NameError: name 'NotImplmentedError' is not defined
>>>

not such a big deal, the import should fail with NotImplementedError
instead of NameError.

thank you!
tiziano

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-matplotlib depends on:
ii  dvipng                 1.11-1            convert DVI files to PNG graphics
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.1-9         GCC support library
ii  libglib2.0-0           2.16.5-1          The GLib library of C routines
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libpango1.0-0          1.20.5-1          Layout and rendering of internatio
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libstdc++6             4.3.1-9           The GNU Standard C++ Library v3
ii  python                 2.5.2-2           An interactive high-level object-o
ii  python-cairo           1.4.12-1.1        Python bindings for the Cairo vect
ii  python-central         0.6.8             register and build utility for Pyt
ii  python-configobj       4.5.2-1           a simple but powerful config file 
ii  python-dateutil        1.4-1             powerful extensions to the standar
ii  python-dev             2.5.2-2           Header files and a static library 
ii  python-enthought-trait 2.0.5-1           Manifest typing and reactive progr
ii  python-excelerator     0.6.3a-3.1        module for reading/writing Excel s
ii  python-glade2          2.12.1-6          GTK+ bindings: Glade support
ii  python-gobject         2.14.2-1          Python bindings for the GObject li
ii  python-gtk2            2.12.1-6          Python bindings for the GTK+ widge
ii  python-matplotlib-data 0.98.1-1          Python based plotting system (data
ii  python-numpy           1:1.1.0-3         Numerical Python adds a fast array
ii  python-pyparsing       1.5.0-1           Python parsing module
ii  python-qt3             3.17.4-1          Qt3 bindings for Python
ii  python-qt4             4.4.2-4           Python bindings for Qt4
ii  python-tk              2.5.2-1           Tkinter - Writing Tk applications 
ii  python-tz              2008c-2           Python version of the Olson timezo
ii  python-wxgtk2.6        2.6.3.2.2-2       wxWidgets Cross-platform C++ GUI t
ii  tcl8.4                 8.4.19-2          Tcl (the Tool Command Language) v8
ii  tk8.4                  8.4.19-2          Tk toolkit for Tcl and X11, v8.4 -
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

python-matplotlib recommends no packages.

Versions of packages python-matplotlib suggests:
ii  ipython                    0.8.4-1       enhanced interactive Python shell
pn  python-matplotlib-doc      <none>        (no description available)
ii  texlive-extra-utils        2007.dfsg.2-3 TeX Live: TeX auxiliary programs
ii  texlive-latex-extra        2007.dfsg.3-2 TeX Live: LaTeX supplementary pack

-- no debconf information





More information about the Python-modules-team mailing list