JATOS study resulting in blank white browser page
Hello everyone!
For my thesis I decided to create an online study using OSWeb and JATOS.
The implementation worked out pretty well and my professor organized a Linux Redhat server from our university.
However, we're experiencing some problems now. Whenever we try to run the study (directly on our own JATOS server or via a worker link) the experiment doesn't start but only shows a blank white browser page and nothing happens.
Here is what we did so far:
1.) I created the study using OpenSesame (v3.2.8); the study displays 210 images to participants, images are in the file pool
2.) I exported the study directly as a .zip file using the OSWeb exportation tool in OpenSesame
3.) I already imported the study on the JATOS tryout server and it works perfectly fine there
4.) We also tried out some other example studies on our own server which seem to work fine as well
But:
5.) We imported the study on our own JATOS server (which is being administered by my professor) and here the described problem occurs; somehow we just don't get the study to start ...
Any idea what we could have done wrong here? Maybe an error with the study_assets_root folder or loading the images?
We found that JATOS properly creates the assets folder of the OSWeb experiment with a long cryptic name such as "a89ed34bdd..." and it also contains some subfolders like css, img, js, an index.html and the OpenSesame experiment file. Img only contains opensesame.png and warning.png.
Do we maybe have to add the images manually somewhere?
If you need any more details, please tell me. Maybe you could help us out :)
Ultimately, we plan to write the study up as a paper and we would love to give both OSWeb and JATOS some credit for the amazing work.
Thanks very much in advance,
Cheers!
Lenny
Comments
Hi Lenny,
I like that your professor set up your JATOS server with Linux - not many professors would do this (or can do this) :D .
I have 2 questions:
We found that JATOS properly creates the assets folder of the OSWeb experiment with a long cryptic name such as "a89ed34bdd..." and it also contains some subfolders like css, img, js, an index.html and the OpenSesame experiment file. Img only contains opensesame.png and warning.png.
I don't know your experiment nor OSWeb very much, but you told me that you have around 200 images. Your images should be in the file system somewhere. My first guess would be, like probably guessed too, in the img folder. But I don't know much about OSWeb - so many it stores it somewhere else. But if missing images are the cause for your broken experiment, then there should be errors in the browser's console when you try to run the experiment. What does your browser's console say?
Do we maybe have to add the images manually somewhere?
No.
Best,
Kristian
Hi Kristian,
Thanks for the quick reply!
You're right, that's pretty cool :D
To answer your questions:
True! So I can't find them listed anywhere, but we thought that OSWeb might just put them somewhere in the study_assets_root subfolder that is created when you import a .zip study in JATOS.
Img only contains opensesame.png and warning.png.
Maybe someone of OSWeb knows if that's correct? Should we see the image files somewhere?
Thanks for your help! :)
Lenny
Hi Lenny,
Hm. You said it runs on cortex.jatos.org, so your study's zip must contain the files (incl images) somewhere.
Seeing your errors I somehow assume OSWeb doesn't get to the part where it loads the images because it's not properly loaded itself (at all?).
But you said you successfully tried to run an example study from http://www.jatos.org/Example-Studies.html, right? So, then JATOS does deliver asset files. Weird! Did you try the OSWeb example studies 'Attentional Capture' and 'Lexical Decision' on your server?
Best
Kristian
Hi Kristian,
Hm. You said it runs on cortex.jatos.org, so your study's zip must contain the files (incl images) somewhere.
Correct!
Oh okay, so it may not be a problem concerning the images, but rather loading experiments in general.
I tested out some examples:
However, with the latter I couldn't upload by simply importing it; only worked through cloning + exporting (locally) and then importing to the server (see error message).
Hope that helps to narrow down the problem a bit.
So I'm thinking maybe there's something wrong with our server in general here?
Cheers!
Lenny
NOTE:
Surprisingly 'Perceptual Metacognition' and 'Invaders with Phaser' examples run fine!
Please ignore the last error message. We already had the Go-/No-Go Task earlier on our server for testing purposes :)
Surprisingly 'Perceptual Metacognition' and 'Invaders with Phaser' examples run fine!
This gets weirder and weirder!
Just to sum it up for me:
Hm, this doesn't make sense to me!
What does your JATOS' log say? You can access it (if you are a JATOS admin) via the URL https://my-jatos-domain/jatos/log?limit=100000 (you can change the limit to show more lines).
Kristian
Yes, all correct! It's really strange ...
Seems like we have a problem with accessing some files, right?
I also added the complete file with placeholders for email adresses if you need it :)
Very thankful for any tips!
Lenny
I tried to upload the whole file yesterday but it needs some time for verification now.
And by the way, I tested out the study on my DigitalOcean Droplet and it works great there!
So maybe a directory problem with our server?
Thanks :)
Lenny
Sorry for answering so late (I had a lot to do and to be honest I'm out of ideas and needed some time to think about your problem).
I stumbled over this in your log `StudyAssets - .versioned`. It's for quite some time now that StudyAssets has a method called 'versioned'. May I ask what JATOS version you run on your server?
Kristian
Hi Kristian,
No worries, same here!
Due to deadlines we now switched to the easier cloud solution.
Thank you for all the effort, really appreciate your support!
Cheers :)
Lenny
You are welcome!
Kristian