[Python-modules-team] Bug#474001: savefig as pdf not working in python2.5
Soeren Sonnenburg
bugreports at nn7.de
Wed Apr 2 15:35:33 UTC 2008
Package: python-matplotlib
Version: 0.90.1-4
Severity: important
one basically cannot save figures as .pdf using python 2.5.
the reason is simple:
[...]
File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_pdf.py", line 505, in get_char_width
unicode = cp1252.decoding_map[charcode] or 0
AttributeError: 'module' object has no attribute 'decoding_map'
decoding_map is known under decoding_table in python2.5
maybe version 0.91 fixes this?
-- System Information:
Debian Release: lenny/sid
APT prefers stable
APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-rc7-sonne (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.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra
ii libffi4 4.3.0-2 Foreign Function Interface library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.0-2 GCC support library
ii libglib2.0-0 2.16.1-2 The GLib library of C routines
ii libgtk2.0-0 2.12.9-2 The GTK+ graphical user interface
ii libpango1.0-0 1.20.0-1 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libstdc++6 4.3.0-2 The GNU Standard C++ Library v3
ii python 2.4.4-6 An interactive high-level object-o
ii python-central 0.6.1 register and build utility for Pyt
ii python-dateutil 1.4-1 powerful extensions to the standar
ii python-dev 2.4.4-6 Header files and a static library
ii python-gobject 2.14.1-3 Python bindings for the GObject li
ii python-gtk2 2.12.1-1 Python bindings for the GTK+ widge
ii python-matplotlib-data 0.90.1-4 Python based plotting system (data
ii python-numarray-ext 1.5.2-3.1 Extension modules for Python array
ii python-numeric-ext 24.2-8.2 Extension modules for Numeric Pyth
ii python-numpy 1:1.0.4-7 Numerical Python adds a fast array
ii python-qt3 3.17.4-1 Qt3 bindings for Python
ii python-tk 2.4.4-3 Tkinter - Writing Tk applications
ii python-tz 2008a-1 Python version of the Olson timezo
ii tcl8.4 8.4.18-2 Tcl (the Tool Command Language) v8
ii tk8.4 8.4.18-1 Tk toolkit for Tcl and X11, v8.4 -
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages python-matplotlib recommends:
ii dvipng 1.9-6 convert DVI files to PNG graphics
-- no debconf information
More information about the Python-modules-team
mailing list