sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,296
- Last Active
- Roles
- Administrator
Comments
-
Hi @Jarrod@Jarrodhollis , It looks like you've copy-pasted a complete PsychoPy script into an inline_script item. However, that's not (exactly) the way to go, because the script currently does several things that you don't want it to do, such as in…
-
Hi @zohar , The issue is that variables that are defined in one inline_javascript item are not available in others, with the exception of a number of globally available variables, such as vars . You can read more about that here: https://osdoc.cogs…
-
Hi @kri , The reason that things go wrong (if I'm correct) is that jatos.endStudyAndRedirect() is executed in an inline_javascript item that is part of the experiment. And once this function is called, the connection with JATOS is over, right? Tha…
-
Hi @jmplym and @kri , I found out that this solution, i.e. explicitly calling jatos.endStudyAndRedirect() , has the unfortunate side-effect of bypassing the data transfer that happens at the end of the experiment. Data is also stored incrementally, …
-
Hi @Valeebarons , Are you trying to register a function by calling win.callOnFlip() and then accidentally passing a string rather than a function to it? — Sebastiaan
-
Hi @plex84 , Are you referring to the PsychoPy voicekey class (which you can use in OpenSesame as well)? I don't have experience with this, but when it comes to precision there is no general yes or no answer. It depends on: what you consider precise…
-
Hi @bbkm , Just to clarify: the OpenSesame runtime for Android is no longer maintained, and only still works on very old devices. So don't use that! You can, however, run OSWeb experiments in Android through the browser. And then you can use the win…
-
Hi @zohar , It sounds like there's a reference to a variable called background that is undefined. However, why that only results in an error with OSWeb and not when running the experiment on the desktop is impossible to tell without actually seeing…
-
Hi @MiaLa , You're using a fairly old version of OpenSesame. As a first step, I would see if this issue still persists with the latest version (currently 3.3.9). It is likely an issue with memory not being freed up by one of the underlying libraries…
-
I'm closing this is a duplicate of this discussion. In the future, please don't start multiple discussions for the same question!
-
I'm closing this is a duplicate of this discussion. In the future, please don't start multiple discussions for the same question!
-
Hi @zach_researcher , I suspect that this is the same security issue that you ran into before. The reason that it also affects Google Chrome on the iPad (but not on other platforms) is that the iPad version of Google Chrome uses the same technology …
-
@JelleStudentRug I see what you mean, yes. I'm not sure whether this has the same origin as before, but I'll look into it and file an issue for it. Thanks!
-
Hi @Valeebarons , If the error indeed originates from win.flip() then this means that somewhere a str is assigned to this (win.flip = 'a string'), so that what should be a function has become a str . But are you sure that the error originates fro…
-
Hi @Paul_Warren , Thanks for pointing this out. We'll update the docs soon but for now you can download the stimuli from here: https://osdoc.cogsci.nl/3.2/attachments/iat2020/face-stimuli.zip — Sebastiaan
-
Hi @Isabel_@icoura , If you want to collect data in a browser, then the most relevant factor is whether the experiment runs as intended in a browser. And it sounds like that's the case. Why stimuli are sometimes not presented when you run the experi…
-
Hi @Open_no_no , you could take a look at this discussion: https://forum.cogsci.nl/discussion/comment/21988/#Comment_21988
-
Hi @jeboydirk , Yes, @eduard is correct: this is because the desktop version of OpenSesame only supports an older version of JavaScript/ ECMAScript. This is a limitation of js2py, the library used to transpile JavaScript to Python. This is no proble…
-
Hi @LBell4291 , A screenshot would be helpful, but then it needs to actually show the relevant parts of the code, so at least the script of the sketchpad and also the contents of the file pool. Attaching the experiment itself would be better. — Seb…
-
Hi @jing , In OSWeb, the loop items do not use a DataMatrix, but a custom JavaScript object. In principle, you can access this also programmatically. Say that you want to print out the 'matrix' for an item called block_loop: console.log(this.experim…
-
Hi @LBell4291 , Based on your description I suspect that you haven't specified the extension for the filename of the image. Probably, your images aren't called image33 etc., but image33.jpg or image33.png . If that's indeed the issue, then adding …
-
Hi @deandgei , These scripts replace the condition column in the block loop (so this column should be removed from new_loop), and the second script should be at the start of each trial, so at the start of trial_sequence_1. Looking at your loop tabl…
-
Hi @BudSpencer , The error message indicates PyGaze cannot connect to the device. There can be many reasons for this, but the most likely one is that the EyeTribe server, which is the software that PyGaze connects to, is not running. Or perhaps the …
-
Hi @deandgei , Loop constraints are not supported in OSWeb, as you probably noticed. So you need to write a script that applies these constraints for you. The general logic is always the same: Create a list (or array in JavaScript) of conditions Shu…
-
Hi @sudarshanj , OpenSesame 0.27.1 is eight (!) years old, and I wouldn't recommend using this version anymore. I suspect that you can install the latest version of OpenSesame (3.3.9 at the time of writing) also on Raspbian OS through Anaconda, whic…
-
@TOS21 That's perfect, thanks! I elaborated on this in this discussion.
-
Hi @tansu , It looks like the file is corrupted, i.e. it is not a valid OpenSesame experiment file. This can happen for any number of reasons. Maybe you can upload it here and then I can see if it can be recovered? Alternatively, you can also see if…
-
Thanks @kri and @elisa ! I added some information about this to documentation. https://osdoc.cogsci.nl/3.3/manual/counterbalancing/#using-batch-session-data-jatos-and-osweb-only Imagine somebody wants to test 300 people.. it will be annoying to have…
-
Hi @mbcerul4 , The experiment will run for a certain number of loops (around 11 loops out of 20), then an error will appear "Status_Access_Violation" and it will fail. Do you see a more detailed error message in the developer console? http…
-
Hi @Ari422 , Ah I see! The error message basically says it all: you've listed 'none' as one of the allowed keys in the keyboard_response items, but there's no such key. (On the desktop this doesn't give an error because the desktop runtime simply i…