URL of experiment: N/A
OS: Linux Debian 12
Python: 3.8, 3.10
wxPython: 4.2.0, 4.2.1, 4.2.2
PsychoPy version : 2024.2.1
In the Builder, none of the Pavlovia commands, except login, work – whether accessed from the Pavlovia.org menu or from the buttons. Everything leads to the program crashing with a segmentation fault, sometimes, but not always, preceded by a GTK warning/error message combo:
GLib-GObject-WARNING **: [timestamp]: invalid cast from 'GtkMenuItem' to 'GtkImageMenuItem'
Gtk-CRITICAL **: [timestamp]: gtk_image_menu_item_set_image: assertion 'GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed
I don’t have any experiments at Pavlovia yet but am trying to upload one which runs ok locally, both in PsychoPy and in a browser.
Any ideas what could be the problem (and its remedy )?
Continued…
Setting
WEBKIT_DISABLE_DMABUF_RENDERER=1
before starting Psychopy got me a little further, I could e.g. begin the creation of a new project – but always at some point Psychopy crashes, now with this error on a machine with NVIDIA graphics:
Thank you! I know, and I have done so in the meantime.
The reason why I would like to get to the bottom of this little problem is that I am going to demo PsychoPy and Pavlovia to colleagues and it would be nice to also include the built-in syncing functionality instead of only saying “this will probably work on your Windows and Mac computers but I can’t show it to you”…
But as you point out, it’s not fatal to getting my experiments online.
OS: Arch linux
Python: 3.10 in a conda environment
Psychopy: 2024.2.4 pypi_0 pypi
wxpython: 4.2.2 pypi_0 pypi
I am in a very similar situation of Stefan. I followed the tutorial on Pavlovia yesterday and at the moment of the creation of the project on Pavlovia of one of the Demo provided, Psychopy crash with a segmentation fault error.
If I run the demo locally I have this errors:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
and this:
import urllib3
ModuleNotFoundError: No module named 'urllib3'
################ Experiment ended with exit code 1 [pid:287929] ################
urllib3 is installed in the environment via pip:
urllib3 1.26.14
How can I further troubleshoot the two problems for a solid installation in linux? Possibly on a conda environment?
If I was wrong in posting in the same thread, just let me know, and I will open a new one
perhaps you really should start one or more separate threads since you seem to have some extra problems, like being unable to run the demo locally.
Also, which demo are you talking about? I could try and see if I run into similar problems with my non-Conda Linux installation.