Online syncing error

I get this error when syncing to Pavlovia from the Builder.
Description of the problem:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 1320, in onPavloviaSync
self.fileExport(htmlPath=htmlPath)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 759, in fileExport
target=“PsychoJS”)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 73, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 242, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 214, in makeTarget
script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 242, in writeScript
entry.writeInitCodeJS(script)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\routine.py”, line 140, in writeInitCodeJS
thisCompon.writeInitCodeJS(buff)
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components\text_init
.py", line 174, in writeInitCodeJS
depth = -self.getPosInRoutine()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components_base.py”, line 562, in getPosInRoutine
routine = self.exp.routines[self.parentName]
KeyError: ‘pptleftside’

Do you have a routine or component called pptleftside?

Did you previously call it something else?

I’ve come across this and found that I could sync if I changed the name back to what it was previously. You might be able to change it again later.

That was weird, but yes if I change the name of that routine, it works fine now!