something wrong when running example
hi,i would like to use mousetracking plugin in opensesame.as said in GitHub - PascalKieslich/mousetrap-os: Mouse-tracking plugin for OpenSesame,i run the command as follow,because my opensesame's version is 4.0.0a33.
and then i open one of the example,such as mousetrap_form.and when i tried to run the experiment,there is something wrong.an AttributeError appear.
File "D:\opensesame\Lib\site-packages\openexp\_mouse\legacy.py", line 115, in get_pos
return self.from_xy(pygame.mouse.get_pos()), self.experiment.time()
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Experiment' object has no attribute 'time'
i wondering what is wrong with it,and how could i run it.
thanks.
jianguo
Comments
Hi Jianguo,
sorry for the late reply, seems I missed this post.
From your description it sounds like you did install the correct version of the mousetrap-os plugins (i.e., the development version). I also tested it with OpenSesame 4.0 (back in July I believe I tested it with 4.0.1 and now I tested it again with 4.0.5) and it worked fine, also for the mousetrap-form (e.g., this example experiment: https://github.com/PascalKieslich/mousetrap-os/blob/master/examples/mousetrap_form.osexp).
Which operating system are you using? And could you try using the latest version of OpenSesame (4.0.5)?
Best regards,
Pascal