Control: severity -1 serious
Looking further than WxAgg, I see that pylab and matplotlib.pyplot are not
importable at present, and so python-matplotlib is pretty broken and should
not migrate to testing (hence bumping severity).
$ python -c 'import pylab'
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1005: UserWarning:
could not find rc file; returning defaults
warnings.warn(message)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/usr/lib/python2.7/dist-packages/matplotlib/pylab.py", line 252, in
<module>
from matplotlib import cbook, mlab, pyplot as plt
File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 31, in
<module>
import matplotlib.colorbar
File "/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py", line 36, in
<module>
import matplotlib.contour as contour
File "/usr/lib/python2.7/dist-packages/matplotlib/contour.py", line 20, in
<module>
import matplotlib.font_manager as font_manager
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1472, in <module>
_rebuild()
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1453, in _rebuild
fontManager = FontManager()
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1057, in __init__
paths = [os.path.join(rcParams['datapath'], 'fonts', 'ttf'),
File "/usr/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
$ python -c 'import matplotlib.pyplot'
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1005: UserWarning:
could not find rc file; returning defaults
warnings.warn(message)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 31, in
<module>
import matplotlib.colorbar
File "/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py", line 36, in
<module>
import matplotlib.contour as contour
File "/usr/lib/python2.7/dist-packages/matplotlib/contour.py", line 20, in
<module>
import matplotlib.font_manager as font_manager
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1472, in <module>
_rebuild()
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1453, in _rebuild
fontManager = FontManager()
File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py", line
1057, in __init__
paths = [os.path.join(rcParams['datapath'], 'fonts', 'ttf'),
File "/usr/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
(I think this is actually the same bug as #917093 and that bug can probably be
reassigned away from graphlan but I'll leave that to the relevant maintainers
to decide.)
cheers
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ [email protected]
Debian Developer http://www.debian.org/ [email protected]
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7