Running PsychoPy tasks on Pavlovia: coder-only task (403 error) and Builder task issues

Hi everyone,

I’m trying to run several PsychoPy tasks online via Pavlovia and ran into two issues.

1) Coder-only tasks (403 Forbidden)
Some of my tasks were created only in PsychoPy Coder (no .psyexp Builder files). When I sync and try to run them on Pavlovia, I get a 403 Forbidden error.
From what I understand, Pavlovia requires HTML output generated via Builder/PsychoJS.

  • Is it correct that Coder-only tasks cannot run on Pavlovia?

  • If so, is there any workaround to run coder-only tasks online, or do they need to be recreated in Builder?

2) Builder task runs but fails during the mouse/click stage
I have one task built in Builder that does run online, but:

  • The mouse cursor is not visible during a click-response routine

  • After advancing with the spacebar, the experiment throws an error and stops

Since this task includes several Code Components with custom python codes, I was wondering if the python-only code in Code Components is causing these online errors, and what’s the best way to debug or fix this.

Thank you so much for any advice!

Hello @JKim

PsychoPy experiments cannot be run online. They are written in Python. In order to run a PychoPy experiment online, it needs to be translated into PsychoJS, which is what the Builder does when you sync your experiment with Pavlovia. Unfortunately, there is no way to get a coder coded experiment into the Builder.

What is the error?

Best wishes Jens

Hi,

Python coder tasks cannot run on Pavlovia, which uses PsychoJS, not PsychoPy. Here are some of my relevant tips.

Hello @JKim

look here

and here for debugging online experiments

Best wishes Jens