#1095849 unusable: silently crashes + missing depends + incompatible with pyglet we have?

#1095849#5
Date:
2025-02-12 18:19:37 UTC
From:
To:
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.

#1095849#12
Date:
2026-03-03 22:03:49 UTC
From:
To:
Yaroslav Halchenko, on 2025-02-12:

I have not run into this problem when working on the upgrade to
version 2026.1.0, so I'm confident that the newer upstream
version will be suitable to close this issue and plan to adjust
the d/changelog accordingly.

Have a nice day,  :)