[ubuntu-dev] Bug#926633: FutureWarning: Possible nested set at position 1

Nicolas Patrois nicolas.patrois at gmail.com
Mon Apr 8 10:26:01 BST 2019


Package: gdebi
Version: 0.9.5.7+nmu3
Severity: minor
Tags: l10n

Dear Maintainer,

I install a deb package with gdebi, gdebi asks if I really want to install the
package, I answer o (oui ie yes in French).
In French:
Voulez-vous installer le paquet logiciel ? [o/N] :o

Immediately, gdebi prints:
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
  c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()

I suspect this line near the end of /usr/bin/gdebi are a bit buggy:

    try:
        c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
    except IndexError:
        c = "y"

Maybe answering y would solve the warning.



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

Kernel: Linux 4.17.0-3-686-pae (SMP w/3 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR:fr:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdebi depends on:
ii  gdebi-core        0.9.5.7+nmu3
ii  gir1.2-gtk-3.0    3.24.5-1
ii  gir1.2-vte-2.91   0.54.2-2
ii  gnome-icon-theme  3.12.0-3
ii  policykit-1       0.105-25
ii  python3           3.7.3-1
ii  python3-gi        3.30.4-1

Versions of packages gdebi recommends:
pn  libgtk2-perl      <none>
ii  lintian           2.12.0
ii  shared-mime-info  1.10-1

gdebi suggests no packages.

-- no debconf information


More information about the ubuntu-dev-team mailing list