Is this related to my latest error:
ReferenceError: _thisDir is not defined
I am trying to save the number of participants in each group into a separate file.
Experiment: https://pavlovia.org/Wake/prospective-memory-ldt
Python code
summary = _thisDir + os.sep + ‘groups’
thisSum = data.ExperimentHandler(name=expName, version=’’,
extraInfo=’’, runtimeInfo=None,
originPath=None,
savePickle=False, saveWideText=False,
dataFileName=summary)
Javascript code
summary = ((_thisDir + os.sep) + “groups”);
thisSum = new data.ExperimentHandler({“name”: expName, “version”: “”, “extraInfo”: “”, “runtimeInfo”: null, “originPath”: null, “savePickle”: false, “saveWideText”: false, “dataFileName”: summary});
If I circumvent the _thisDir error by setting summary=“groups”; then I get the following error instead.
ReferenceError: data is not defined
Best wishes,
Wakefield