sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,289
- Last Active
- Roles
- Administrator
Comments
-
Hi @fotisfotiadis , I encountered (and fixed) this issue as well. It's due to a new version of pillow (10) in which PyQt5 is deprecated (for unclear reasons). And since PyQt5 is the only version of PyQt that Anaconda offers, this causes all kinds …
-
Hi @lt_kn_char , In OpenSesame 4.0, which I recommend for new experiments, you don't need the var or vars object anymore, because experimental variables are simply available as global variables in inline_script and inline_javascript items. See: …
-
Hi @bssengul , The issue results from these lines: rectangle1 = Canvas () # ... # Dikdörtgeni çizme for i in range(num_rectangles): rectangle1.canvas.rect(left=var.x[i], top=var.y[i], width=rect_width, height=rect_height, …
-
@labovich Indeed, it seems that the connection is blocked by the operating system, possibly by the Windows firewall. Maybe I attached the incorrect file. I'm attaching a file that works in V3 but not 4. It was already the case for the previous vers…
-
If there is a solution of how to run this in v4 I'll be happy to hear (the opensesame course I built with V4 begins next week...) You're right that this runs in 3.3 but not in 4.0. However, this rather seems unexpected behavior from 3.3 because logi…
-
Hi @lt_kn_char , Yes, in OpenSesame 4.0 you can use a Python expression to specify the font_bold parameter in the sketchpad , like so (sometimes() is a function that is built into OpenSesame): draw textline font_bold="{'yes' if sometimes() el…
-
@labovich Thanks! I fixed the first issue, related to forms, in 4.0.0a50. I cannot open the second experiment though. If that still provides errors after the update, can you attach it or share it through a different link?
-
@labovich That's probably correct, but since OpenSesame 4.0 should be fully backwards compatible that's still a bug. Could share an experiment that shows this issue (i.e. that runs fine on OpenSesame 3.3 but gives this variable-does-not-exist error …
-
@labovich You were right, actually. The updater still didn't work when being launched from the installed version of OpenSesame (which is of course the most common scenario). I just updated the prerelease packages so you can grab those. And then, fro…
-
Hi @lt_kn_char , The main issue that you're running into is that you're trying to run JavaScript on the desktop through a (Python) inline_script item. This won't work! Rather, you need to enter JavaScript into an inline_javascript item, and then (…
-
Hi @Jib , Are you running the latest version of PyGaze? If so, could you post the script that you use to send the log messages? I am aware of the issue that you linked to, but as long as you send at most one message per sample they should be (and in…
-
Hi @fotisfotiadis , Installing through conda is convenient but can also get messy quickly. Why don't you try the installation instructions for OpenSesame 4.0? These have been tested recently. https://osdoc.cogsci.nl/4.0/download/#anaconda-cross-plat…
-
Hi @HDrax111 , I suspect that this is not due to a performance issue, but rather due to either the experiment waiting for two key presses as explained at the end of step 6 in the beginner tutorial: https://osdoc.cogsci.nl/4.0/tutorials/beginner/#ste…
-
Hi @sdewitt , Your script opens a PDF file in a browser window, which is separate application. At that point, you're no simply longer in OpenSesame--you've left the experiment and need to switch back to it in order to continue. If you want to have a…
-
Yes, and then from there you will receive further updates automatically.
-
@labovich Thanks! There was an issue with the updater itself some time ago. Right now the latest version is 4.0.0a43 (not a33). If you download the latest prerelease package then the updater will be fixed and you will get updates to all of the packa…
-
@labovich No, then you're good. Please let us know of any bugs you encounter, and don't forget to include the relevant version numbers. Thanks for helping us test! 😀
-
@pbe Thanks for sharing!
-
Ok, at least it's on the radar and I'll see if I can reproduce it.
-
@labovich Thanks! Before reporting the issues, make sure that you are running the latest versions of all packages. (When you start OpenSesame 4.0, an update check will be performed in the background, and after a few minutes an update notification wi…
-
Hi @sflu , In that case, you will need to 'save' the accuracy before the practice sequence by assigning it to a different variable so that it's not overwritten. You can do that in an inline_javascript item as shown below. This should be in the run …
-
@kbmcgowan Ok, thanks for reporting this! It would be helpful to know what kind of error message (if any) Safari gives when this happens. Can you post the output of the "Error console" in Safari? (You may need to enable this option under P…
-
Hi @kbmcgowan , The latest version of OSWeb, either 1.4.14 (for OpenSesame 3.3) or 2.0.0 (for OpenSesame 4.0), should play sound also on Safari. If you update your version of OSWeb and still experience issues, could you report back here? — Sebastiaan
-
Hi @sflu , The exp.end() function is for internal use. It's not a way to end the experiment. In your case, to end the experiment, you probably want to use a run-if expression. The details depend on the structure of your experiment, but you can prob…
-
Hi @Silk , The lack of automatic line breaks is indeed an annoying limitation of OSWeb, which results from how text is rendered on the OSWeb canvas. What you can do instead is use a form, which is a normal web page that uses normal text rendering, a…
-
Hi @mirix , Right now you're using a Canvas to draw a custom slider instead of a Form . That's a perfectly acceptable approach, but this means that you have to render everything using the Canvas , including the ok button. (You cannot use any of the…
-
Hi @Pari , It sounds like you're running two different versions of OpenSesame: an outdated version based on Python 2 in the lab (which indeed indicated Python syntax errors with a red/gray icon); and a more recent version based on Python 3 on your o…
-
Hi @ChrIm , Currently, the tobii-research package is only available for Python 3.10. This is a strict requirement, so it really won't work with any other version of Python. OpenSesame 3.3 is (for Windows) based on Python 3.7, and OpenSesame 4.0 is b…
-
Hi @MarkS , Thanks for reporting this. Indeed, it's because of the changed naming conventions in the new 4.0 plugin API. (Which now follows the PEP8 naming conventions.) However, it's still a bug because backwards compatibility with older plugins sh…
-
Hi @vickymitrousia , I would do this with a simple inline_script that continuously updates the color of the stimuli, for example like this (you would need to tweak the script, of course, but it conveys the principle): c = Canvas() c['my_stim'] = Re…