kri
About
- Username
- kri
- Joined
- Visits
- 1,265
- Last Active
- Roles
- Moderator
Comments
-
Hi Julius, if it is just about working together on a study, e.g. being all able to access the result data, you can add your students as members of the study. As members of the study they have the same rights as you have. Just go to your study -> …
-
Looks like your JavaScript objects (trial_data) weren't properly serialized to JSON. Try: jatos.appendResultData(JSON.stringify(trial_data) + ","); Best, Kristian
-
Hi, I see from your screenshots you are using jatos.uploadResultFile. By default JATOS has a limit of 30 MB for file uploads but this can be changed in the production.conf. So file size shouldn't be your problem if your files are max 7-10 MB. But I …
-
jatos.submitResultData() and jatos.appendResultData() are the functions to save data in JATOS' database. There is also jatos.uploadResultFile() if you have larger data like images or audio (https://www.jatos.org/jatos.js-Reference.html#result-data-a…
-
Yes, a newer JATOS version would help here. In v3.5.3 we added the 'httpLoop', that deals with this kind of problems. The current version is v3.6.1. Nice that you could find a solution that works for you. There is no ugly solution if it does the job…
-
You can get the version via jatos.version. Should give you back a string. (I'll answer the rest later)
-
Hi Dorian, actually, which JATOS version do you run on your server? Maybe a newer version can help here already. Best, Kristian
-
Yes you need admin rights for that.
-
Hi Dorian, It looks like you send the result data twice in quick succession. First you send it in on_finish and then second in on_close . Sending the result data once is enough (at least with jatos.submitResultData - if you want to append then use …
-
Great you solved it! I'm not an Apache expert. I never used Let's Encrypt with Apache. Maybe you are correct and this is the way to go.
-
Can you post your apache.conf?
-
If you want to use JATOS with Apache you should configure Apache to use encryption and your domain. JATOS usually runs on localhost and port 9000. Apache just forwards all traffic to JATOS. Don't configure JATOS to use your public IP or certificate.…
-
My expertise is more for JATOS and not for OSWeb: is it possible that your JATOS server doesn't allow websockets? The first error message seems to point at this and all other errors just follow. Can you check JATOS' test page if websockets work?
-
Your first question you should ask in the OpenSesame forum since you are trying their conversion tool. JATOS itself doesn't care for the format of your data as long as they are in text format, so CSV, JSON, XML are all fine. You could consider chang…
-
JATOS has already a one minute delay after three unsuccessful authentication attempts. This definitely applies for normal (database) logins. But I have to check in JATOS' source code if this applies to other methods like LDAP or OAuth as well. Will …
-
There is no configuration in JATOS to change the favicon but if you are using Apache or nginx (or similar) in front, you can set them up to deliver the favicon from some other source.
-
Nice! Hm, I'm not an LDAP expert but I thought active directory and LDAP are somehow compatible.
-
I hoped for some connection error. But that is just the error that gets logged if the authentication failed, e.g. username or password were incorrect. In your original message you wrote 'disabled SELinux' - can you elaborate on this? I'm not familia…
-
You could setup a static welcome page and then configure the URL base path to 'hide' JATOS in a path. E.g. you could have a static welcome page under https://jatos.example.org/ and then JATOS under https://jatos.example.org/whatever/. Would this hel…
-
Hi! Although they say it's possible I've never seen a server actually doing it. It's very unusual. You have to get a certificate on your IP though. Then JATOS doesn't care for it and as far as I know Nginx/Apache too. I would not recommend it. Can't…
-
Sorry, there is only one logging mode. What does your application.log say?
-
Since version 3.5.9 you can customize the home page: https://www.jatos.org/Customize-JATOS-Home-Page.html Unfortunately the login page itself is still not possible to customize. But you can have some kind of static front page (like they do with mind…
-
Either is fine
-
Hi Bo, What you describe is possible. Like you suggested I'd start with the Prisoners Dilemma example and change it to your needs. The rough study flow could look like: You need a waiting room component for 8 people When all 8 participants joined as…
-
Hi Chi, The easiest way to fix your experiment is to encompass your whole experiment, everything in startExp function, in jatos.onLoad and have the initialization of Part_ID in the beginning: function startExp() { jatos.onLoad(function () { va…
-
If you share your experiment with me I can have a look at your code. You can send me your experiments jzip if possible. Best, Kristian
-
It is a JavaScript issue. The scope of your Part_ID is limited to startExp function. You have to declare it as global variable first and then you can use it outside of startExp: var Part_ID; // global variable declaration startExp(); var condition…
-
Hi Shay, Yes, it means your study is too large. What is the file size of your jzip file (the one you want to import to JATOS)? Best, Kristian
-
Hi Bo! If I understand you correctly you want to use jatos.groupMemberId to assign a participant to a role based on it being odd or even. That's not a good idea - it will only work on your local JATOS but not on a JATOS server where there are potent…
-
Hi Chi! I took the liberty and formated your code to make it more readable. Your startExp function looks fine. When do you call assign function? Is it maybe before startExp? Then Part_ID wouldn't be initialized yet. Best Kristian