[solved] video error: arg 1 must be...
Dear Forum
I was trying open sesame 0.26 on winXP for video display. a bug reported that arg1 must be a string or a file.
any Ideas?
thanks, yuval
Dear Forum
I was trying open sesame 0.26 on winXP for video display. a bug reported that arg1 must be a string or a file.
any Ideas?
thanks, yuval
Comments
Hi Yuval,
Could you provide some more details? What exactly are you trying to do, and when do you get the error? Please also provide the full error message. You can usually find the full traceback (error log) in the debug window.
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
thanks for the quick response Sebastiaan
OK, here it is all.
I have the simplest experiment, just one wellcome display and one video display in the main sequence of the experiment.
I am just trying to see that it works before building a whole experiment.
Error message:
Error: Runtime error
Description: Error while executing event handling code: exec: arg 1 must be a string, file, or code object
debug window message:
video script:
thanks
Yuval
Ok, I see. I'm not able to reproduce this problem: The video plays just fine for me. Are you running the latest OpenSesame (0.26, not one of the pre-releases) with the media_player plug-in (not media_player_vlc)? And are you using the official OpenSesame package for Windows, or have you installed it in some other way?
If not, please install the latest stable OpenSesame package. If you have already done that, I'm not sure what the problem could be... In that case I'll pass this on to Daniel, the media_player developer. But he's on a holiday at the moment, so that will take a few days.
Check out SigmundAI.eu for our OpenSesame AI assistant!
I downloaded the 0.26 this morning from the common dowloads, the video player plugin came with the pack as it is the windows package. I did not install the software but rather ran it from the directory, I can try the installation exe as well.
thanks, yuval
Your installation is fine then. We'll get back to you on this!
Check out SigmundAI.eu for our OpenSesame AI assistant!
Did you try running OpenSesame on another machine and see if the problem also occurs there? From the error message you provided, it seems the problem lies in the section in which you can insert custom code to handle events like keypresses. Is the text area in which you can insert this custom code empty, or did you put somehing here? Also, what is the value of the field "Call Custom Python Code" of the plugin?