Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

my_canvas = canvas() doesn't work

edited May 2018 in OpenSesame

Hi, I posted a few days ago with no answer but here I am again on my final efforts with the software.
I am very new to python and opensesame of course.
I am running on a MacBook pro 2017
Open Sesame version is 3.1
my_canvas = canvas()

doesn't work !

I used it alone, as mentioned above and as the "older version"
which is
from openexp.canvas import canvas
my_canvas = canvas(exp)

or
my_canvas = canvas()

still doesn't work!

I have read this thread as well :

http://forum.cogsci.nl/index.php?p=/discussion/1667/open-opensesame-3-0-bugs

None of the fixes there work on me...

The errors are :

NameError: name 'canvas' is not defined

or

TypeError: canvas() takes at least 1 argument (0 given)

or

NameError: name 'exp' is not defined

The documentation seems to be mixed up by the way

Comments

  • Also I am getting this error,

    item-stack: experiment[run].new_loop[run].trial_script[run]
    which doesn't make any sense to me.

    I would appreciate any help.

    Thanks

  • Hello,

    Maybe you could try to update opensesame (latest version is 3.2.4 I think) and see if the canvas issue is still there?

  • Yeah I did this and its OK.
    Cheers

Sign In or Register to comment.