Hi @Becca I am getting the same error using a duration variable as described in this thread. When I enter the variable called ‘MIdur’ as $MIdur
into the Duration box of an image component, the experiment won’t run and I get “SyntaxError: invalid syntax.” I’m using v2021.1.4.
Don’t suppose this was ever resolved?
EDIT: I resolved this by removing the $ as described here: Setting Text Duration to Variable Within a Loop
Still not sure why this works fine with a $ in one image component but not in another!