[Bug 471709] [NEW] matplotlib: figure() call fails. GTK does not load a .svg file
Lars
lars.bittrich at googlemail.com
Mon Nov 2 21:17:16 UTC 2009
Public bug reported:
Binary package hint: python-matplotlib
The Bug was already reported on Debian and the solution suggested there
worked:
http://osdir.com/ml/debian-bugs-dist/2009-10/msg01691.html
I'm using kubuntu karmic amd64:
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy python-matplotlib
python-matplotlib:
Installiert: 0.99.0-1ubuntu1
Kandidat: 0.99.0-1ubuntu1
Versions-Tabelle:
*** 0.99.0-1ubuntu1 0
500 http://de.archive.ubuntu.com karmic/universe Packages
100 /var/lib/dpkg/status
In python promt you can try without 'librsvg2-common' installed:
Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:54:09)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> matplotlib.use('GtkAgg')
>>> import matplotlib.pyplot as plt
>>> plt.figure()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/matplotlib/pyplot.py", line 254, in figure
**kwargs)
File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_gtkagg.py", line 44, in new_figure_manager
return FigureManagerGTKAgg(canvas, num)
File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_gtk.py", line 443, in __init__
self.window.set_icon_from_file(window_icon)
glib.GError: Couldn't recognize the image file format for file '/usr/share/matplotlib/mpl-data/images/matplotlib.svg'
The solution was to install 'librsvg2-common'. That was the hint from the Debian bug report. Should there be a dependency
on that library?
** Affects: matplotlib (Ubuntu)
Importance: Undecided
Status: New
--
matplotlib: figure() call fails. GTK does not load a .svg file
https://bugs.launchpad.net/bugs/471709
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list