URL of experiment: https://run.pavlovia.org/juhojo/pilot-experiment-01/html
NOTE: Experiment is “In Piloting” and likely not visible.
Description of the problem: I am attempting to launch my locally working experiment online. There seems to be some issues with the server that is dedicated to my project (or a container) as the Builder is able to push the project to git (and generate some .html / .js files) but the server is unable to serve the project. This is likely caused by an image set I use. The images are quite large in size and I assume that the server does not have enough resources to handle them adequetly.
What are the specs of the servers? Are there obvious limitations for a set of images. My experiment has 60 images that are 1 - 5 MB in size each.
Additionally, if there are no obvious limitations, do you have any suggestions where I should begin solving the issue I have?
Further info:
The Dashboard/Experiment page has a grayed out “Run” button.
The Explore navigation finds the project but when ran it displays the “We could not find a record for experiment designer: undefined” error
The Builder “Run the study online (with pavlovia.org)” button will eventually open a 404 page (the url of the experiment above)
Deploy Log:
Generating PsychoJS script...
1170.0266 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
Alert 4210:JavaScript Syntax Error in 'Begin JS Experiment' tab. See 'Line 1: Unexpected token' in the 'Begin JS Experiment' tab.
For further info see https://psychopy.org/alerts/4210.html
Alert 4210:JavaScript Syntax Error in 'Begin JS Experiment' tab. See 'Line 1: Unexpected token' in the 'Begin JS Experiment' tab.
For further info see https://psychopy.org/alerts/4210.html
1209.3476 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
1222.4407 ERROR Line 118: Unexpected token in pilot-experiment.js
1223.6853 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
1261.5695 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
1274.2103 ERROR Line 110: Unexpected token in pilot-experiment-legacy-browsers.js
Line 118 of pilot-experiment.js is valid JS:
next_trial = new core.Keyboard({psychoJS: psychoJS, clock: new util.Clock(), waitForStart: true});
Line 110 of pilot-experiment-legacy-browsers.js is valid JS:
next_trial = new core.Keyboard({psychoJS: psychoJS, clock: new util.Clock(), waitForStart: true});
The lines of code in each file are the same.
psychoJS
has been successfully instantiated and initialized with its constructor at the beginning of the document.
new util.Clock()
constructor has been used before successfully.
I have created another keyboard with different name earlier. Are the keyboard objects somehow singletons and hence it would yield the error above?
Update 1.
I removed some essential blocks of code and it now compiles without errors. However, this does not solve the issue that the project simply cannot be run.
Generating PsychoJS script...
5295.8694 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
5334.3141 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
5348.7536 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
5388.9580 EXP Imported \\***\***\***\***\PsychoPy\pilot-experiment\conditions.xlsx as conditions, 60 conditions, 2 params
Pulling changes from remote...
Already up to date.
done
Pushing changes from remote...
done
Successful sync at: 15:32:01, took 31.540s5536.2565 INFO Successful sync at: 15:32:01, took 31.540s
Thanks in advance.
EDIT 15:33 16.03.2020 - Fix image sizes