Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

kri

About

Username
kri
Joined
Visits
1,189
Last Active
Roles
Moderator

Comments

  • Hi, Interesting. Do you want this out of privacy reasons? JATOS right now stores the start and end date (a Unix timestamp) for each component run by a participant. The same it does for the whole study. From start and end date it calculates the durat…
  • It actually helped :). Just not the on_load but the on_trial_start callback function. But this is not the only thing - I had to change jatos.js a bit this will only be part of the next release 3.5.5. (should come out in a couple days). The problem w…
  • Hi dror, Looks like you installed JATOS in a folder 'jatos' within your user's home folder. Since your user is called 'ubuntu' I guess the path to your JATOS folder is '/home/ubuntu/jatos'. But you can check that by typing 'pwd' while being in your …
  • Hi Tobias, You seem to be right. I just tried the jatos.addAbortButton with jsPsych and it was not added. Somehow jsPsych seems to prevent adding of new elements to the DOM. Weird. I have to have a closer look at this. Best, Kristian
  • Hi! This line of your logging seems to explain your problem: Jun 07 21:53:42 ip-172-31-17-88 systemd[7213]: jatos.service: Failed at step EXEC spawning /jatos/loader.sh: No such file or directory Somehow the path to the loader.sh seems to be wrong. …
  • Hi Dror, Try without the line ExecRestart=/bin/kill $MAINPID - apparently it's not supported by systemd anymore and also not necessary. And if this doesn't help we'd need more information: What did you try so far? What is the error msg? What is your…
  • Hi, You can basically put this jatos.addAbortButton() anywhere where code is executed. So right next to where you call jatos.onLoad should do fine. jatos.addAbortButton(); jatos.onLoad(function() { jsPsych.init( { // ... }); }); Best, Kri…
  • Hi penguin! Unfortunately there is no other way to edit a file right now with JATOS. We are aware that it would be a nice feature to be able to edit an HTML or JavaScript file in the browser and maybe in a future version we will add it. Best, Krist…
    in Piloting Comment by kri June 2020
  • Hi, I don't know what causes your problem that the second component doesn't start for some people, but I think your warning has nothing to do with it. This warning is just about that Chrome can't load the SourceMap for your JavaScript file (https://…
  • Nice! :D
    in Jatos offline Comment by kri June 2020
  • And I can try to answer the last question: In one component I would like to enable reload of the page in principle but give a warning nevertheless when participants do so. What will I have to to in order to achieve this? Will clicking "allow re…
    in Piloting Comment by kri June 2020
  • Hi Ivan, If I want to use AWS I have to install JATOS on my local machine so I could add the path to it according to the tutorial on the site you proceeded I don't understand this part. You don't need to install JATOS on your local computer in order…
    in Jatos offline Comment by kri June 2020
  • Hi Ivan, I think I understand: you close the terminal to your remote server (on AWS) and in this terminal you started JATOS, right? If you close a terminal all processes (including the JATOS one) are terminated. You need some kind of auto-start like…
    in Jatos offline Comment by kri June 2020
  • Hi Ivan, If you installed JATOS on AWS (or any other cloud vendor) it runs independent of your local computer (even if you have a JATOS installed on your local computer too). So turning off your local computer has no effect on your JATOS running on …
    in Jatos offline Comment by kri June 2020
  • Nice! You too! Kristian
  • Hi Lukas, So your curl output is correct (JATOS login page). That's a start. And I can see in your logs that first you could not bind your IP and port: 2020-05-31 11:37:04,474 [ERROR] - a.i.TcpListener - Bind failed for TCP channel on endpoint [/17…
  • So it's 'connection refused'. What user did you use to start JATOS on port 80? You need some kind of root to bind to port 80. A normal user won't do. And can you please post the content of logs/loader.log and logs/application.log? Kristian
  • Hi Lukas, This looks already better. JATOS starts with the correct IP and port. The unintuitive thing with AWS is that you have to use your internal IP to set up your server but access it with your public IP. Therefore in the browser you have to u…
  • Hi Lukus, I see in your screenshot from your production.conf that you did not remove the # in front of the lines of address and port. Please remove it from both lines. The # just means that it is commented out. Best, Kristian
  • Hi! First you would need to install docker and docker-compose. And then you would basically have to follow the little shell script from http://www.jatos.org/JATOS-on-DigitalOcean.html one by one. But you probably want to use a different user than ro…
  • Hi Lukas! Try with your public IP (this 18.xx.xx.xx) in your browser. The 0.0.0.0 is just a default configuration in JATOS to bind on any local IP that is there. Usually it works with 0.0.0.0 if your JATOS is locally installed but actually even ther…
  • That is a good question and there is no easy answer for this. Their are many influencing factors like local network and how your experiment is setup (how many files it loads and in which way). That said, I wouldn't expect it to be a big problem if y…
  • Hi, DNS settings can be annoying. First they do not work whatever you do - and then suddenly they do and you don't even know what of those many things you tried out was the one that helped because it takes so long for them to propagate through the …
  • Hi Christoph, The JATOS test server (cortex.jatos.org) is basically a normal JATOS server, set up on Digital Ocean with Docker, with the only difference that it resets every day once (by starting a new JATOS Docker container). I'd think if there is …
  • Hi Deiniol, What your IT departmentis refering to is probalby that the Oracle JDK is commercial these days (https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-11-trap.html). And you are completely right there are others and they are for fr…
    in JAVA JRE licence Comment by kri May 2020
  • At least it is solved now :D
  • Exactly. You could put your survey in the first component in your JATOS study and the OSWeb experiment in the second. JATOS will call them one after another (although you could also have more elaborate study flows like jumping back and forth or loop…
  • Hi Roelof, I've never tried JATOS with MariaDB. They say MariaDB is an 'drop-in replacement' for MySQL but on the other side I can see some incompatibilities to MySQL on their page: https://mariadb.com/kb/en/incompatibilities-and-feature-differences…
  • Just to be sure: I tried out an update from 3.5.3 to 3.5.4 on my local JATOS with MySQL 5.7.30 and it worked.
  • Hi mariosav, JATOS 3.5.3 should fix this. But If I remember correctly the new OpenSesame/OSWeb should fix this independently too (@sebastiaan correct?). But I agree updating JATOS while experiments are running isn't recommended. Best, Kristian