Package: python3-grib
Version: 2.0.2-4
Severity: minor
Tags: patch

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
call repr() on a grib message object

   * What was the outcome of this action?
  File "/usr/lib/python3/dist-packages/ncepgrib2.py", line 623, in __repr__
    keys.sort()
AttributeError: 'dict_keys' object has no attribute 'sort'
The line (/usr/lib/python3/dist-packages/ncepgrib2.py:623) should be changed
to:
    keys = sorted(keys)


-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (950, 'stable'), (900, 'testing'), (130, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.41-1.pvops.qubes.x86_64 (SMP w/5 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-grib depends on:
ii  libc6                               2.27-3
ii  libeccodes-data                     2.0.2-5
ii  libeccodes-dev                      2.0.2-5
ii  libeccodes0                         2.0.2-5
ii  libgrib2c-dev                       1.6.0-9
ii  python3                             3.6.5-3
ii  python3-numpy [python3-numpy-abi9]  1:1.14.5-1+b1
ii  python3-pyproj                      1.9.5.1-4

Versions of packages python3-grib recommends:
ii  python-grib-doc  2.0.2-4

python3-grib suggests no packages.

Reply via email to