Problem to synch study onto pavlovia

URL of experiment: Victoria Santos / dissertationtask1 · GitLab

Description of the problem:
Hello,
I have been trying to code to counterbalance a specific part of the study and I have finally figured it out and the study is running on PsychoPy. However, every time I try to synch the changes to Pavlovia this error message comes up and it won’t synch up to the online study:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 808, in findPathsInFile
filePath = eval(filePath)
File “”, line 1, in
NameError: name ‘group’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 1221, in onPavloviaSync
self.fileExport(htmlPath=htmlPath)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 719, in fileExport
target=“PsychoJS”)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 73, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 242, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 214, in _makeTarget
script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 223, in writeScript
self_copy.flow.writeFlowSchedulerJS(script)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\flow.py”, line 289, in writeFlowSchedulerJS
resourceFiles = set([resource[‘rel’].replace("\", “/”) for resource in self.exp.getResourceFiles()])
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 856, in getResourceFiles
condsPaths = findPathsInFile(params[‘conditionsFile’].val)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 822, in findPathsInFile
files.extend(findPathsInFile(str(condFile)))
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 839, in findPathsInFile
conds = data.importConditions(thisFile[‘abs’]) # load the abs path
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 338, in importConditions
trialList, fieldNames = _attemptImport(fileName=fileName)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 256, in _attemptImport
trialList, fieldNames = pandasToDictList(trialsArr)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 301, in pandasToDictList
_assertValidVarNames(fieldNames, fileName)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 276, in _assertValidVarNames
(fileName, msg, os.linesep * 2, name))
psychopy.exceptions.ConditionsImportError: Conditions file C:\Users\Student\Documents\Uni 3rd Year\Dissattempt\SpatialStudyB.xlsx: Parameters (column headers) cannot contain punctuation or spaces

"Similarity "

I am not sure what is wrong and any help would be appreciated! :slight_smile:

Your column called Similarity has a space after the y