sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Thanks for the report, that's exactly the kind of polish that we need! Fixed on GitHub, and will be included as of 0.27~pre19.
-
Hi Michel, Thanks for your info. This "configuration error" is something that users occasionally report (just yesterday, for example), and I don't have a clue what causes it, beside the obvious statement that there must be some incompatib…
-
Hi Anthony, Yes, this should be possible in OpenSesame in the sense that you can use additional Python libraries to do this. This functionality is not available through a graphical plug-in, so it will take some coding! My guess is that OpenCV woul…
-
Ah, I see. Did you insert your code in the Run phase of the inline_script item (you should)? If that's not the problem, perhaps you could post (the relevant part of) your script here so we can figure out what's wrong. It's probably something trivial…
-
It seems that you have pasted the script into the OpenSesame script that defines an item, rather than a Python inline_script item (for an explanation of the difference, see here). Is that correct? If so, could you try it again, but this time add a …
-
What type of script are you editing? If it's a Python inline_script then, yes, unfortunately there are known bugs with Mac OS, as described in this post. However, disappearing of lines is not, as far as I know, one of the symptoms of the above issu…
-
That's a good idea, and should be fairly easy to implement: https://github.com/smathot/OpenSesame/issues/107 It will have to wait for 0.28 though, as I want to focus on getting the last bugs out of 0.27 (and new features may lead to new bugs, etc.)…
-
Hi Paul, Welcome to the forum! I'm assuming that the experiment hangs when you try to collect a button press. Is that correct? Or do you receive an error message of some kind? (If so, please post!) My guess is that you are connecting to the wrong…
-
Hi guys, Yes, this is an annoying and persistent issue that occurs on some systems. It is not a bug in OpenSesame per se, but a memory leak in one of the underlying libraries (PyGame, PyOpenGL, or something like that). I don't know what causes it, …
-
All back-ends show this same result (although with psychopy the gabors' backgrounds are black): Right! The reason for this is a bit subtle. The frequency is in cycles/px, so it should be a value below one. Basically, you have set the frequency of t…
-
Bug:When drawing a gabor patch with orientation 0, 90, 180 of 270 degrees (e.g. a horizontal or a vertical orientation), only the mask seems to be drawn. You just see a white orb whose edges fade into the background: the black and white frequency pa…
-
If I understand your question correctly, pressing Escape should do the trick. This only works when the keyboard is being polled, so sometimes (for example if you press Escape during a delay period) it takes a moment before the experiment actually ab…
-
Just to line all the bugs up that you reported here and in previous posts (thanks!), and see how far along we are with 0.26~pre17 (uploading as I write this): Bug: When using the "/" key in the allowed keys of a keyboard_response item, y…
-
Thanks, again! My guess is, though, that (as you mentioned yourself) that most of these problems result from your configuration, which has a few older versions of the various packages installed. Perhaps you could check if the problems occur as well…
-
As Daniel says, it's a bit tricky, but I would like to add another possible method (not necessarily better than using the media_player, just different): You can use OpenCV to playback your video file. The script below illustrates how to do this. It …
-
Great! For future reference, in 0.27 (currently as pre-release) you can implement this using only a Run if statement. The functionality that has been added is that you can now use Python statements directly in a Run if statement, by prepending an '…
-
Ow, right. You need to tell OpenSesame that everything went ok, by returning True: # Create a dummy function which does nothingdef dummy(): return True Sorry! Should have checked first.
-
Ah, right, probably there's lot's of stuff going on in the prepare phase as well... So let's apply the same trick there: # Create a dummy function which does nothingdef dummy(): pass# If space has been pressed, replace the run() function of tria…
-
Thanks again! I'm going to look into it. Just one quick question: Are you running from source (and, if so, which versions of the relevant modules are you using), or do you use the pre-release binary?
-
Hi Michel, Glad you like OpenSesame! Indeed, 1200 trials is a bit much. The easiest way to show feedback after 72 trials without subdividing your trials into multiple blocks is probably as follows: At the end of the trial_sequence, add a feedback…
-
Will that however interfere with other Ubuntu windows too? As in, will it disable the compiz effects for desktop switching and such? Yes, it will. But temporarily, just to find out if compiz causes the trouble. You can always switch back to compiz …
-
Bug: Sometimes when an experiment is started in windowed mode and you switch to another window (outside OS) after which you switch back to the experiment window again, it does not register any key presses anymore (including ESC). You have to force q…
-
Hi Daniel, Yes, this is possible in 0.26, but it needs some hacking! And, to state the obvious, for anyone who is running 0.27, the Break if option of the loop item is to be preferred over the method described below. What you can do is replace the…
-
Is the code of expyriment on code.google.com not the latest? Not the 0.5.2 released version, no. OpenSesame relies on some new functionality. You can checkout the latest source, though, (if you have mercurial installed) with: hg clone https://code…
-
Thanks for your report! The crash is likely due to the fact that you use an older version of Expyriment, in which there was no Circle stimulus. You're probably running from source on Windows 7, right? On Ubuntu, you can get the latest version of Ex…
-
If all is well, all these issues should be fixed as of 0.27~pre13. I think the weird newline characters in the form plug-ins was related to the Mac OS issue with newlines in inline_scripts. Do you by any chance have the opportunity to check whether …
-
Ah, right, of course... What exp.set() essentially does is add a variable as an attribute to self.experiment. Since self.experiment already has an attribute named run (namely the function that handles the running!) doing exp.set('run', ...) causes …
-
Thanks! I'll look into it, and in the meanwhile: Keep the bugs coming. (Image)
-
Btw, in case you're not using the psycho back-end, here's a small code snippet that illustrates how you can accomplish approximately the same thing with the PyGame-based back-ends (legacy, expyriment, and opengl): import pygamekey = Nonestart_time …
-
Indeed, the context menu in the file pool was confused by the translation. Should be fixed for pre13. Thanks! :)>-