Hi,
This on using the latest release version of PsychoPy (2021.1.2). When I try to run a PsychoJS task locally the experiment gets stuck on “initializing the experiment…”. The console log is as follows:
* Tone.js v14.7.61 *
core-2021.1.2.js:1 Failed to load resource: the server responded with a status of 404 (File not found)
data-2021.1.2.js:1 Failed to load resource: the server responded with a status of 404 (File not found)
util-2021.1.2.js:1 Failed to load resource: the server responded with a status of 404 (File not found)
visual-2021.1.2.js:1 Failed to load resource: the server responded with a status of 404 (File not found)
sound-2021.1.2.js:1 Failed to load resource: the server responded with a status of 404 (File not found)
This error is occurring with a freshly created experiment, with a single text element.
Checking the lib folder it seems that PsychoPy is either incorrectly generating files with the wrong name, or is trying to use the wrong name when retrieving them. The lib folder contains core-2021.1.js (not core-2021.1.2.js).
Opening up core-2021.1.js it contains:
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
Opening up a version of core from an older experiment which does work, it contains a lot more code.
I’m currently looking into this myself, and will document what I find in this thread, but any ideas would be appreciated.
Cheers,
James