sebastiaan
About
- Username
 - sebastiaan
 - Joined
 - Visits
 - 7,296
 - Last Active
 - Roles
 - Administrator
 
Comments
- 
                Hi @kolfers , I only spotted this discussion now. Did you make any progress on this? In general, you'd need to use the MediaRecorder JavaScript API for this. But I haven't used this myself yet. https://developer.mozilla.org/en-US/docs/Web/API/Media…
 - 
                Hi @hannahl , If memory consumption reaches 70%, then this is almost certainly the cause of the Python crash. You're also using an outdated version of OpenSesame. I don't think that this is the issue, but it's still possible, so I would first update…
 - 
                I'm guessing js2py can't convert random back to python, maybe? Yes, that's correct! See also: https://osdoc.cogsci.nl/3.3/manual/javascript/about/#available-javascript-libraries
 - 
                Hi @kolfers , I would adapt the the wait_for_event() function from PyGaze to break after a timeout. https://github.com/smathot/PyGaze/blob/master/pygaze/_eyetracker/libeyelink.py#L684 I blind-coded the example below (I don't have an eye tracker no…
 - 
                @ethanweed This behavior results from the custom Array.prototype.random() function in the counter_balance script. I don' fully understand how this results in the behavior that it results in, but it certainly has unintended side effects. You can avo…
 - 
                Hi @ethanweed , That's very strange indeed, thanks for pointing this out. I'm going to look into it! — Sebastiaan
 - 
                Hi @Julia@julia_m , In general terms, what seems to happen is that OpenSesame tries to change the way that multiple processes are created by the application, but then crashes because this has already been done, and this is something that an applicat…
 - 
                Hi @MaximeL , You probably have an operation in the script of a loop item that operates on a column (with the name Context) that does not actually exist in the loop table. If you open the script of the loop item and search for 'Context' you should…
 - 
                Hi @Jordan , You cannot disable this in the user interface. However, if you want to implement something like this, for example because you're going to collect a large number of participants and you want to make sure that this is done systematically,…
 - 
                Hi @Roland , The stimulus sketchpad that precedes the coroutines simply stays on the screen until the first sketchpad in the coroutines overwrites it. This is indeed a somewhat unpredictable duration that includes the preparation time of the ite…
 - 
                Hi @SRayPsy , You will want to take a look at the discussion below, where a few people have reported (and solved) various issues in using the Tobii SDK in OpenSesame. https://forum.cogsci.nl/discussion/3793/error-with-tobii The general approach is a…
 - 
                Hi @Roland , You could do this by using a coroutines item and presenting one sketchpad (without the reminder) at 0 ms, and then another sketchpad (with the reminder) at 500 ms. A keyboard_response would then be running all the while, from the be…
 - 
                HI @sarah_alexandra , This line of code as such is valid. Can you post the exact error message (Traceback) from the console that you get when trying to run the code and the context of the code (i.e. is it part of an inline_script item)? — Sebastiaan
 - 
                Hi @Dina , Have you tried whether the regular Mac OS package works? I'm not sure about the differences between the different versions of Mac OS, but I wouldn't be surprised if it simply runs. If not, then you can install OpenSesame through Anaconda …
 - 
                Hi @wdhany , One problem at least is that you're first reading the data with the custom TobiiParser class: dm = TobiiParser(folder='data').dm And then again with the default parse() function, thus replacing the datamatrix with an empty one: dm = …
 - 
                Hi @anabatista , The serial port expects a bytes object, which is a more primitive form of text than the str object that you're sending now. You can convert the trigger to a bytes like this: # Initialize the serial port import serial serial_port …
 - 
                PS: Do you know if it is possible to put the first page of Osweb in French? Thanks a lot. Yes, you can modify the 'Welcome text' in recent versions of OSWeb: https://forum.cogsci.nl/uploads/779/QKEDQCMQE32Q.png
 - 
                I have to remove all these lines in the keyboard responses ? (only one, I think, in the first one) Yes! I tried, and with Jatos it works, but the bar at the bottom is still there.... and I have to click again on the expéreince each time, otherwise i…
 - 
                @MicolG How exactly did you install OpenSesame? And can you post the full error message, including the traceback? You can find this in the Jupyter console.
 - 
                If you look at the script of the keyboard response, you see the line: set duration correct_response Of course that doesn't make sense, although in principle it should be harmless, and on the desktop it is. But for some reason, OSWeb actually crashes…
 - 
                I can post my .osexp file if you want, but the problem comes from the hosting under Jatos it seems ... Because on my PC it works fine, but in a web browser, it's a disaster. I suspect it works fine when you run it as a desktop experiment, but not wh…
 - 
                Hi @SMD1990 and @eduard , Thanks for pointing this out. 👍️ This is indeed strange behavior and filed an issue for it. For now, a simple way to flush the keyboard is to insert an empty sequence just before the form_text_input , because a sequence b…
 - 
                Hi @bwg , You're using a very old version of OpenSesame, and I suspect that this is simply a bug that was present at that point (but has been fixed since). Unless there is a good reason to do otherwise, I would always use the latest version! — Sebas…
 - 
                Can you post the experiment (or a simplified version that illustrates the issue) here so I can take a look?
 - 
                Thank you! Unfortunately, I now get a new error message (DLPORTIO.SYS device driver not loaded). Maybe it's because I'm trying to run a script on my laptop that was designed to take external input from a button box. That means that dlportio is not …
 - 
                Hi @bwg , This script assumes that you have a file called dlportio.dll , which can be used to communicate through the parallel port. You can download dlportio.dll from many places on the internet, including dll-files.com. However, it seems that onl…
 - 
                Hi @bwg , This error comes from a Windows library (.dll ) that the experiment fails to load. Presumably, the creator of the experiment installed this library manually and wrote a piece of inline_script that uses it. Can you post the inline_script …
 - 
                Hi @Lara94 , The best way to do this depends on the specifics of your experiment. In some cases, the coroutines item will be useful because it allows you to specify a fixed duration. However, using coroutines can also make things a bit more comple…
 - 
                Hi @Snap92 , The first one is the "formatting" of the screen, the text is not visible on the screen and some lines are completely shifted, while the display of the "consent" at the beginning of the study is perfect. OSWeb doesn't…
 - 
                Hi @ekm , Can you try downloading the regular OpenSesame package for Mac OS and then installing the media_player_mpy plugin by entering the following in the Jupyter console? !pip install media_player_mpy If this doesn't work, maybe @robbertmijn can…