I am currently experiencing a serious technical issue with my experiment. Although my experiment runs smoothly and without any problems locally in PsychoPy, it consistently fails to run on Pavlovia after syncing. Here is a detailed description of the problem:
When I try to run the experiment on Pavlovia, I receive the following error message:
Unfortunately we encountered the following error:
TypeError: tt().i18n.detectLanguage is not a function. (In ‘tt().i18n.detectLanguage(c)’, ‘tt().i18n.detectLanguage’ is undefined)**
Try to run the experiment again. If the error persists, contact the experiment designer.
Additionally, I am sometimes encountering a 403 Forbidden error.
When I check the synced project files on Pavlovia, I notice that the index.html
file is completely empty after syncing. No proper HTML structure appears.
To solve the issue, I have already tried multiple steps:
I downgraded PsychoPy to version v2024.1.0 , but the problem persisted.
I then upgraded back to v2024.2.4, but still encountered the same error.
I manually edited the JavaScript files and created a custom index.html
file myself.
Despite all these efforts and spending several hours troubleshooting, the issue remains unresolved.
To date, I have recreated and rebuilt the entire project from scratch four times , but the same problem keeps occurring.
Also I have only text, sliders, keyboard componant.
I would greatly appreciate it if someone from your technical team could assist me, as I am under significant time pressure and have already invested extensive effort into solving this independently.
Please let me know if you require any additional information, project files, or access to the GitLab repository.
Thank you very much for your time and support.
Kind regards,
Mahsa