Package: python3-q-text-as-data Version: 1.4.0-2 Severity: grave q, if installed via its python3-q-text-as-data package, bails out with a syntax error:
→ python3-q-text-as-data File "/usr/bin/python3-q-text-as-data", line 201 print sql, " params: " + str(params) ^ SyntaxError: invalid syntax → q File "/usr/bin/q", line 201 print sql, " params: " + str(params) ^ SyntaxError: invalid syntax The amount or type of parameters doesn't seem to be relevant. Taking an example from the upstream website yields the same error: → ps -ef | q -H "SELECT UID,COUNT(*) cnt FROM - GROUP BY UID ORDER BY cnt DESC LIMIT 3" File "/usr/bin/q", line 201 print sql, " params: " + str(params) ^ SyntaxError: invalid syntax On a first glance this looks like Python 2.x syntax in a Python 3.x package. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-q-text-as-data depends on: ii python3 3.7.2-1 ii sqlite3 3.26.0+fossilbc891ac6b-2 python3-q-text-as-data recommends no packages. python3-q-text-as-data suggests no packages. -- no debconf information