Package: python-matplotlib
Version: 1.5.3-1
Severity: grave
Justification: renders package unusable
Every Python script I have that uses matplotlib or pylab is now
failing on Stretch with the following stack trace:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__
return self.func(*args)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py",
line 283, in resize
self.show()
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py",
line 355, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line
26, in blit
_tkagg.tkinit(tk.interpaddr(), 1)
OverflowError: Python int too large to convert to C long
These scripts all work fine on Jessie, and used to work until quite
recently on Stretch/Sid.
Here's a short test program that will demonstrate the problem:
=====
import pylab
distances = [0, 0.0011970407617050934, 0.0050796062254631295,
0.007303941153223762, 0.007303941153223762, 0.008232870398475445,
0.008232870398475445, 0.012806461740481582, 0.016651523629144134,
0.021047330616832543]
elevations = [6404.2, 6410.76, 6400.92, 6410.76, 6423.88, 6423.88, 6453.41,
6410.76, 6427.17, 6420.6]
pylab.plot(distances, elevations)
pylab.show()
=====
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.3.0-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-matplotlib depends on:
ii libatk1.0-0 2.22.0-1
ii libc6 2.24-7
ii libcairo2 1.14.6-1.1
ii libfontconfig1 2.11.0-6.7
ii libfreetype6 2.6.3-3+b1
ii libgcc1 1:6.2.1-5
ii libgdk-pixbuf2.0-0 2.36.0-1
ii libglib2.0-0 2.50.2-2
ii libgtk2.0-0 2.24.31-1
ii libjs-jquery 3.1.1-1
ii libjs-jquery-ui 1.12.1+dfsg-2
ii libpango-1.0-0 1.40.3-3
ii libpangocairo-1.0-0 1.40.3-3
ii libpangoft2-1.0-0 1.40.3-3
ii libpng16-16 1.6.26-2
ii libstdc++6 6.2.1-5
ii python 2.7.11-2
ii python-cycler 0.10.0-1
ii python-dateutil 2.5.3-2
ii python-matplotlib-data 1.5.3-1
ii python-numpy [python-numpy-abi9] 1:1.11.2-1
ii python-pyparsing 2.1.10+dfsg1-1
ii python-tz 2016.7-0.2
pn python:any <none>
Versions of packages python-matplotlib recommends:
ii python-glade2 2.24.0-5.1
ii python-imaging 3.4.2-1
ii python-tk 2.7.11-2
Versions of packages python-matplotlib suggests:
pn dvipng <none>
ii ffmpeg 7:3.2.2-1
ii ghostscript 9.20~dfsg-1
ii gir1.2-gtk-3.0 3.22.4-1
ii inkscape 0.91-12
ii ipython 5.1.0-3
ii librsvg2-common 2.40.16-1
pn python-cairocffi <none>
ii python-configobj 5.0.6-2
pn python-excelerator <none>
ii python-gobject 3.22.0-1
ii python-gtk2 2.24.0-5.1
pn python-matplotlib-doc <none>
ii python-nose 1.3.7-2
ii python-qt4 4.11.4+dfsg-2
ii python-scipy 0.18.1-2
ii python-sip 4.18.1+dfsg-1
pn python-tornado <none>
pn python-traits <none>
ii python-wxgtk3.0 3.0.2.0+dfsg-3
pn texlive-extra-utils <none>
pn texlive-latex-extra <none>
pn ttf-staypuft <none>
-- no debconf information