Package: pg-activity
Version: 1.6.2-1
Severity: normal

Dear Maintainer,

Upon installation of the pg-activity package on Debian 11 Bullseye, the
following error happens:

Fetched 335 kB in 0s (31.8 MB/s)
Selecting previously unselected package python3-psutil.
(Reading database ... 26732 files and directories currently installed.)
Preparing to unpack .../python3-psutil_5.8.0-1_amd64.deb ...
Unpacking python3-psutil (5.8.0-1) ...
Selecting previously unselected package python3-psycopg2.
Preparing to unpack .../python3-psycopg2_2.8.6-2_amd64.deb ...
Unpacking python3-psycopg2 (2.8.6-2) ...
Selecting previously unselected package pg-activity.
Preparing to unpack .../pg-activity_1.6.2-1_all.deb ...
Unpacking pg-activity (1.6.2-1) ...
Setting up python3-psutil (5.8.0-1) ...
Setting up python3-psycopg2 (2.8.6-2) ...
Setting up pg-activity (1.6.2-1) ...
/usr/lib/python3/dist-packages/pgactivity/UI.py:1659: SyntaxWarning: "is
not" with a literal. Did you mean "!="?
  if val is not 0:
/usr/lib/python3/dist-packages/pgactivity/UI.py:1660: SyntaxWarning: "is
not" with a literal. Did you mean "!="?
  if val['name'] is not 'Query':
/usr/lib/python3/dist-packages/pgactivity/UI.py:1678: SyntaxWarning: "is
not" with a literal. Did you mean "!="?
  if val is not 0:
Processing triggers for man-db (2.9.4-2) ...

The application can be launched and seems to be working fine, though I have
not tested all the options it offers.

Moreover, I have found a very similar bug bug on the bleachbit package,
which may serve as reference:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974530

I have not tried installing the version of pg-activity available on sid
because the dependencies has changed.

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.39-2-pve (SMP w/6 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pg-activity depends on:
ii  python3           3.9.2-3
ii  python3-psutil    5.8.0-1
ii  python3-psycopg2  2.8.6-2

pg-activity recommends no packages.

pg-activity suggests no packages.

-- no debconf information

-- 
Jaume Sabater
"Ubi sapientas ibi libertas"

Reply via email to