Bug#921887: python3-cartopy: config['repo_data_dir'] is incorrect (e.g., breaking stock_image())

Matt Marjanovic maddog at mir.com
Sat Feb 9 21:36:32 GMT 2019


Package: python3-cartopy
Version: 0.17.0+dfsg-2
Severity: normal

Dear Maintainer,

The 'repo_data_dir' element in the cartopy.config dictionary still has its
upstream default value of "/usr/lib/python3/dist-packages/cartopy/data",
however the "python-cartopy-data" package installs these files in a different
location, "/usr/share/cartopy/data".

>From the docstring for 'repo_data_dir' in lib/cartopy/__init__.py:

  ``repo_data_dir``
    The absolute path to the directory where the data delivered with the
    cartopy repository is stored.  Typically this will only be set by OS
    packagers and system administrators for site wide deployments.

A consequence of the mismatch is that methods like "stock_image()", which
expect to find files in certain places relative to 'repo_data_dir', fail
to work.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-cartopy depends on:
ii  libc6                               2.28-2
ii  libgcc1                             1:8.2.0-12
ii  libgeos-c1v5                        3.7.1-1
ii  libproj13                           5.2.0-1
ii  libstdc++6                          8.2.0-12
ii  python-cartopy-data                 0.17.0+dfsg-2
ii  python3                             3.7.1-3
ii  python3-numpy [python3-numpy-abi9]  1:1.16.1-1
ii  python3-pkg-resources               40.6.2-1
ii  python3-pyshp                       2.0.1+ds-1
ii  python3-shapely                     1.6.4-2
ii  python3-six                         1.12.0-1

python3-cartopy recommends no packages.

Versions of packages python3-cartopy suggests:
pn  python3-fiona       <none>
pn  python3-gdal        <none>
ii  python3-matplotlib  3.0.2-2
pn  python3-owslib      <none>
ii  python3-pil         5.3.0-1
pn  python3-pyepsg      <none>
pn  python3-pykdtree    <none>
ii  python3-scipy       1.1.0-2

-- no debconf information



More information about the Pkg-grass-devel mailing list