URL of experiment:
Description of the problem:
Hello all,
I am trying to upload my experiment to Pavlovia. I did manage to upload a previous version of the experiment a couple of weeks ago. But currently when I try to upload my experiment I get an error message. I get (almost) the same error message when trying to view the javascript code of my experiment, so I expect something to go wrong when trying to convert the python code to javascript. However, I cannot quite seem to figure out where the problem exactly lies. The error message I get is as follows:
Traceback (most recent call last):
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py“, line 1056, in findPathsInFile
File „“, line 1, in
NameError: name ‚condition‘ is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py“, line 1458, in onPavloviaRun
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py“, line 1445, in onPavloviaSync
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py“, line 846, in fileExport
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py“, line 91, in generateScript
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py“, line 229, in compileScript
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py“, line 202, in _makeTarget
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py“, line 356, in writeScript
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/flow.py“, line 390, in writeFlowSchedulerJS
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py“, line 1174, in getResourceFiles
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py“, line 1070, in findPathsInFile
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py“, line 1087, in findPathsInFile
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/data/utils.py“, line 410, in importConditions
File „/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/data/utils.py“, line 304, in _assertValidVarNames
psychopy.exceptions.ConditionsImportError: Bad name: Before start
„Parameters (column headers) cannot contain punctuation or spaces“
I am not sure how to interpret this error message. I would be very grateful for any input.