Issue with auto js

Hello,
I am trying to create a new project with same files. I am just pasting the routines from my working experiment to the new experiment. Though this was working it doesn’t translate it to js in the new experiment for some reason. What could be the problem ?

Thank you very much

Are you using Python 3.10?

The autoTranslate has issues with nested indices which is why I still use Python 3.8

The workaround would be to set index1=int(len(spotSace)*.25 and index2=int(len(spotSace)*.75in the previous line2.

Oh okay I’ll just delete this one and download 3.8 then thank you very much!