psychopy.org | Reference | Downloads | Github

Feedback Message $msg Error on Pavlovia Python to JS

#1

Hi everyone,

I have an experiment on Pavlovia it used to run properly until I added a Feedback message, in my computer works perfectly so I guess it could be related with the code written in Python instead of JS.

I’m really naive in Python and I have no idea about JS code:

This is my code (it’s very simple and the “message” written in spanish):

#Begin Experiment
msg=""

#Begin Routine
nCorr = trials.data[‘key_resp_t.corr’].sum() ;
nCorrp = (nCorr*100)/60;
msg = “Tuviste %i %%\n de respuestas correctas” %(nCorrp);

I wish somebody can help me

#2

Hi @TaliaRoman, click and see the link below to see if that helps: