sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Indeed, there was a bug in the Chinese translation, which triggered this problem. I fixed this, so it should be resolved in the next 2.8.0 pre-release. For now, you can work around this by deleting the file resources\locale\zh_CN.qm in the OpenSesam…
-
Nevermind, apparently already resolved in #680.
-
Great! Good luck with the experiment.
-
Hi Marianne, Well that's quite a lot that you want to do at the same time! I think you'll be much better of using an inline_script than trying to build this using the GUI. It may be possible, but it will end up being a complicated mess (looking at …
-
In principle, yes. You could use the Python webbrowser module to launch a browser from within an OpenSesame inline_script. For example: import webbrowserwebbrowser.open('http://osdoc.cogsci.nl/') However, the exact behavior, such as whether the fo…
-
Lots of good ideas! But just a quick note about block commenting: This is actually already possible in 2.8.0, which is now in pre-release. The text editor component has been split off into a separate project QProgEdit, which is much more advanced t…
-
Hi Marthe, It sounds like the file has been corrupted for some reason, which could be anything. Your best bet would be to open the file with a program like 7zip and see if this program can still read the file. .opensesame.tar.gz files are basicall…
-
Changing your run-if statement to something like this should probably do the trick: =self.get('count_Exp_Choice_Car') % 8 == 0 and self.get('count_Exp_Choice_Car') > 0 (Quote) You're welcome and good luck with the experiment!
-
Hi Marianne, If variables are missing from the logfile, you can add them explicitly by disabling 'Automatically detect and log all variables' in the logger, and add the missing variables through the 'Add custom variable' button. If this doesn't so…
-
(Quote) The easiest way would be to use the form_text_input plug-in, which is allows you to enter multiple-character responses: * http://osdoc.cogsci.nl/forms/ (Quote) That would be a loop!
-
Hi Pascal, You're not missing anything, the plug-in is. The response variable field was accidentally removed when the plug-in was updated a while back. Thanks for bringing this issue to our attention. For now, specifying the form_var in the OpenSe…
-
Ow wait, I think I see the/ an issue. Note the logic in your script: if response1['pressed']: # (Some stuff) breakelse: break This means that the loop will break, even when a button is released, although on a release the response variab…
-
Hi Andy, You can play videos with the media_player_vlc plug-in. In your case, you could also consider using the (older) video_player plug-in. The latter doesn't support audio, but it does allow you to adjust the framerate, which seems useful in you…
-
I really cannot think of another explanation than that you are actually pressing the back button, and the experiment ends as a result of this. Note that the back button can be physical, i.e. a real button on the side of your phone, or emulated, i.e.…
-
(Quote) As you posted above, response should a dictionary with the following keys: pressed: True if the key was pressed, False if it was releasedkey: Response pad key pressed by the subjectport: Device port the response was from (typically 0)time: …
-
Hi Dror, That depends entirely on how the dance mat works, because this is not really a standard input device (!). If it simply works as a mouse, and I imagine it might, then you can use it as such in OpenSesame. If it relies on a custom set of dri…
-
To reset the configuration, you would need to need to use a registry editor, find OpenSesame, and remove all OpenSesame-related entries, notably _initial_window_geometry. Assuming that you are running Windows, that is, because the way that the confi…
-
Yes, I see them. I suspect that these gray lines result from the way that Expyriment (and PsychoPy for that matter) draws the stimuli, using OpenGL. This sometimes causes a bit of fuzziness, which in this case appears to be especially bothersome. I …
-
Hi Joe, There is a bug in the video_player plug-in that triggers an error when not running in fullscreen, i.e. when 'Resize to fit screen' is set to 'no'. If you set this to 'yes', the video should play again. I filed an issue on this, but until th…
-
(Quote) You mean that you simply execute an experiment right away, instead of having to select one via the menu? As it happens, @EoinTravers is working on this, but for now this is not easily possible. In order to accomplish this, you will need to b…
-
Note the logic of the loop! Here ... if dev.response_queue_size() > 0: response = dev.get_next_response() break ... the break statement will be executed regardless of whether the queue size is larger than 0. Here ... if dev.r…
-
(Quote) The response times will be very accurate (on a good system). (Quote) You can pass a timeout to get_key(), which will override the original timeout. For example: my_canvas_gray.show()resp, time = my_keyboard.get_key(timeout=100)if resp != N…
-
(Quote) Ah right, yes. To get around this you can force OpenSesame to abort at strategic points in the script, by raising an exception: print 'calling dev.poll_for_response()'dev.poll_for_response()raise Exception('dev.poll_for_response() was finis…
-
Hi Marjolein, In what sense does the logger not work? If you are missing some variables in your logfile, you can add them manually by unchecking 'Automatically detect and log all variables' in the logger, and adding the relevant variables through t…
-
Hi Marianne, Could you please upload the experimental script, for example to pastebin, and describe the full error message, including what appears in the debug window? Cheers, Sebastiaan
-
The default fonts don't contain Chinese characters. Many software packages fall back to a different font when characters are missing, which is why you often don't notice this. But the OpenSesame droid backend doesn't use a fallback mechanism, so you…
-
A right, I see. The debug info indicates that you pressed the back button, which is mapped onto the escape key and immediately aborts your experiment. So the debug info doesn't indicate any unexpected errors. If you are sure that the experiment als…
-
(Quote) With 'it crashes' I assume you mean that the script becomes unresponsive? The way to debug these things is to add print statements throughout the code, to see where things gets stuck. For example, something like this ... print 'calling dev.…
-
Good to hear that you're getting somewhere! The touch_response plug-in does indeed not allow you to specify allowed responses. This would be a nice addition, so I filed an issue for this. For now, you can implement this quite easily yourself thoug…
-
Thank you for taking the time to post this! We generally see only the things that go wrong here on the forum, so it's nice to read a post like this. Cheers! Sebastiaan