URL of experiment: Pavlovia
Description of the problem: I am trying to update some aspects of the task and then re-upload the updated version to Pavlovia. However, when I try to do this by just hitting the sync icon, it only updates the .psyexpt files and not the HTML files and I am assuming that those are what need to be updated for Pavlovia to reflect any changes.
However, when I go to File → export HTML, I am getting this error message from PsychoPy that I am not sure how to address:
Anyone know how to fix this problem so I can get my experiments up and running smoothly?
Thanks so much!
Are you checking the length of any arrays in your code components?
Could any of them be numbers instead of lists?
I don’t think so!
These are the only code components I have in my script, the rest is just using the Builder, but this could potentially have something to do with it?
Alrighty, did both of those! Thank you so much for your help by the way
Changed the variable name to “trialCounting” and removed the space in the Python code component but I don’t think it changed the JS version. Tried to export the HTML and still got the same error message could it be a PsychoPy bug or something of the sort?
Also - I went into the lastrun.py script for the experiment and searched for the “len()” function to try and see where it was used and it looks like it is only used when checking for keyboard responses like this:
But I’m not sure why that would be causing any issues?