Problem running Pavlovia demo experiment

OS: Mac Ventura 13.3.
PsychoPy version: 2022.2.5

What are you trying to achieve?:

I downloaded and tried to run the following demo: https://gitlab.pavlovia.org/vespr/self-paced-reading

I’m sure it’s something very basic, but from the following errors, can anyone provide quick pointers on what I need to do to get this to run? It seems like a great demo.

Best wishes,

Jade

Alert 4405: Editable textbox component textbox and keyboard component key_resp in the same routine may compete for keypresses
For more info see https://docs.psychopy.org/alerts/4405.html## Running: /Users/jsa111/Downloads/self-paced-reading-master/self-paced-reading_lastrun.py ##
570.1525 INFO Loaded monitor calibration from [‘2023_03_13 13:37’]
2023-05-11 21:25:31.796 python[52669:11798618] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/sz/318xjw916v338_77vr17s94c0000gp/T/org.opensciencetools.psychopy.savedState
2023-05-11 21:25:38.858 python[52669:11798618] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f9bbb2d7090>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-05-11 21:25:38.858 python[52669:11798618] Warning: Expected min height of view: (<NSButton: 0x7f9bbb2f3600>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-05-11 21:25:38.859 python[52669:11798618] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f9bbb2f38a0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-05-11 21:25:38.859 python[52669:11798618] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f9bbb2f6350>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
Traceback (most recent call last):
10.2592 WARNING Couldn’t measure a consistent frame rate!

  • Is your graphics card set to sync to vertical blank?
  • Are you running other processes on your computer?

11.1760 WARNING Couldn’t measure a consistent frame rate!

  • Is your graphics card set to sync to vertical blank?
  • Are you running other processes on your computer?

ioHub Server Process Completed With Code: Negsignal.SIGSEGV
File “/Users/jsa111/Downloads/self-paced-reading-master/self-paced-reading_lastrun.py”, line 96, in
ioServer = io.launchHubServer(window=win, **ioConfig)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/contrib/lazy_import.py”, line 118, in call
return obj(*args, **kwargs)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/connect.py”, line 256, in launchHubServer
return ioHubConnection(iohub_config)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/init.py”, line 296, in init
raise RuntimeError(‘Error starting ioHub server: {}’.format(self.iohub_status))
RuntimeError: Error starting ioHub server: ioHub startup failed.
################ Experiment ended with exit code 1 [pid:52669] #################

I think this is a Mac issue. Have a look at the fixes here:

Sorry to follow up so late on this. I found out that there were just some minor (javascript) typos on the Python side (e.g., ‘Math’ instead of ‘math’) such that the javascript version could online but not locally.

If you have time, Wake, I have another question about this demo. I really like the moving window and moving word types, but at least on my machine, words turn up in awkward positions (sometimes overlapping with where a previous word was, sometimes going off screan, and in the moving window type (with dashes) it sometimes indicates that there will be four words to a line, but then suddenly jumping and turning into three words or sometimes five). The code behind this is a bit complex for me, but I guess the positions and spacing are somewhat dynamically defined (i.e., rather than just printing the whole sentence and successively changing the transparency of each word at a time)? Do you have recommendations for avoiding these kind of positional jitters?

What font are you using. It needs to be Courier to calculate the positions.