sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,296
- Last Active
- Roles
- Administrator
Comments
-
@DahmSF Would be great if to you mouse and keyboard responses within javascript items. It would! The thing that's making this more tricky than it seems (and I've been holding it off) is the fact that JavaScript works with callbacks, as opposed to b…
-
Hi @DahmSF , Ok, I see what you mean now. OSWeb indeed doesn't recognize multiple correct responses, whereas OpenSesame on the desktop does. That's the issue, right? I filed an issue for it here. — Sebastiaan
-
Hi @Fab , The sampler issue was relatively easy to fix. Unfortunately I didn't include it with OpenSesame 3.3.11 (because I thought it would take some figuring out), but you can update OSWeb separately to 1.4.5 to get this fix. For me OSWeb 1.4.5 re…
-
Hi @twininator2 , elif doesn't work in this context. However, you can use else if in these if-expressions: [=-256 if 'left' in var.pos1 else 0 if 'center' in var.pos1 else 256] Note that the expression inside (the ... in [=...] ) is just a regular…
-
Hi @Fab , Thanks! From your description, it seems that the sound distortion is related to something accumulating internally (why else would it take time to emerge?), but is not a memory leak as such. I'll see if I can reproduce it and then file a se…
-
@HenkvanSteenbergen I looked at the full experiment. I see memory going up to about 600 Mb (for a single Chrome process. Chrome as an app will consume more) and then staying more or less constant. I.e. no memory leak as far as I can see, and while m…
-
@Fab Detached elements are, in itself, normal. They are elements that are not currently embedded in the page (the DOM tree), but that do exist in the JavaScript workspace. With OpenSesame this happens a lot, for example when a sketchpad is being pr…
-
@HenkvanSteenbergen @Fab I think I found the culprit, at least if it's indeed purely text-related as I suspect. Could you test if upgrading OSWeb to this prerelease package resolves the issue? !pip install https://github.com/open-cogsci/opensesame-e…
-
@Fab @HenkvanSteenbergen In Henk's experiment, the culprit appears to be text rendering, which indeed results in this memory leak. Basically any experiment that presents a large number (hundreds) of displays with text appears to suffer from this. (B…
-
@Fab @kiwifoxb612 @HenkvanSteenbergen Thanks for chipping in. I filed an issue for this, and I'm hoping to find a solution soon. (Maybe not for inclusion OpenSesame 3.3.11 though, unless it turns out to be easier than I think it is.)
-
Hi @HenkvanSteenbergen , @Fab reported a similar memory leak (which is not yet fixed as of OSWeb 1.3.0) in this discussion. Does it look like that's what you're running into? If so, maybe you can chip in that discussion. I really want to resolve thi…
-
Hi @KyriakiN , I have never worked with a Wacom tablet myself, but I can imagine that it exposes itself as a mouse, just like a touch screen does. So as a first step, I would insert a mouse_response in a simple experiment and see whether you can tr…
-
Hi Stephan, I would use the browser debugger for this. If you put a line with the statement debugger at the end of the script and then run the experiment while the browser console is active (Ctrl+Shift+I in Chrome), the experiment will pause when …
-
@ChiaraDL The numpy error originates from something else, although I'm not sure what. It appears harmless. PyLink is now actually also updated on PyPi, so you can also run: !pip install pygaze --upgrade And it will be included in OpenSesame 3.3.11, …
-
@eduard This is indeed related to the switch from QProgEdit to PyQode as the library for the editor components. PyQode doesn't have syntax highlighting for OpenSesame script. So it's not really bug, and also not a setting, but simply functionality t…
-
I think text input is blocked from full screen mode for security reasons. Yes, that's correct! This issue is tracked here, but there is currently not much that can be done about it, because it's something that is blocked at the level of the browser.
-
Hi @SezerReng and @VictorVarela , Here is the example again. (Some attachments got lost during a server crash some time ago.) https://forum.cogsci.nl/uploads/523/SYB5FIDWKFQN.osexp The crucial part is the script in init_counterbalancing item. This g…
-
Hi @ChiaraDL , The fix has been merged, but we're still waiting on @Edwin (!) to actually tag the release and update it to PyPi. However, in the meanwhile you can update directly from the git repository: !pip install git+https://github.com/esdalmaij…
-
Hi @Fab , Thanks for reporting this. I'm going to look into it! It does indeed sound similar to the earlier memory-leak issue. — Sebastiaan
-
Hi @kolfers , Unfortunately not 😕 Some images (and attachments) got permanently lost in some server issues some time ago. Unless, of course @labovich still has them. — Sebastiaan
-
@eduard I'm quite puzzled by this issue, but for now I've never encountered it myself, nor have I heard of other people experiencing this. So for now let's assume that this is something specific to the system of @veskerm, even though of course that…
-
Thanks for pointing this out! I wasn't aware of this, but it's indeed a bug. I filed an issue here, and it should be fixed in the next maintenance release.
-
Hi @nanabi and @lvanderlinden , I'm afraid line wrapping indeed does not work for text displayed by sketchpad items in OSWeb (yet). As a work-around, could you try inserting break tabs (<br>) ? Yes, that's correct. And you can indeed use <b…
-
Hi @Gunnar The variable is called exp.trig, not exp.trigger. As an aside, I suspect that this code is based on something that was written a long time ago, when you needed to attach variables as properties to the exp object in order to be able to ac…
-
Hi @Rengert , If you installed OpenSesame from the PPA, then you should uninstall it using: sudo apt remove python3-opensesame And to remove all the dependencies that were automatically installed also: sudo apt autoremove — Sebastiaan
-
Hi @SINE , I actually wasn't aware of this, but it seems you're correct. All these settings can be configured in PHYSICAL.INI or they can be sent as commands from the experiment. PyGaze automatically sends the screen_pixel_coords command to the Ey…
-
Hi @trinhnguyen , You have used a mouseclick duration for the sketchpad (which requires one mouseclick or screen tap), and then have this followed by a touch_response (which requires a second mouseclick or screen tap). So the solution is simply to …
-
Hi @DahmSF , Yes that works. The issue was in the format of the repeat-if statement, which was like this: -296<[cursor_x]<-56 Apparently this doesn't work on OSWeb (whereas it does on the desktop). However, the following works both on OSWeb an…
-
Hi @veskerm , That sounds odd indeed. A few questions: What happens exactly when OpenSesame freezes? Does the entire interface freeze forever, or does it become responsive again after a while? Does the freezing also occur if you open the script of a…
-
@Pascal great work! And yes, the menu issue is on the radar, but I haven't had time to look into it yet.