Package: mycli
Version: 1.31.2-1
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
* What led up to the situation?
Upgraded from debian bookworm to
debian trixie, mycli installed from system packages on bookworm
worked fine. Now with new system package from trixie it will start
up, but when I do a query that is longer than the screen and it
needs to wrap, it doesn't honor the pager that keeps it all on one
line and scroll to the right using "less". Here is the
exect pager I use.
less -n -i -S -F -X --rscroll -
* What exactly did you do (or not do) that was effective (or
ineffective)?
Even if my "pager" is set to "more" and I hit "q" to
quit out of that query result(that is both wider and longer than
the screen),
it gives this error. If I have no
pager at all, it doesn't give this error.
Exception ignored in: <_io.TextIOWrapper name=6 encoding='UTF-8'>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/click/_termui_impl.py", line 378, in
pager
elif _pipepager(generator, pager_cmd, color):
BrokenPipeError: [Errno 32] Broken pipe
When I have my full normal pager that lets me scroll to the right
instead of wrapping, when the query initially executes it wraps,
but it lets me scroll to the right, then DOESN'T wrap on the
scrolled part of the screen. Really strange.
I tried installing mycli using pipx and that version doesn't have
this issue. We typically just use the much more trusted / reliable
system packages for mycli instead of installing through pipx.(we
also use this tool on key production servers)
It appears as though there is a lot of chaos with the updates to
python3-click and that is a big part of or all of the issues with
this.
I was going to try to install mycli from "testing", but it wanted
to upgrade 12-13 packages which scared me that it could break my
stable system.
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 mycli depends on:
ii python3 3.13.5-1
ii python3-cli-helpers 2.4.0-2
ii python3-click 8.2.0+0.really.8.1.8-1
ii python3-configobj 5.0.9-1
ii python3-cryptography 43.0.0-3+deb13u1
ii python3-prompt-toolkit 3.0.51-2
ii python3-pyaes 1.6.1-6
ii python3-pyfzf 0.3.1-5
ii python3-pygments 2.18.0+dfsg-2
ii python3-pymysql 1.1.1-2
ii python3-pyperclip 1.8.2-2
ii python3-sqlglot 26.16.4-1
ii python3-sqlparse 0.5.3-1
ii python3-tabulate 0.9.0-1
mycli recommends no packages.
mycli suggests no packages.
-- no debconf information