OS = macOS 26.6.2
PsychoPy version = (v2024.2.1)
Hello,
I have a problem with PsychoPy that nobody seems able to solve. I have a MacBook Neo (2026) and I am using PsychoPy version 2024.2.1.
I have an .xlsx file that will not open in PsychoPy.
Here is my script:
## Running: /Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py ##
168.1676 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
168.1729 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
2026-10-07 10:42:58.942 python[41690:7504754] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/fq/pjn8z6910g14pblsc24yr9_w0000gn/T/org.opensciencetools.psychopy.savedState
17.2695 WARNING Font Manager failed to load file /System/Library/PrivateFrameworks/FontServices.framework/Resources/Reserved/PingFangUI.ttc
/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/openpyxl/reader/workbook.py:84: UserWarning: File contains an invalid specification for 0. This will be removed
warn(msg)
Traceback (most recent call last):
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py”, line 610, in
run(
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py”, line 365, in run
form = visual.Form(win=win, name='form',
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 136, in _init_
self.items = self.importItems(items)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 301, in importItems
items, fieldNames = importConditions(items, returnFieldNames=True)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/data/utils.py”, line 420, in importConditions
ws = wb.worksheets\[0\]
IndexError: list index out of range
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_common.pyc”, line 508, in wrapper
File “”, line 3, in raise_from
File “psutil/_common.pyc”, line 506, in wrapper
File “psutil/_psosx.pyc”, line 375, in _get_kinfo_proc
ProcessLookupError: [Errno 3] assume no such process (originated from sysctl(kinfo_proc), len == 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “psutil/_init_.pyc”, line 355, in _init
File “psutil/_init_.pyc”, line 757, in create_time
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_psosx.pyc”, line 477, in create_time
File “psutil/_psosx.pyc”, line 354, in wrapper
psutil.NoSuchProcess: process no longer exists (pid=41690)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/iohub/start_iohub_process.py”, line 118, in
Computer.psychopy_process = psutil.Process(psychopy_pid)
File “psutil/_init_.pyc”, line 319, in _init_
File “psutil/_init_.pyc”, line 368, in _init
psutil.NoSuchProcess: process PID not found (pid=41690)
################ Experiment ended with exit code 1 [pid:41690] #################
Generating PsychoPy script…
## Running: /Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py ##
483.3167 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
483.3270 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
2026-10-07 10:48:15.157 python[41811:7508877] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/fq/pjn8z6910g14pblsc24yr9_w0000gn/T/org.opensciencetools.psychopy.savedState
17.8078 WARNING Font Manager failed to load file /System/Library/PrivateFrameworks/FontServices.framework/Resources/Reserved/PingFangUI.ttc
/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/openpyxl/reader/workbook.py:84: UserWarning: File contains an invalid specification for 0. This will be removed
warn(msg)
Traceback (most recent call last):
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py”, line 610, in
run(
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitled_lastrun.py”, line 365, in run
form = visual.Form(win=win, name='form',
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 136, in _init_
self.items = self.importItems(items)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 301, in importItems
items, fieldNames = importConditions(items, returnFieldNames=True)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/data/utils.py”, line 420, in importConditions
ws = wb.worksheets\[0\]
IndexError: list index out of range
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_common.pyc”, line 508, in wrapper
File “”, line 3, in raise_from
File “psutil/_common.pyc”, line 506, in wrapper
File “psutil/_psosx.pyc”, line 375, in _get_kinfo_proc
ProcessLookupError: [Errno 3] assume no such process (originated from sysctl(kinfo_proc), len == 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “psutil/_init_.pyc”, line 355, in _init
File “psutil/_init_.pyc”, line 757, in create_time
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_psosx.pyc”, line 477, in create_time
File “psutil/_psosx.pyc”, line 354, in wrapper
psutil.NoSuchProcess: process no longer exists (pid=41811)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/iohub/start_iohub_process.py”, line 118, in
Computer.psychopy_process = psutil.Process(psychopy_pid)
File “psutil/_init_.pyc”, line 319, in _init_
File “psutil/_init_.pyc”, line 368, in _init
psutil.NoSuchProcess: process PID not found (pid=41811)
################ Experiment ended with exit code 1 [pid:41811] #################
Generating PsychoPy script…
## Running: /Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitledtestprof_lastrun.py ##
675.1811 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
675.1880 INFO Loaded monitor calibration from [‘2026_09_15 16:07’]
2026-10-07 10:51:25.868 python[41890:7511880] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/fq/pjn8z6910g14pblsc24yr9_w0000gn/T/org.opensciencetools.psychopy.savedState
17.4981 WARNING Font Manager failed to load file /System/Library/PrivateFrameworks/FontServices.framework/Resources/Reserved/PingFangUI.ttc
/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/openpyxl/reader/workbook.py:84: UserWarning: File contains an invalid specification for 0. This will be removed
warn(msg)
Traceback (most recent call last):
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitledtestprof_lastrun.py”, line 610, in
run(
File “/Users/luisadursel/Library/Mobile Documents/com~apple~CloudDocs/Bureau/cours OMN/TP /PsychoPy/untitledtestprof_lastrun.py”, line 365, in run
form = visual.Form(win=win, name='form',
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 136, in _init_
self.items = self.importItems(items)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/visual/form.py”, line 301, in importItems
items, fieldNames = importConditions(items, returnFieldNames=True)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/data/utils.py”, line 420, in importConditions
ws = wb.worksheets\[0\]
IndexError: list index out of range
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_common.pyc”, line 508, in wrapper
File “”, line 3, in raise_from
File “psutil/_common.pyc”, line 506, in wrapper
File “psutil/_psosx.pyc”, line 375, in _get_kinfo_proc
ProcessLookupError: [Errno 3] assume no such process (originated from sysctl(kinfo_proc), len == 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “psutil/_init_.pyc”, line 355, in _init
File “psutil/_init_.pyc”, line 757, in create_time
File “psutil/_psosx.pyc”, line 349, in wrapper
File “psutil/_psosx.pyc”, line 477, in create_time
File “psutil/_psosx.pyc”, line 354, in wrapper
psutil.NoSuchProcess: process no longer exists (pid=41890)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/iohub/start_iohub_process.py”, line 118, in
Computer.psychopy_process = psutil.Process(psychopy_pid)
File “psutil/_init_.pyc”, line 319, in _init_
File “psutil/_init_.pyc”, line 368, in _init
psutil.NoSuchProcess: process PID not found (pid=41890)
################ Experiment ended with exit code 1 [pid:41890] #################