'expInfo' is not defined, stops PsychoPy export to Pavlovia

If you put $fileName in your loop Conditions field and then put fileName='list_'+str(expInfo['participant'])+'_.csv' in a Begin Experiment code component, you should have better luck.