Bug#1033593: spyder: does not allow running profiler and says "Please install the Python profiler modules"

Patrick Zanon neant at libero.it
Mon Mar 27 22:34:27 BST 2023


Package: spyder
Version: 5.4.2+ds-5
Severity: important
X-Debbugs-Cc: neant at libero.it


Dear Maintainer,

I'm trying to use spyder's profiling tools, but when I try to run code with the
profiler, the menu item is greyed out. Also if I enable profiler pane display, 
Spyder says "Please install python profiler modules".

In my installation I have:
   * python3 which provides the python-profiler virtual package
   * python3-line-profiler
   * python3-p profile

If I try to run the "import cProfile" line it's fine with no errors; same goes 
if I run "import profile".

I would expect to be able to run the code from both the "Run - Run profiler" 
menu item, and to be able to add files in the profiler pane, but neither of 
those things happen.

Thanks
P.Z.


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (990, 'testing-security'), (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.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 spyder depends on:
ii  python3         3.11.2-1
ii  python3-spyder  5.4.2+ds-5

spyder recommends no packages.

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

Versions of packages python3-spyder depends on:
ii  ipython3                   8.5.0-4
ii  libjs-jquery               3.6.1+dfsg+~3.5.14-1
ii  libjs-mathjax              2.7.9+dfsg-1
ii  pyflakes3                  2.5.0-1
ii  pylint                     2.16.2-2
ii  python3                    3.11.2-1
ii  python3-atomicwrites       1.4.1-1
ii  python3-autopep8           2.0.1-1
ii  python3-chardet            5.1.0+dfsg-2
ii  python3-cloudpickle        2.2.0-1
ii  python3-cookiecutter       1.7.3-2
ii  python3-diff-match-patch   20200713-2
ii  python3-docutils           0.19+dfsg-6
ii  python3-flake8             5.0.4-4
ii  python3-intervaltree       3.0.2-1.1
ii  python3-ipython            8.5.0-4
ii  python3-jedi               0.18.2-1
ii  python3-jellyfish          0.8.9-1+b4
ii  python3-jsonschema         4.10.3-1
ii  python3-keyring            23.9.3-2
ii  python3-mccabe             0.7.0-1
ii  python3-nbconvert          6.5.3-3
ii  python3-numpydoc           1.5.0-1
ii  python3-parso              0.8.3-1
ii  python3-pexpect            4.8.0-4
ii  python3-pickleshare        0.7.5-5
ii  python3-pkg-resources      66.1.1-1
ii  python3-psutil             5.9.4-1+b1
ii  python3-pycodestyle        2.10.0-1
ii  python3-pydocstyle         6.2.3-3
ii  python3-pygments           2.14.0+dfsg-1
ii  python3-pylint-venv        2.3.0-2
ii  python3-pyls-spyder        0.4.0-2
ii  python3-pylsp              1.7.1-1
ii  python3-pylsp-black        1.2.1-2
ii  python3-pyqt5              5.15.9+dfsg-1
ii  python3-pyqt5.qtwebengine  5.15.6-1
ii  python3-qdarkstyle         3.1+ds1-1
ii  python3-qstylizer          0.2.2-1
ii  python3-qtawesome          1.2.2+dfsg-1
ii  python3-qtconsole          5.4.0-1
ii  python3-qtpy               2.3.0-1
ii  python3-rope               1.7.0-1
ii  python3-rtree              1.0.1-1
ii  python3-setuptools         66.1.1-1
ii  python3-sphinx             5.3.0-3
ii  python3-spyder-kernels     2.4.2-1
ii  python3-textdistance       4.5.0-1
ii  python3-three-merge        0.1.1-4
ii  python3-watchdog           2.2.1-1
ii  python3-xdg                0.28-2
ii  python3-zmq                24.0.1-4+b1
ii  spyder-common              5.4.2+ds-5
ii  yapf3                      0.32.0-1

python3-spyder recommends no packages.

Versions of packages python3-spyder suggests:
ii  cython3             0.29.32-2+b1
ii  python3-matplotlib  3.6.3-1+b1
ii  python3-numpy       1:1.24.2-1
ii  python3-pandas      1.5.3+dfsg-2
ii  python3-pil         9.4.0-1.1+b1
ii  python3-scipy       1.10.1-2
ii  python3-sympy       1.11.1-1

Versions of packages python3-pyqt5 depends on:
ii  libc6                             2.36-8
ii  libgcc-s1                         12.2.0-14
ii  libpython3.11                     3.11.2-6
ii  libqt5core5a [qtbase-abi-5-15-8]  5.15.8+dfsg-3
ii  libqt5dbus5                       5.15.8+dfsg-3
ii  libqt5designer5                   5.15.8-2
ii  libqt5gui5                        5.15.8+dfsg-3
ii  libqt5help5                       5.15.8-2
ii  libqt5network5                    5.15.8+dfsg-3
ii  libqt5printsupport5               5.15.8+dfsg-3
ii  libqt5test5                       5.15.8+dfsg-3
ii  libqt5widgets5                    5.15.8+dfsg-3
ii  libqt5xml5                        5.15.8+dfsg-3
ii  libstdc++6                        12.2.0-14
ii  python3                           3.11.2-1
ii  python3-pyqt5.sip                 12.11.1-1

-- no debconf information



More information about the debian-science-maintainers mailing list