[Debian-med-packaging] Bug#1095849: unusable: silently crashes + missing depends + incompatible with pyglet we have?

Yaroslav Halchenko debian at onerussian.com
Wed Feb 12 18:19:37 GMT 2025


Package: psychopy
Version: 2023.2.4+dfsg-3
Severity: important

Tried to start but 

    ❯ psychopy
    ❯ echo $?
    1

    ❯ psychopy --firstrun
    ❯ echo $?
    1

    ❯ psychopy --coder
    ❯ echo $?
    1

only stracing I found that there is now a log file where it dumps its errors

    ❯ cat /home/yoh/.psychopy3/last_app_load.log
    Traceback (most recent call last):
      File "/usr/bin/psychopy", line 8, in <module>
        sys.exit(main())
                 ~~~~^^
      File "/usr/lib/python3/dist-packages/psychopy/app/psychopyApp.py", line 99, in main
        start_app()
        ~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/psychopy/app/psychopyApp.py", line 27, in start_app
        _ = startApp(showSplash=showSplash)  # main loop
      File "/usr/lib/python3/dist-packages/psychopy/app/__init__.py", line 83, in startApp
        from psychopy.app._psychopyApp import PsychoPyApp
      File "/usr/lib/python3/dist-packages/psychopy/app/_psychopyApp.py", line 59, in <module>
        from .utils import FileDropTarget
      File "/usr/lib/python3/dist-packages/psychopy/app/utils.py", line 39, in <module>
        from . import pavlovia_ui
      File "/usr/lib/python3/dist-packages/psychopy/app/pavlovia_ui/__init__.py", line 19, in <module>
        from .functions import *
      File "/usr/lib/python3/dist-packages/psychopy/app/pavlovia_ui/functions.py", line 11, in <module>
        from ._base import PavloviaMiniBrowser, PavloviaCommitDialog
      File "/usr/lib/python3/dist-packages/psychopy/app/pavlovia_ui/_base.py", line 10, in <module>
        import wx.html2
    ModuleNotFoundError: No module named 'wx.html2'
    0.2846 	DEBUG 	Opening message catalog /usr/lib/python3/dist-packages/psychopy/localization/../app/locale/en_US/LC_MESSAGE/messages.mo for locale en_US

which comes from python3-wxgtk-webview4.0 which I installed to address that one. Trying again produced another error in that file:

	0.0747  DEBUG   Opening message catalog /usr/lib/python3/dist-packages/psychopy/localization/../app/locale/en_US/LC_MESSAGE/messages.mo for locale en_US
      ...
	  File "/usr/lib/python3/dist-packages/psychopy/visual/shape.py", line 34, in <module>
		from psychopy.contrib import tesselate
	  File "/usr/lib/python3/dist-packages/psychopy/contrib/tesselate.py", line 48, in <module>
		from pyglet.gl import (
		...<7 lines>...
		)
	ImportError: cannot import name 'gluErrorString' from 'pyglet.gl' (/usr/lib/python3/dist-packages/pyglet/gl/__init__.py)
	1.9067  WARNING         Monitor specification not found. Creating a temporary one...

which might be due to incompatibility with available version of pyglet?  the one I have is 2.0.17+ds-3.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable-updates'), (100, 'stable-security'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.7-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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 psychopy depends on:
ii  fonts-dejavu-core                2.37-8
ii  fonts-open-sans                  1.11-2
ii  python3 [python3-supported-min]  3.13.1-2
ii  python3-arabic-reshaper          3.0.0-1
ii  python3-astunparse               1.6.3-2
ii  python3-bidi                     0.4.2-8
ii  python3-configobj                5.0.9-1
ii  python3-cryptography             43.0.0-1
ii  python3-freetype                 2.5.1-1
ii  python3-gevent                   24.11.1-1
ii  python3-git                      3.1.37-3
ii  python3-gitlab                   1:4.3.0-1
ii  python3-imageio                  2.37.0-1
ii  python3-jedi                     0.19.1+ds1-1
ii  python3-lxml                     5.3.0-1+b1
ii  python3-markdown-it              3.0.0-2
ii  python3-matplotlib               3.8.3-3+b1
ii  python3-msgpack                  1.0.3-3+b3
ii  python3-msgpack-numpy            0.4.8-1
ii  python3-numpy                    1:1.26.4+ds-12
ii  python3-opengl                   3.1.7+dfsg-1
ii  python3-openpyxl                 3.1.5+dfsg-1
ii  python3-pandas                   2.2.3+dfsg-5
ii  python3-parallel                 0.2.2-4
ii  python3-pil                      10.4.0-1.1
ii  python3-pkg-resources            75.6.0-1
ii  python3-psutil                   5.9.8-2
ii  python3-pyglet                   2.0.17+ds-3
ii  python3-pyqt6                    6.8.0-1+b1
ii  python3-questplus                2023.1-3
ii  python3-requests                 2.32.3+dfsg-1
ii  python3-scipy                    1.14.1-3
ii  python3-serial                   3.5-2
ii  python3-soundfile                0.12.1-1
ii  python3-tables                   3.10.2-1
ii  python3-ujson                    5.10.0-1+b3
ii  python3-vlc                      3.0.21203-1
ii  python3-websockets               14.1-1
ii  python3-wxgtk4.0                 4.2.2+dfsg-1+b1
ii  python3-xlib                     0.33-3
ii  python3-xmlschema                3.4.3-1
ii  python3-yaml                     6.0.2-1+b1
ii  python3-zmq                      26.2.0-1

Versions of packages psychopy recommends:
ii  ipython3             8.30.0-2
ii  libxxf86vm1          1:1.1.4-1+b4
ii  python3-distro       1.9.0-1
ii  python3-json-tricks  3.11.0-4
ii  python3-opencv       4.6.0+dfsg-14+b3
ii  python3-pygame       2.6.1-1+b1
ii  python3-pyglfw       2.8.0+dfsg-1
pn  python3-pyo          <none>
ii  python3-pyxid        1.0-6

psychopy suggests no packages.

-- no debconf information


More information about the Debian-med-packaging mailing list