Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1117348
| From | François Gannaz <francois.gannaz@free.fr> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1019891: mycli: Always crashes at runtime because the module 'sqlglot' is missing |
| Date | 2022-09-15 18:30 +0200 |
| Message-ID | <F5ZUt-7JIO-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: mycli
Version: 1.26.1-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
after upgrading the package `mycli`, the command fails to run.
❯ mycli
Traceback (most recent call last):
File "/usr/bin/mycli", line 33, in <module>
sys.exit(load_entry_point('mycli==1.26.1', 'console_scripts',
'mycli')()) File "/usr/bin/mycli", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in
load module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in
import_module return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in
_find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688,
in _load_unlocked File "<frozen importlib._bootstrap_external>", line
883, in exec_module File "<frozen importlib._bootstrap>", line 241, in
_call_with_frames_removed File
"/usr/lib/python3/dist-packages/mycli/main.py", line 27, in <module>
import sqlglot ModuleNotFoundError: No module named 'sqlglot'
Here is the upstream commit that added this dependency:
https://github.com/dbcli/mycli/commit/b8411836350923528ecdb0c92f22d26d012c1c89
I couldn't find 'sqlglot' anywhere among the Debian packages, so I
suppose there is no easy workaround for this missing dependency.
Thank you for maintaining this.
Regards,
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (800, 'testing'), (600, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.19.0-1-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.utf8, LC_CTYPE=C.UTF-8
(charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mycli depends on:
ii python3 3.10.6-1
ii python3-cli-helpers 2.2.1-1
ii python3-click 8.0.3-1
ii python3-configobj 5.0.6-5
ii python3-cryptography 3.4.8-2
ii python3-pkg-resources 59.6.0-1.2
ii python3-prompt-toolkit 3.0.31-1
ii python3-pyaes 1.6.1-4
ii python3-pygments 2.12.0+dfsg-2
ii python3-pymysql 1.0.2-2
ii python3-pyperclip 1.8.2-2
ii python3-sqlparse 0.4.2-1
ii python3-tabulate 0.8.9-1
ii python3-terminaltables 3.1.0-4
mycli recommends no packages.
mycli suggests no packages.
-- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1019891: mycli: Always crashes at runtime because the module 'sqlglot' is missing François Gannaz <francois.gannaz@free.fr> - 2022-09-15 18:30 +0200 Bug#1019891: mycli: Always crashes at runtime because the module 'sqlglot' is missing Daniel Baumann <daniel.baumann@progress-linux.org> - 2022-09-15 19:20 +0200
csiph-web