kri
About
- Username
- kri
- Joined
- Visits
- 1,265
- Last Active
- Roles
- Moderator
Comments
-
Hi, I looked again at the study logger source code and found a bug there. This bug seems to have been introduced in version 3.7.2. This bug causes the 'no data' entry in the dataHash field although result data were present. Actually it is a little b…
-
Agreed, 'jatos.submitResultData' only once. Strange. I checked JATOS source code and this should not happen. Maybe jsPsych does something unexpected. Would it be possible to send me your study? Per email (lange.kristian@gmail.com) would be fine. Or …
-
Is it possible that you call the 'jatos.submitResultData' more than once in each component (the second time with empty data)? Can you please post the code here where you use the function?
-
MySQL or H2 - there should be no difference in the 'dataHash'. Strange. Which version of JATOS are you using?
-
Yes, play.http.context in JATOS' production.conf is the way to go here. More info in this page. You can also use the command-line argument -DJATOS_URL_BASE_PATH or the environment variable JATOS_URL_BASE_PATH. Best, Kristian
-
Thank you for posting so others might profit from it. I have a question about the mysql directives in your docker-compose: The command: --init-file /app/data/init.sql is it executed with every docker-compose up? And if yes, wouldn't it try to create…
-
Hi, The 'no data' is written in the Study Log (it's not the application log - the application.log logs admin related stuff while the Study Log logs study run related stuff) when one of the result sending functions is used (e.g. jatos.submitResultDat…
-
Hi, I spend some time with docker-compose but I'm far from being an expert there. I think you don't need to define an extra network - the default network would do just fine. But it also doesn't hurt. But from looking at this doc I think you have to …
-
Hi amunn, What would be even nicer is if JATOS could output the collected runs as valid JSON itself, so that no post-processing is needed whether in R or through a script. The thing is that JATOS does not know about the format of your result data. T…
-
Hi, which version of JATOS are you on? Have you tried it with different browsers, Firefox, Chrome, Edge?
-
Hi Sheng, I just tried it with JATOS version 3.7.4 on my machine and it worked. I can't see any obvious problems in your config. My config is: $ /usr/sbin/apache2 -v Server version: Apache/2.4.52 (Ubuntu) Server built: 2022-06-14T12:30:21 and $ c…
-
I understand. Just be aware that the restart when doing an JATOS upgrade might not work and you have to restart manually. Best, Kristian
-
Just for my understanding, I'm always curious: why type=forking together with putting it in the background with & instead of type=simple and no & ? Is there some advantage? Best, Kristian
-
Hi cody, Can you please post the whole <head>? Best, Kristian
-
Hi cody, I looked at your code. It mostly looks fine but you do a turn short before you are about to finish. You have a final trial that redirects to Prolific. Here are the important parts of your code: var jsPsych = initJsPsych({ on_finish: () =…
-
Hi Jeff, How does your systemd service config look like? If I'm using the one from the docs it works with me without the '&'. I'm just concerned that this additional '&' will interfere with some potential future JATOS upgrades. But nothing s…
-
Hi cody, can you send me the General Multiple link? I'd like to check it in my browser. If you want, this is my address: lange.kristian at gmail.com. Best, Kristian
-
Hi Jeff, Great you found the problem. And now I'm curious: How did the systemd config looked like to cause this constant restart? Best, Kristian
-
Hi Becky, Yes you're right, there's something that removes the PLAY_SESSION cookie, usually after one or a few requests. I tried deleting all cookies in the browser and logging in again, but it's still happening. Does this happen with all users the …
-
Hi Jeff, This '502 Bad Gateway' is from nginx telling you that it doesn't get an response from JATOS within the time that is configured as timeout in nginx.conf. I guess you have a lot of users? Then it can take some time and server resources to get…
-
Hi, Yes, you can only access the study session after the jatos.onLoad function got called. How about you wrap everything with jatos.onLoad? <script> jatos.onLoad(() => { /* Initialize jsPsych*/ var jsPsych = initJsPsyc…
-
Sorry, it's not possible to reset or change the admin's password out of security reasons - not even other user's with Admin rights can do this. Best, Kristian
-
Thanks for posting this! Hopefully it helps others with the same problem.
-
Hi Becky, I checked the source code a NPE at this point in the code means that a component had no 'id' value. That's strange and should not happen. Can you please send me the study zip? And you said you have access to JATOS' database: Can you please…
-
Yes the study zip would help too. Kristian
-
Hi Becky, You got the same exception (the dreaded NullPointerException) but for a different reason: yours happened in the JsonUtils class, the previous one in the ComponentResultDao. The JsonUtils class does all the JSON serialization stuff includin…
-
Hi! Which browser do you use to download the results? Can you please try with Chrome? And if this doesn't help: are there error messages in the developer tools? Best, Kristian
-
Hi Becky! I have some thoughts about your problem: we're trying to upgrade from v3.3.3 to v3.6.1 Why not the latest JATOS version 3.7.4? I'm just curious. Specifically, I get the "You are not allowed to access this page. Please log in" mes…
-
Hi simamune, I just answered.