If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Mac Sonoma 14.6.1 to Win10):
PsychoPy version (e.g. 2024.2.4):
Standard Standalone Installation? (y) If not then what?:
Do you want it to also run online? (yes, eventually)
What are you trying to achieve?:
I built my experiment on Mac, when I transfer to the university windows computer where the experiment will be ran from, the program crashes at the first video, which is the 4th routine within a loop (8th routine from the start of the experiment).
It does however run fine on my supervisors PC which is also windows.
What did you try to make it work?:
Removing caps from file names and excel labels to ensure lower case consistency doesn’t confuse the program.
Updated PsychPy to match the version used on my mac (2024.2.4)
Link to the most relevant existing thread you have found:
Experiment does not work on Windows 10 PC, but does on other PCs - Builder - PsychoPy
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
Experiment continues to crash at the same point.
Generating PsychoPy script…
####### Running: C:\Users\Admin\Desktop\Jasmine PsychPy\Test1_lastrun.py #######
11.1304 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.1334 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.1400 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.1431 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.1555 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.1590 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.1617 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.1650 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.1675 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.1708 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.1709 WARNING duplicate variable names: itemlist_prac, map_sequence, driving_sim, item_list, item_audio, simulation_video
11.1765 INFO Loaded monitor calibration from [‘2024_02_29 13:10’]
11.1934 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.1960 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.2052 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.2077 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.2206 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.2241 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.2269 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.2307 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.2334 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.2367 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.2367 WARNING duplicate variable names: itemlist_prac, map_sequence, driving_sim, item_list, item_audio, simulation_video
11.2410 INFO Loaded monitor calibration from [‘2024_02_29 13:10’]
11.2739 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.2765 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.2846 ERROR Failed to load component package patch
. Does it have a __init__.py
?
11.2875 ERROR Failed to load component package ratingScale
. Does it have a __init__.py
?
11.3000 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.3035 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.3062 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.3095 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.3122 EXP Imported video_stim.xlsx as conditions, 3 conditions, 4 params
11.3158 EXP Imported VisualSpat_Stim.xlsx as conditions, 12 conditions, 4 params
11.3158 WARNING duplicate variable names: itemlist_prac, map_sequence, driving_sim, item_list, item_audio, simulation_video
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
Traceback (most recent call last):
File “C:\Users\Admin\Desktop\Jasmine PsychPy\Test1_lastrun.py”, line 8128, in
run(
File “C:\Users\Admin\Desktop\Jasmine PsychPy\Test1_lastrun.py”, line 2184, in run
sound_Sequenceprac.setSound(item_audio, hamming=True)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\sound\backend_ptb.py”, line 440, in setSound
_SoundBase.setSound(self, value, secs, octave, hamming, log)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\sound_base.py”, line 209, in setSound
self._setSndFromFile(p)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\sound\backend_ptb.py”, line 446, in _setSndFromFile
self.sndFile = f = sf.SoundFile(filename)
File “C:\Program Files\PsychoPy\lib\site-packages\soundfile.py”, line 629, in init
self._file = self._open(file, mode_int, closefd)
File “C:\Program Files\PsychoPy\lib\site-packages\soundfile.py”, line 1183, in _open
_error_check(_snd.sf_error(file_ptr),
File “C:\Program Files\PsychoPy\lib\site-packages\soundfile.py”, line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode(‘utf-8’, ‘replace’))
RuntimeError: Error opening ‘itemsequence/SequenceAHigh.mp3’: File contains data in an unknown format.
40.5459 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6118 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6119 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6119 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6120 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6120 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6121 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6121 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6122 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6122 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6123 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6123 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6123 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6124 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6124 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6125 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6125 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6125 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6126 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
40.6126 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002c3551c7080] Unknown cover type: 0x1.
################# Experiment ended with exit code 1 [pid:2352] #################