[Python-modules-team] Bug#519965: python-matplotlib: breaks python help('modules')

Bernd Zeimetz bzed at debian.org
Mon Mar 16 13:49:21 UTC 2009

Package: python-matplotlib
Version: 0.98.3-5
Severity: grave

0 bzed at think:~$ python2.5
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help('modules')

Please wait a moment while I gather a list of all available modules...

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
/usr/lib/python2.5/site-packages/logilab/__init__.py:3: UserWarning: Module OpenGL was already imported from /usr/lib/python2.5/site-packages/OpenGL/__init__.py, but /usr/lib/python2.5/site-packages is being added to sys.path
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site.py", line 342, in __call__
    return pydoc.help(*args, **kwds)
  File "/usr/lib/python2.5/pydoc.py", line 1647, in __call__
  File "/usr/lib/python2.5/pydoc.py", line 1684, in help
    elif request == 'modules': self.listmodules()
  File "/usr/lib/python2.5/pydoc.py", line 1805, in listmodules
  File "/usr/lib/python2.5/pydoc.py", line 1856, in run
    for importer, modname, ispkg in pkgutil.walk_packages():
  File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages
    for item in walk_packages(path, name+'.', onerror):
  File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages
  File "/usr/lib/python2.5/site-packages/matplotlib/config/__init__.py", line 5, in <module>
    from rcparams import rc
  File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 117, in <module>
    rcParams = rc_params()
  File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 49, in rc_params
    fname = get_config_file()
  File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 181, in get_config_file
    path =  get_data_path() # guaranteed to exist or raise
  File "/usr/lib/python2.5/site-packages/matplotlib/config/verbose.py", line 74, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 129, in _get_data_path_cached
    defaultParams['datapath'][0] = _get_data_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 125, in _get_data_path
    raise RuntimeError('Could not find the matplotlib data files')
RuntimeError: Could not find the matplotlib data files

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-0            1.24.0-2          The ATK accessibility toolkit
ii  libc6                  2.9-5             GNU C Library: Shared libraries
ii  libcairo2              1.8.6-2+b1        The Cairo 2D vector graphics libra
ii  libfreetype6           2.3.9-4           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.3-5         GCC support library
ii  libglib2.0-0           2.20.0-1          The GLib library of C routines
ii  libgtk2.0-0            2.14.7-4+b1       The GTK+ graphical user interface 
ii  libpango1.0-0          1.22.4-2          Layout and rendering of internatio
ii  libpng12-0             1.2.35-1          PNG library - runtime
ii  libstdc++6             4.3.3-5           The GNU Standard C++ Library v3
ii  python                 2.5.4-2           An interactive high-level object-o
ii  python-cairo           1.4.12-1.2        Python bindings for the Cairo vect
ii  python-central         0.6.11            register and build utility for Pyt
ii  python-dateutil        1.4.1-3           powerful extensions to the standar
ii  python-excelerator     0.6.3a-4          module for reading/writing Excel s
ii  python-glade2          2.14.1-1          GTK+ bindings: Glade support
ii  python-gobject         2.16.1-1          Python bindings for the GObject li
ii  python-gtk2            2.14.1-1          Python bindings for the GTK+ widge
ii  python-matplotlib-data 0.98.3-5          Python based plotting system (data
ii  python-numpy           1:1.2.1-1         Numerical Python adds a fast array
ii  python-pyparsing       1.5.1-2           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              2009a-1           Python version of the Olson timezo
ii  python-wxgtk2.8       wxWidgets Cross-platform C++ GUI t
ii  tcl8.4                 8.4.19-3          Tcl (the Tool Command Language) v8
ii  tk8.4                  8.4.19-3          Tk toolkit for Tcl and X11, v8.4 -
ii  zlib1g                 1: compression library - runtime

Versions of packages python-matplotlib recommends:
ii  dvipng                        1.11-1     convert DVI files to PNG graphics

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

-- no debconf information

More information about the Python-modules-team mailing list