Hi Michael,
thanks so much for your help.
Here is the complete error report
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Program Files\PsychoPy\lib\runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 253, in
compileScript(args.infile, args.version, args.outfile)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 242, in compileScript
thisExp = _getExperiment(infile, version)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 137, in _getExperiment
thisExp = experiment.Experiment()
File “C:\Users\rwolm\AppData\Roaming\psychopy3\versions\psychopy\experiment_experiment.py”, line 89, in init
settingsComp = getComponents(fetchIcons=False)[‘SettingsComponent’]
File "C:\Users\rwolm\AppData\Roaming\psychopy3\versions\psychopy\experiment\components_init.py", line 153, in getComponents
if hasattr(module, ‘file’) and module.file.endswith(‘.pyc’):
AttributeError: ‘NoneType’ object has no attribute ‘endswith’
Running: C:\Users\rwolm\OneDrive\Desktop\Bianca Francesca\empathy - Copy_lastrun.py
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
136.8279 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
136.8320 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
136.8399 EXP Imported VAS.xlsx as conditions, 6 conditions, 1 params
136.8400 WARNING duplicate variable names: empathymovies
136.8485 INFO Loaded monitor calibration from [‘2022_07_02 13:30’]
136.8923 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
136.8964 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
136.9007 EXP Imported VAS.xlsx as conditions, 6 conditions, 1 params
136.9008 WARNING duplicate variable names: empathymovies
Traceback (most recent call last):
Hello from the pygame community. Contribute - pygame wiki
9.1511 WARNING launchHubServer: If using the iohub mouse or eyetracker devices, fullScr should be True.
File “C:\Users\rwolm\OneDrive\Desktop\Bianca Francesca\empathy - Copy_lastrun.py”, line 489, in
movie.stop()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movies_init_.py”, line 346, in stop
self._player.stop(log=log)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movies\players\ffpyplayer_player.py”, line 831, in stop
raise RuntimeError(“Cannot close stream, not opened yet.”)
RuntimeError: Cannot close stream, not opened yet.
[ffpyplayer_abuffersink @ 000001e527b70140] Removing channel layout 0x3, redundant with 2 channels
1.7275 WARNING Monitor specification not found. Creating a temporary one…
[ffpyplayer_abuffersink @ 000001e527b6f340] Removing channel layout 0x3, redundant with 2 channels
################# Experiment ended with exit code 1 [pid:9976] #################
182.5773 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
182.5816 EXP Imported empathymovie.xlsx as conditions, 5 conditions, 1 params
182.5858 EXP Imported VAS.xlsx as conditions, 6 conditions, 1 params
182.5858 WARNING duplicate variable names: empathymovies
182.5881 INFO Loaded monitor calibration from [‘2022_07_02 13:30’]