.js files in Pavlovia don't update when syncing from Builder

Hi everyone,

I am very new to both PsychoPy and Pavlovia, but need to use them both to edit an existing experiment for my Master’s thesis. So here’s the problem:

I have an existing experiment designed in PsychoPy 2020.1.2 from a previous thesis. I need to make some changes, that is deleting a few routines and adding a few others.

The experiment won’t run locally on my laptop, since the woman who designed it didn’t really have a clue what she was doing either, and once she made all the changes to the PsychoPy project to upload it to Pavlovia (basically the Python → JS conversions), it worked there (because of JS) but not locally in PsychoPy. Now I am trying to make changes in PsychoPy Builder, but everytime I wanna check if they worked, I have to sync it with Pavlovia to run it online.

The problem:

Pavlovia does not update my .js files once I sync the changes in Builder, only the .psyexp, so it only runs the old version. How can I tell Pavlovia it needs to update the html folder as well?

I tried clearing my cache as well as downgrading to the same version as the original experiment, but without success.

Any help would be greatly appreciated!

Dear Caro,

it is best advised to have a version running locally. It is not really clear to me whether, your current experiment runs locally. When PsychoPy does not run locally, it does generate a (probably) functioning JS-file. So you might want to check this first. See the crib sheet to solve PsychoPy to PsychoJS problems.

To resolve sync-problems you can delete the online project, delete the .git folder and .gitignore file and create a new project, best using a different project name (see also the crib sheet).

If you need more help, you might want to either give access to your online project or upload a toy version of your experiment along with stimuli needed.

Best wishes jens