Bug#1011152: spyder: Console not starting. Spyder alerts : iPython 7.31.1 & qtconsole 5.3.0 not installed. But they are !

RB68 epsommumule at virgilio.it
Tue May 17 15:54:19 BST 2022


Package: spyder
Version: 5.3.0+dfsg1-7
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: epsommumule at virgilio.it

Dear Maintainer,

I upgraded Spyder 4.2.1 to 5.3 both on my main desktop PC and in a qemu client.
In both cases I encountered a problem.

The console would not start in the qemu client, Spyder alerting that iPython
7.31.1 & qtconsole 5.3.0 are not installed, even though they are ! After a
reboot I still faced the same problem.

On my main desktop (which hosts qemu), I got the same alerts...but the console
started. I tested some python code I worked on the day before, and it still
works fine. So the alerts do not prevent Spyder from functioning normally.




Here are the error messages from Spyder :

# Mandatory:
IPython >=7.31.1 : 7.28.0 (NOK)
qtconsole >=5.3.0;<5.4.0 : 5.1.1 (NOK)


Traceback (most recent call last):
  File "/home/horses/.local/lib/python3.9/site-
packages/qtconsole/base_frontend_mixin.py", line 138, in _dispatch
    handler(msg)
  File "/usr/lib/python3/dist-
packages/spyder/plugins/ipythonconsole/widgets/namespacebrowser.py", line 212,
in _handle_execute_reply
    super(NamepaceBrowserWidget, self)._handle_execute_reply(msg)
  File "/home/horses/.local/lib/python3.9/site-
packages/qtconsole/jupyter_widget.py", line 191, in _handle_execute_reply
    self._show_interpreter_prompt(number)
  File "/home/horses/.local/lib/python3.9/site-
packages/qtconsole/jupyter_widget.py", line 382, in _show_interpreter_prompt
    self._show_prompt(self._make_in_prompt(number), html=True)
  File "/usr/lib/python3/dist-
packages/spyder/plugins/ipythonconsole/widgets/debugging.py", line 654, in
_show_prompt
    super(DebuggingWidget, self)._show_prompt(prompt, html, newline,
TypeError: _show_prompt() takes from 1 to 4 positional arguments but 5 were
given



I googled this, read some bug reports, some forum discussions, but did not find
any solution.


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US:ja
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spyder depends on:
ii  python3         3.9.2-3
ii  python3-spyder  5.3.0+dfsg1-7

spyder recommends no packages.

Versions of packages spyder suggests:
pn  python3-spyder-unittest  <none>

Versions of packages python3-spyder depends on:
ii  ipython3                   7.31.1-1
ii  libjs-jquery               3.6.0+dfsg+~3.5.13-1
ii  libjs-mathjax              2.7.9+dfsg-1
ii  pyflakes3                  2.4.0-2
ii  pylint                     2.12.2-1
ii  python3                    3.9.2-3
ii  python3-atomicwrites       1.4.0-2
ii  python3-autopep8           1.6.0-1
ii  python3-chardet            4.0.0-2
ii  python3-cloudpickle        2.0.0-1
ii  python3-cookiecutter       1.7.3-1
ii  python3-diff-match-patch   20200713-2
ii  python3-docutils           0.17.1+dfsg-2
ii  python3-flake8             4.0.1-2
ii  python3-intervaltree       3.0.2-1.1
ii  python3-ipython            7.31.1-1
ii  python3-jedi               0.18.0-1
ii  python3-jellyfish          0.8.9-1+b1
ii  python3-jsonschema         3.2.0-5
ii  python3-keyring            23.5.0-1
ii  python3-mccabe             0.6.1-3
ii  python3-nbconvert          6.4.4-1
ii  python3-numpydoc           1.2.1-1
ii  python3-parso              0.8.1-1
ii  python3-pexpect            4.8.0-2
ii  python3-pickleshare        0.7.5-5
ii  python3-pkg-resources      59.6.0-1.2
ii  python3-psutil             5.9.0-1
ii  python3-pycodestyle        2.8.0-2
ii  python3-pydocstyle         6.1.1-1
ii  python3-pygments           2.11.2+dfsg-2
ii  python3-pyls-spyder        0.4.0-2
ii  python3-pylsp              1.4.1-2
ii  python3-pylsp-black        1.2.1-1
ii  python3-pyqt5              5.15.6+dfsg-1+b2
ii  python3-pyqt5.qtwebengine  5.15.5-1+b1
ii  python3-qdarkstyle         3.0.2+ds1-1
ii  python3-qstylizer          0.2.1-2
ii  python3-qtawesome          1.1.1-1
ii  python3-qtconsole          5.3.0-2
ii  python3-qtpy               2.0.1-2
ii  python3-rope               1.0.0-1
ii  python3-rtree              1.0.0-1
ii  python3-setuptools         59.6.0-1.2
ii  python3-sphinx             4.5.0-3
ii  python3-spyder-kernels     2.3.0-1
ii  python3-textdistance       4.2.2-4
ii  python3-three-merge        0.1.1-4
ii  python3-watchdog           2.1.7-1
ii  python3-xdg                0.27-2
ii  python3-zmq                22.3.0-1+b1
ii  spyder-common              5.3.0+dfsg1-7
ii  yapf3                      0.32.0-1

python3-spyder recommends no packages.

Versions of packages python3-spyder suggests:
pn  cython3             <none>
ii  python3-matplotlib  3.5.1-2+b1
ii  python3-numpy       1:1.21.5-1
ii  python3-pandas      1.3.5+dfsg-4
ii  python3-pil         9.0.1-1
ii  python3-scipy       1.7.3-2
ii  python3-sympy       1.9-1

Versions of packages python3-pyqt5 depends on:
ii  libc6                             2.33-7
ii  libgcc-s1                         12-20220428-1
ii  libpython3.10                     3.10.4-1
ii  libqt5core5a [qtbase-abi-5-15-2]  5.15.2+dfsg-16+b1
ii  libqt5dbus5                       5.15.2+dfsg-16+b1
ii  libqt5designer5                   5.15.2-5+b1
ii  libqt5gui5                        5.15.2+dfsg-16+b1
ii  libqt5help5                       5.15.2-5+b1
ii  libqt5network5                    5.15.2+dfsg-16+b1
ii  libqt5printsupport5               5.15.2+dfsg-16+b1
ii  libqt5test5                       5.15.2+dfsg-16+b1
ii  libqt5widgets5                    5.15.2+dfsg-16+b1
ii  libqt5xml5                        5.15.2+dfsg-16+b1
ii  libstdc++6                        12-20220428-1
ii  python3                           3.9.2-3
ii  python3-pyqt5.sip                 12.9.1-1

-- no debconf information


More information about the debian-science-maintainers mailing list