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,265
Last Active
Roles
Moderator

Comments

  • I'm sorry about the deleted users and studies. I had the impression that this installation is still in the process of installation. But nice it's working now. Best, Kristian
  • Strange, all tables there but the one. Maybe the database evolution got confused. Could you please try to set up the database anew: stop JATOS, drop the JATOS database, create it again, start JATOS. And what version is your MySQL? Best, Kristian
  • Can you log into your MySQL, into JATOS' database there and run show tables; for me? What's the output?
  • Hi Juliana! Does your MySQL runs on the same host as JATOS? If so then you can just use 'localhost'. E.g. my database configuration in production.conf looks like: # Database configuration - MySQL database # ~~~~~ db.default.url = "jdbc:mysql://…
  • Hi! Yes, you are right loading of all study results fails because there are too many data. The underlying reason is that JATOS loads (actually not JATOS but a library called Hibernate) all data first into memory and only then sends them off to the b…
  • Nice you made docs about this. It's a common question. Now we have something that we can just link.
  • Nice you could solve it :). I'll leave it here. You found an answer to your own question - maybe others can profit from it.
  • Hi Sebastiaan, What do you think about this? I think it looks fine. But let's ask @Eli for her opinion, she did several studies with counter balancing. Btw. you can use jatos.batchSession.move to move elements from one array to another: https://foru…
  • Hi Yavor, At this point I'd recommend to recover your old 3.5.5 from your backup and do a manual update. Although I'm quite curious what's causing the problems, without direct access to the server I can't say much. Best, Kristian
  • I might be mistaken but I think the Same Domain Policy doesn't stop you here, at least not if you are just playing the content (https://stackoverflow.com/a/27431853/1278769).
  • The warnings in your application.log are normal ones, nothing related. What are the warnings in the loader.log? They might be more important. Best Kristian
  • Hi Tim, I can only speak from the JATOS side here. 50k files is a lot and although JATOS could probably handle them given a strong enough server, file serving is not what JATOS is specialised in. JATOS or JavaScript (and I hope OSWeb too) don't care…
  • Hi Guy, There is no environment variable for this parameter yet that you could use for your docker. I made only the common parameters configurable via environment variables. It's not a big thing to add it for this one to but the change would only be…
  • Turning off the X-Frame-Options might help. Add this line to your conf/production.conf and restart your JATOS: play.filters.headers.frameOptions = null Best, Kristian
  • Hi Yavor, I checked your errors again and it's likely not a permission problem - I jumped to a conclusion there. It's more of a problem in JATOS that it can't correctly shutdown (for unknown reasons). Since you can run `systemctl restart` I assume …
  • Interesting: this error states a permission problem: java.lang.IllegalStateException: cannot create children while terminating or terminated Which OS are you on? How do you run JATOS (docker, systemd, proxy)? What are your JATOS users permissions? B…
  • Hi Yavor! My updates worked so far. What do JATOS' logs say? In the log folder are several log files, application.log, update.log, loader.log. Are there any errors regarding the update? Best Kristian
  • Hi guy! I guess it's this problem: https://stackoverflow.com/a/2117271/1278769. JATOS relies on cookies to pass on some data to the browser. If like in the Stack overflow post described, cookies in iframes are regarded as third party cookies and bro…
  • I try to come up with some best practices for dealing with the batch/group session and avoiding data conflicts / race conditions. So far I have: Always catch fails. A fail can happen if there is some kind of server or network problem - but also if t…
  • Another thing that might help here: in 3.5.9 we added visual feedback for the participants if there are still data being sent in the background in the end of a component. jatos.js has a background worker called httpLoop.js: one can use jatos.submitR…
  • Your example is covered in the build-in race condition protection. More detailed it looks like: 1) client 1: gets conditions from server (1, 2, 3) and randomly selects 1 2) client 2: gets conditions from server (1, 2, 3) and randomly selects 2 3) cl…
  • Hi Sebastiaan, The batch session (like the group session) handle concurrent data updates and therefore avoid race conditions already. It was actually the most difficult part in the batch session to implement. And since I'm by no means an expert in t…
  • Hi Omer! Your study should work now on jatos.mindprobe.eu. The problem was that the database's character set couldn't handle certain Unicode characters, in your case emojis. I changed the database's character set. It can handle emojis now. Best, Kri…
  • Hi Omer, I can have a look in mindprobe's JATOS. Can you give me the study ID and the rough time when those participants run the study? And if you have the study result IDs (SRID) then it's even easier for me to locate them in JATOS' log. You can fi…
  • Hi! I compared the old version (3.5.1) with the current one (3.5.9): The main difference is that in the old version jatos.addAbortButton waits with adding the button until the 'load' event is fired, while the current version just add the button righ…
  • Hi Damiano, I looked at your study. I completely failed at the task seeing those Ts or Ls in this short glimpse :D But to the problem at hand: You (or OSWeb) use jatos.appendResultData to send every 2-5 s around 5 kB result data to the JATOS server.…
  • Hi Christina, Please use the formatting for code. It makes it so much more readable ;) I just tried with my JATOS and the Batch Session seems to work fine: jatos.batchSession.set("b", "koala").then(() => console.log("Batc…
  • Hi Yvonne! Sorry for the late reply. Things are chaotic with a newborn at home right now. Let me try to summarize the issue (mostly to remind myself since this thread is already a little older). Please correct me if I'm wrong: You have your own JATO…
  • Is it possible that you reduce your logger points? I'm not super familiar with OpenSesame and I only now that a logger is the point when it send the data to JATOS. I know from other OS experiments that they often have much too many loggers. It's imp…
  • Hi Anne, you don't add this code to jatos.js - you add it to your normal JavaScript where you do the jsPsych stuff. Just put it somewhere. And don't forget to add the 'on_trial_start: myAbortButton' to your jsPsych.init. Best, Kristian