OS (e.g. Mac OS 10.14):
PsychoPy version (e.g. 2022.2.5):
**Standard Standalone? y
**What are you trying to achieve?:
Control an outer loop
**What did you try to make it work?:
Trying to attach an Excel file to control the loop. The Excel file was written by R package openxlsx using openxlsx:write.xlsx(). My workaround for now is using a csv file, which works fine. Interestingly, an Excel file for inner loop control also written using openxlsx::write.xlsx() works fine.
What specifically went wrong when you tried that?:
I got an error message Something went wrong…please report to the developers, which I’m doing with this post. I’m attaching the excel file at the bottom in case it helps debugging.
Traceback (most recent call last):
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/dialogs/init.py“, line 1531, in onBrowseTrialsFile
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/data/utils.py“, line 356, in importConditions
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/openpyxl/reader/excel.py“, line 315, in load_workbook
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/openpyxl/reader/excel.py“, line 280, in read
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/openpyxl/reader/excel.py“, line 255, in read_worksheets
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/openpyxl/reader/drawings.py“, line 24, in find_images
File „zipfile.pyc“, line 1475, in read
File „zipfile.pyc“, line 1514, in open
File „zipfile.pyc“, line 1441, in getinfo
KeyError: „There is no item named ‚xl/drawings/drawing1.xml‘ in the archive“
Exp4_blocks_1.xlsx (6.4 KB)