Package: gnumed-client
Version: 1.8.19+dfsg-1
Severity: wishlist
Tags: upstream


Dear maintainers,

further testing for Trixie revealed another bug that can, given the
right circumstances, completely prevent GNUmed from starting up the
client application. The same issue can affect upgrading the database.

The minimally-invasive, non-degrading, and single fix for 1.8.21 is a
one-to-four-line change:


@@ -699,7 +699,10 @@ def get_db_fingerprint(conn=None, fname=None, 
with_dump=False, eol=None):
                try:
                        curs.execute(cmd)
                        rows = curs.fetchall()
-                       val = rows[0][0]
+                       if rows:
+                               val = rows[0][0]
+                       else:
+                               val = '<not found>'
                except PG_ERROR_EXCEPTION as pg_exc:
                        if pg_exc.pgcode != 
sql_error_codes.INSUFFICIENT_PRIVILEGE:
                                raise


May I kindly ask for packaging despite Trixie being
in Soft Freeze by now.

(Note that this is _not_ the same issue as
 the similar 1.8.19 -> 1.8.20 one.)


Thanks,
Karsten



-- System Information:
Debian Release: 12.10
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 6.10.11+bpo-686-pae (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnumed-client depends on:
ii  aspell                           0.60.8-4+b1
ii  file                             1:5.44-3
ii  gnumed-common                    1.8.19+dfsg-1
ii  hunspell                         1.7.1-1
ii  imagemagick                      8:6.9.11.60+dfsg-1.6+deb12u2
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1.6+deb12u2
ii  ispell                           3.4.05-1
ii  python3                          3.11.2-1+b1
ii  python3-enchant                  3.2.2-1
ii  python3-gnuplot                  1.8-8
ii  python3-hl7                      0.4.5-1
ii  python3-httplib2                 0.20.4-3
ii  python3-lxml                     4.9.2-1+b1
ii  python3-psutil                   5.9.4-1+b1
ii  python3-pyudev                   0.24.0-1
ii  python3-wxgtk4.0                 4.2.0+dfsg-3
ii  texlive-latex-base               2022.20230122-3

Versions of packages gnumed-client recommends:
ii  7zip                       24.09+dfsg-7~bpo12+1
ii  aeskulap                   0.2.2-beta2+git20190406.ef77f01-4+b1
ii  amide                      1.0.6-1
ii  audiofile-tools            0.3.6-5+deb12u1
ii  chktex                     1.7.8-1
ii  chromium [www-browser]     135.0.7049.95-1~deb12u1
ii  dcmtk                      3.6.7-9~deb12u3
ii  extract                    1:1.11-7
ii  firefox-esr [www-browser]  128.9.0esr-1~deb12u1
ii  gnumed-doc                 1.8.19+dfsg-1
ii  gpg                        2.2.40-1.1
ii  gtklp                      1.3.4-3+b1
ii  konqueror [www-browser]    4:22.12.3-1
ii  lacheck                    1.26-17
ii  libimage-exiftool-perl     12.57+dfsg-1
ii  libreoffice-writer         4:7.4.7-1+deb12u7
ii  lynx [www-browser]         2.9.0dev.12-1
ii  pdftk-java                 3.3.2-1
ii  poppler-utils              22.12.0-2+b1
ii  python3-docutils           0.19+dfsg-6
ii  python3-pyqrcode           1.2.1-4
ii  python3-unidecode          1.3.6-1
ii  python3-vobject            0.9.6.1-2
ii  qpdf                       11.3.0-1+deb12u1
ii  systemd-timesyncd          252.36-1~deb12u1
ii  texlive-latex-extra        2022.20230122-4
ii  texlive-latex-recommended  2022.20230122-3
ii  w3m [www-browser]          0.5.3+git20230121-2
ii  wgerman-medical            20220425-1
ii  xdg-utils                  1.1.3-4.1
ii  xmedcon                    0.23.0-gtk3+dfsg-1+deb12u1
ii  xsane                      0.999-12.1~deb12u1

Versions of packages gnumed-client suggests:
pn  autokey-qt | autokey-gtk            <none>
ii  edfbrowser                          2.00+dfsg-1
ii  entangle                            3.0-3
ii  gnumed-server                       22.28-1
pn  incron                              <none>
ii  kolourpaint                         4:22.12.3-1
ii  konsolekalendar                     4:22.12.3-1
ii  korganizer                          4:22.12.3-1
ii  libchipcard-tools                   5.1.6-1+b1
ii  nvram-wakeup                        1.1-4+b1
ii  python3-uno                         4:7.4.7-1+deb12u7
ii  qrisk2                              0.1.20150729-5
pn  shutdown-at-night                   <none>
pn  wakeonlan | etherwake | gwakeonlan  <none>

-- no debconf information

Reply via email to