Your message dated Wed, 24 Jan 2018 04:35:10 +0000
with message-id <[email protected]>
and subject line Bug#869156: fixed in basemap 1.1.0+dfsg-1
has caused the Debian Bug report #869156,
regarding python3-mpltoolkits.basemap: Contour plot fails for some projections
due to rounding error
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.)
--
869156: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869156
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-mpltoolkits.basemap
Version: 1.0.7+dfsg-4
Severity: normal
Tags: patch
Dear Maintainer,
When using the "contourf" function, some map-projections (e.g. 'mill')
fail with the following error condition:
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis
(`None`) and integer or boolean arrays are valid indices
This is triggered near line 3644
of /usr/lib/python3/dist-packages/mpl_toolkits/basemap/__init__.py,
where there is a floating-point divide '/' in computing x.shape[0]/2,
rather than a rounding divide '//'.
Since upgrading from 'jessie' to 'stretch', there appear to have been changes
somewhere in the python3/numpy/matplotlib/basemap stack which mean
that this division is now returning a floating-point number,
which is not valid for indexing numpy arrays.
The attached (minuscule) patch (replacing '/' with '//')
seems to fix the problem.
Kind regards,
RW Penney
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-mpltoolkits.basemap depends on:
ii libc6 2.24-11+deb9u1
ii libgeos-c1v5 3.5.1-3
ii python-mpltoolkits.basemap-data 1.0.7+dfsg-4
ii python3 3.5.3-1
ii python3-matplotlib 2.0.0+dfsg1-2
python3-mpltoolkits.basemap recommends no packages.
Versions of packages python3-mpltoolkits.basemap suggests:
ii python3-scipy 0.18.1-2
-- no debconf information
--- python3/dist-packages/mpl_toolkits/basemap/__init__-orig.py 2017-07-21
05:45:55.215475663 +0100
+++ python3/dist-packages/mpl_toolkits/basemap/__init__.py 2017-07-21
05:46:07.355478959 +0100
@@ -3641,7 +3641,7 @@
# with the shiftgrid function.
# only do this check for global projections.
if self.projection in _cylproj + _pseudocyl:
- xx = x[x.shape[0]/2,:]
+ xx = x[x.shape[0]//2,:]
condition = (xx >= self.xmin) & (xx <= self.xmax)
xl = xx.compress(condition).tolist()
xs = xl[:]
--- End Message ---
--- Begin Message ---
Source: basemap
Source-Version: 1.1.0+dfsg-1
We believe that the bug you reported is fixed in the latest version of
basemap, 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 basemap 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: Mon, 22 Jan 2018 23:21:34 -0500
Source: basemap
Binary: python-mpltoolkits.basemap python3-mpltoolkits.basemap
python-mpltoolkits.basemap-dbg python3-mpltoolkits.basemap-dbg
python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc
Architecture: source all amd64
Version: 1.1.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description:
python-mpltoolkits.basemap - matplotlib toolkit to plot on map projections
python-mpltoolkits.basemap-data - matplotlib toolkit to plot on map
projections (data package)
python-mpltoolkits.basemap-dbg - matplotlib toolkit to plot on map projections
(debug)
python-mpltoolkits.basemap-doc - matplotlib toolkit to plot on map projections
(documentation)
python3-mpltoolkits.basemap - matplotlib toolkit to plot on map projections
(Python 3)
python3-mpltoolkits.basemap-dbg - matplotlib toolkit to plot on map
projections (Python 3 debug)
Closes: 869156
Changes:
basemap (1.1.0+dfsg-1) unstable; urgency=medium
.
* New upstream release; Closes: #869156
* debian/control
- switch to PIL instead of imaging; #866415
- bump Standards-Version to 4.1.3
- remove priority: extra from -dbg packages
- add pyproj and pyshp to dep
- add netcdf4, pyproj and pyshp to b-d, needed by doc
* debian/copyright
- extend packaging copyright years
- exclude `geos-3.3.3` from upstream tarballs
- update for removed upstream code
* debian/watch
- update to point to github
Checksums-Sha1:
13a44f0b24fed30edddd750d238929aba5af8b33 2815 basemap_1.1.0+dfsg-1.dsc
f7131c4cf31eec4f4d670207c1ff2e01a4f109a9 129792317
basemap_1.1.0+dfsg.orig.tar.gz
fdce535c898262baba2be0331fa79aee623afec7 19344
basemap_1.1.0+dfsg-1.debian.tar.xz
61f60173eccb40d133688750888d9b1d69950b00 12740
basemap_1.1.0+dfsg-1_amd64.buildinfo
c9b8a4657c02ebcf1c92923ba3e4ab6c56606f55 81153176
python-mpltoolkits.basemap-data_1.1.0+dfsg-1_all.deb
03b62d5fb3da4a9bf8dded8c8794c4fff901e608 108456
python-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
6d212cef874348ae9e20af73c15892786f9cb690 33427440
python-mpltoolkits.basemap-doc_1.1.0+dfsg-1_all.deb
13f69fcf2f70a0da458bbff7722b4eb4afd90750 94016
python-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
d9dcf5a3de6e3d499c2f5f4639b31634ff6c8272 148044
python3-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
d48a24c83c7be3274f5f26fbf9196ad48a5f4260 93264
python3-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
Checksums-Sha256:
f79dd15583f7211736f086d00d0e5e8ef3e293a3b41f1ed58a756d567aad447e 2815
basemap_1.1.0+dfsg-1.dsc
b3be041f77d274051b7edb49d915b3ecac1c4b1ceaa30ca522d5cba74f5e2a56 129792317
basemap_1.1.0+dfsg.orig.tar.gz
833263a1f650c111997e8cac27fd8cbda78c7c4cc61dc080fc9e01aab503fcf6 19344
basemap_1.1.0+dfsg-1.debian.tar.xz
9d0d25bf3e0fb9473d3dd4a124cbc62299c498b2c669b4551753044ade7d206f 12740
basemap_1.1.0+dfsg-1_amd64.buildinfo
3d7cb588e0017b91a6c2ceeab032e1a675988a7d244a3395db3ec96e0f28ad47 81153176
python-mpltoolkits.basemap-data_1.1.0+dfsg-1_all.deb
ee069afe0422b1e57a39145ea8b589376623fa214874b5aa30b4bd2693f637f0 108456
python-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
7bf2b8c2d953a3125bb9f12dd74a2b026d423dd0cf8cab74ccf1877d362bd8fe 33427440
python-mpltoolkits.basemap-doc_1.1.0+dfsg-1_all.deb
b03b7dee2047fd7d9dc1aba566ae54e36fc5f05f45def8a4eda100d5d882c040 94016
python-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
6b0b1d7893cb330fceff5a6ceb4a76b92dcdb3bff7ea60d424075d78b6d81248 148044
python3-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
a21cec197f57abf316c44812618fabb63fbb74cd72f42079cb0409caad7468dd 93264
python3-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
Files:
4960147a4b432ff41be19536a45986e6 2815 python optional basemap_1.1.0+dfsg-1.dsc
42d6d668e50d0fb6fa51e2a5b12c3ab5 129792317 python optional
basemap_1.1.0+dfsg.orig.tar.gz
dc40f4ff0b5ef1c067329a256d7f5d26 19344 python optional
basemap_1.1.0+dfsg-1.debian.tar.xz
085b7177833328621e408e4a49d3e9af 12740 python optional
basemap_1.1.0+dfsg-1_amd64.buildinfo
5b16e2e6dc12ea420c3babda53209dd6 81153176 python optional
python-mpltoolkits.basemap-data_1.1.0+dfsg-1_all.deb
7f60078faefd177506cf46b779d8a0e0 108456 debug optional
python-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
5417d85c47bbb6c8e7d8b22a026d5997 33427440 doc optional
python-mpltoolkits.basemap-doc_1.1.0+dfsg-1_all.deb
6ce797327786e5f0d11f625244db044b 94016 python optional
python-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
11d3c2d2009036d431b732d1befcc7d6 148044 debug optional
python3-mpltoolkits.basemap-dbg_1.1.0+dfsg-1_amd64.deb
208b5440d4c15ca0748818f176372f1a 93264 python optional
python3-mpltoolkits.basemap_1.1.0+dfsg-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlpoAhgACgkQh588mTgB
qU8RSQ/+IKHxeexAzUhKZm/jZlESzt5y2HnUVmwX86M1+GVjzLYTupAWlMsmJepH
WWbi8REka6bJNyKgiB+VDBZbQVTVCyVfbWD7/Kx6B5zn3G1+QjkvjiEXlLFHeU1o
0qHAAR66VNyB7uPt1pdfCEHZ1zZibFsxvedg60izDWvMM52PvZiaI9dLeMFQRId6
hS5ZRYuKtWSoShUapolroR6UzpDRoGnvpf8iYvqPkifXOaWFZyrtAkbVHDYfpvTj
1IyOyRVPiWbsIZ0mv5/2g1X+SW5eQYIq9RxMMmb/M+Fyl0TkPRJ6WuXHnSttJ3Qs
UPRu4JqNQ37YXojbXE5zB1VHzgxHu4j/Gh3GIIEgR74ic3cQnDq7IyKplZllhrBe
iIfOQixlPDGO9Resx0bBsgm2QIAmJ8xMEDHg/MnT+mUxXquQFgqozB1fP79kqRpr
xtmGjZOHAem55NlW8RvRG7fiQ2NZA+Is9MoTHKeu5Jjvdd+F6UkUQw00+aDwENsD
XHeRM2iBcwe545AfzJwkiBIYTgaOMnPZz5niboXAsj7fOmTBPoB60N3fOhBU6phA
5y4N7G6uU2HZCZNBSJsNpXl1AqNMQR8VLJyN0DaRrA3ktzjNN9A8/R5kDDF0alC5
Jn0Bm22roimU0WhQgJLwaIeF8biawlMJoT4y9rAizo90hQP1Yh4=
=U9bQ
-----END PGP SIGNATURE-----
--- End Message ---