psychopy.org | Reference | Downloads | Github

Conditions file not imported properly online

URL of experiment:
run: https://run.pavlovia.org/djangraw/mmi-return/html/
code: https://gitlab.pavlovia.org/djangraw/mmi-reward

Description of the problem:
My file HighAmounts_reward.xlsx is not being imported properly online: psychojs seems to think there are no columns, when in fact there is one called “highAmount”. The console says
import attributes from: {}
where I would expect something like
import attributes from: {"highAmount":1.5}
I then receive an error resulting from the fact that the variable highAmount is undefined.

All other conditions files seem to be importing properly. This one imports properly when run locally in Python. Any idea how I can fix this?

Hi @djangraw, I have downloaded your task and ran this on PsychoPy 3.2.3 and the attributes are imported correctly, but there does seem to be an issue with 3.1.2 if you are selecting a single row from a single column in the conditions file. I think, as this has been fixed, you should rerun your study in a recent version of PsychoPy. You can either download the new version, or go to Experiment Settings, and select a newer version from the “Use version” tab, recompile your HTML and JS and resync with Pavlovia. Then,. refresh the browser cache just to make sure the old versions of the script are gone.