Your message dated Fri, 28 Dec 2018 17:22:41 +0000
with message-id <[email protected]>
and subject line Bug#917518: fixed in matplotlib2 2.2.3-5
has caused the Debian Bug report #917518,
regarding python-matplotlib: WxAgg backend cannot find fonts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
917518: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917518
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-matplotlib
Version: 2.2.3-4
Severity: important

Dear Maintainers,

Since the update to python-matplotlib2, the WxAgg backend is unable to find any
fonts. The following code used to work just fine (and works fine in buster
with python-matplotlib 2.2.2-4+b1):

# apt-get install python-matplotlib python-wxgtk3.0
# python -c 'import matplotlib.backends.backend_wxagg.FigureCanvasWxAgg'
/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/backends/backend_wxagg.py", 
line 11, in <module>
    from .backend_agg import FigureCanvasAgg
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_agg.py", 
line 36, in <module>
    from matplotlib.backend_bases import (
  File "/usr/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 53, 
in <module>
    from matplotlib import (
  File "/usr/lib/python2.7/dist-packages/matplotlib/textpath.py", line 17, 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'

The WxAgg backend is used by python-bumps and sasmodels; the inability to
import the module means that these packages FTBFS and their autopkgtest tests
fail.

I can't see any changes in the packaging that would cause this but I also
can't see any relevant changes in the upstream backend or font handling code.
There are some changes in the initialisation of the matplotlib config but I
don't see any documented changes in the upstream changelog for requiring
initialisation of rcParams prior to importing backends.

If changes in the rdeps are needed, I can make them, but hints would be
gratefully received.

thanks
Stuart

Comparison logs from ci.d.n:

buster
https://ci.debian.net/data/autopkgtest/testing/amd64/s/sasview/1563832/log.gz

unstable
https://ci.debian.net/data/autopkgtest/testing/amd64/s/sasview/1563833/log.gz

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

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages python-matplotlib depends on:
ii  libc6                                 2.28-3
ii  libfreetype6                          2.9.1-3
ii  libgcc1                               1:8.2.0-13
ii  libjs-jquery                          3.2.1-1
ii  libjs-jquery-ui                       1.12.1+dfsg-5
ii  libpng16-16                           1.6.36-1
ii  libstdc++6                            8.2.0-13
ii  python                                2.7.15-3
ii  python-backports.functools-lru-cache  1.5-1
ii  python-cycler                         0.10.0-1
ii  python-dateutil                       2.7.3-1
ii  python-kiwisolver                     1.0.1-2+b1
ii  python-matplotlib2-data               2.2.3-4
ii  python-numpy [python-numpy-abi9]      1:1.16.0~rc1-2
ii  python-pyparsing                      2.2.0+dfsg1-2
ii  python-six                            1.12.0-1
ii  python-subprocess32                   3.5.3-1
ii  python-tz                             2018.7-1
ii  zlib1g                                1:1.2.11.dfsg-1

Versions of packages python-matplotlib recommends:
ii  python-pil  5.3.0-1
ii  python-tk   2.7.15-1+b1

Versions of packages python-matplotlib suggests:
pn  dvipng                  <none>
pn  ffmpeg                  <none>
pn  ghostscript             <none>
pn  gir1.2-gtk-3.0          <none>
pn  inkscape                <none>
pn  ipython                 <none>
ii  librsvg2-common         2.44.10-1
pn  python-cairocffi        <none>
pn  python-configobj        <none>
pn  python-excelerator      <none>
pn  python-gi               <none>
pn  python-gobject-2        <none>
pn  python-matplotlib2-doc  <none>
pn  python-nose             <none>
pn  python-qt4              <none>
pn  python-scipy            <none>
pn  python-sip              <none>
pn  python-tornado          <none>
pn  python-traits           <none>
ii  python-wxgtk3.0         3.0.2.0+dfsg-8
pn  texlive-extra-utils     <none>
pn  texlive-latex-extra     <none>
pn  ttf-staypuft            <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: matplotlib2
Source-Version: 2.2.3-5

We believe that the bug you reported is fixed in the latest version of
matplotlib2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated matplotlib2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 28 Dec 2018 11:46:51 -0500
Source: matplotlib2
Binary: python-matplotlib python-matplotlib2-data python-matplotlib2-doc 
python-matplotlib-dbg
Architecture: source amd64 all
Version: 2.2.3-5
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description:
 python-matplotlib - Python based plotting system in a style similar to Matlab
 python-matplotlib-dbg - Python based plotting system (debug extension)
 python-matplotlib2-data - Python based plotting system (data package)
 python-matplotlib2-doc - Python based plotting system (documentation package)
Closes: 917093 917518
Changes:
 matplotlib2 (2.2.3-5) unstable; urgency=medium
 .
   * install the default matplotlib config file at /etc/matplotlibrc2;
     Closes: #917518, #917093
Checksums-Sha1:
 5c46717ad38d03a2dab68e63d7764249c6357b3c 3585 matplotlib2_2.2.3-5.dsc
 918d9b0038a7479876fe4d96d4bc1e719291c3fa 31652 
matplotlib2_2.2.3-5.debian.tar.xz
 744b99884ea8bad690cbc5167218769cf5bc985b 23986 
matplotlib2_2.2.3-5_amd64.buildinfo
 3397094b96a86fbec9e20066c0f5374e1336dcbb 3694252 
python-matplotlib-dbg_2.2.3-5_amd64.deb
 c9b5bde86d1ed1525d296fdb4191c9abe52e0ada 4123520 
python-matplotlib2-data_2.2.3-5_all.deb
 963169fa61fd4ad8a7d4425e05717c54d484edf1 64628920 
python-matplotlib2-doc_2.2.3-5_all.deb
 c7227a31f7bd9cfa175e51e2f1737732de07c723 5072612 
python-matplotlib_2.2.3-5_amd64.deb
Checksums-Sha256:
 aa0bdcb0dadc2cf60aaf8d916880ac404de83d9ce55b4039aab3ae4d00cf6253 3585 
matplotlib2_2.2.3-5.dsc
 2b951c6a9149417dba98d30cc0d9668291cb3379a1a93833d02383bb24f240f1 31652 
matplotlib2_2.2.3-5.debian.tar.xz
 627d337377df66e734a6b8f83e687dafcbef44765848b45e63cf028de16c5af7 23986 
matplotlib2_2.2.3-5_amd64.buildinfo
 c60535918267929c528bdbac6f5ccfab7c8340090c71bff57400cb29f4fc1cee 3694252 
python-matplotlib-dbg_2.2.3-5_amd64.deb
 2bf9029d2cdf9e3f6643ac680825eb5a1d095cc29c684dc6b3e39f974b065903 4123520 
python-matplotlib2-data_2.2.3-5_all.deb
 ef1f66e317977bc92b9a27bd86ef26c0b4403c92fa657f1ed4b7a03fe58b6667 64628920 
python-matplotlib2-doc_2.2.3-5_all.deb
 06651fe0e8b1c02afa1d883e6a68bc0e885e0b5c5a271105cbc297b9d63f3207 5072612 
python-matplotlib_2.2.3-5_amd64.deb
Files:
 bd6d9449b54d8ceaadd3617d3ce8eea5 3585 python optional matplotlib2_2.2.3-5.dsc
 8fafa837a1089b95ba32927e96ce9445 31652 python optional 
matplotlib2_2.2.3-5.debian.tar.xz
 403ef981940be8c2b23ecce36909c3fd 23986 python optional 
matplotlib2_2.2.3-5_amd64.buildinfo
 0e4b0c8252af478cb43976b02c3ed9fc 3694252 debug optional 
python-matplotlib-dbg_2.2.3-5_amd64.deb
 1b2754e369fe6627332a54d6aba6b7f1 4123520 python optional 
python-matplotlib2-data_2.2.3-5_all.deb
 913dc1c63bdd416178e7c6436e54e6e0 64628920 doc optional 
python-matplotlib2-doc_2.2.3-5_all.deb
 698d660aa50c5dff12f6cab7a27ae150 5072612 python optional 
python-matplotlib_2.2.3-5_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlwmVqkACgkQh588mTgB
qU8fFQ/+Mbe2fyUW6XnkhHdkMQbX9MvIx748COWDABjqA4X45D978DhroTy+pO3k
g0lcnn/QbrW73/rDCsx93jAuvte/N49kIlNwKfomqZOFSW8VYj0FVtQoksvjSOIm
anpMCNfxWepHu3S1Rd4OasyCf1vXAWNZhUb0brv+/ODPoe+Vy4go0qccZLKiIDMa
Inoob7VKC5hAXp26ErQTgdKLkEm3gp45aw//57uxVTZd3RdWhCf+u6G2diOLerfV
pXzs8w6mBw3d46hPP+iPVazyXoAUSqHUBqZ05X9rtZjhyM27qktZ56W2Wqrw0B6A
HZYcPFjH3muVf3vOocu6Te6dcrSIGkgPVjGgWPt06ToS2UV27DM8j9MbYkL4p8QA
+Wv6ZgWWDKZZsCQp4vhk/lMTOfAm+iybDzzS9qrmqyCv1Ud1yu/UUCtJqOEm1VdO
1Mk/LfbJ+jEz+npfbTtluIzcETg9+1nD4+FsP1Wr/+c3dWz0JTyBtj1GgXN3pl2u
GLYHz8uhZxY6vcYW9h6tn/wwe0aZioqQb/HPDpdP7V3gD3rEya035NGjiiHXA4SH
bGTnZd6gnP+Mph//YVcddUoh4H3C/H2LAAXwqcbAQM00SvNnYDryZD6vXQ1/tL3L
vYJG/QhLvz53+6W1VIQZX+IfHUQO9mrk2nnC3v8N4Zp46bvLqfw=
=FKIP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to