[open] Psychopy back-end issues on Microsoft Surface 3
Hi There,
We just pruchased a new Microsoft Surface 3 pro in order to run some experiments on a tablet and profit of the touchscreen and the mobility advantages.
This tablet comes with full OS Windows 8,1 pro and has a intel I5 processor inside, so in theory works as a normal laptop.
I am trying to run an old experiment using the psychopy backend but unfortunately does not recognize its libraries.
When I run the following line in the debugging window:
from psychopy.visual import TextStim, core
import random
...works without any complain.
Nevertheless when I run the experiment in full screen or in the test mode it crashes saying: "Importerror: cannot import name core."
It seems to be a problem with the graphiccard then (since libraries are recognized without problem in the debugging mode but not when i run it).
Has anybody there ever run Opensesame in a Microsoft surface 3pro?
Any ideas how to solve the problem?
Another option would be to test another back-end. Since I always used psychopy so far I dont have any idea if is possible to generate textures with another back-end. Can anybody tell me with wich other back-end I could generate a checkerboard textured discs in a realtive easy way on different pictures backgrounds?
Thanks in advance and any idea is always very welcome.
Felipe
Comments
Hi Felipe,
The correct way to import
core
is directly frompsychopy
, not frompsychopy.visual
. So your import statement should look like this:Does that solve the issue? Perhaps you developed the experiment using another version of PsychoPy in which your (incorrect)
import
statement worked by accident?If you want to work with textures, masks, and other advanced stimuli, then the
psycho
back-end is really the back-end of choice. So unless PsychoPy really doesn't work on the tablet (which I doubt), I would stick to it.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan
Thanks for your answer.
It seems it is not just a problem of how I called the library because anyway it crashes if you write it well. It doesnt find any psychopy library actually, not textStim either (that was well writen in my previous script.)
So I was on psychopy forum too and it seems that the drivers that microsoft windows 8.1 installs for the graphic card of the Intel I5 of the surface tablet for some reason are not compatible with pyglet and some other libraries of psychopy:
https://groups.google.com/forum/#!msg/psychopy-users/ir_KQLfCPeA/VT7r37sf9cMJ
Nevertheless I started to install previous versions of opensesame and 2.8 and 2.9 failed to run psychopy back-end but it is working perfectly on the 0.27 at the moment.
Maybe this can give you an idea where is the root of the problem.
Anyway thanks a lot again for the help and the problem is solved for now and opensesame 0.27 is running quite well on the tablet.
Cheers,
Felipe
Hi @sebastiaan,
On a (somewhat) related note: I've noticed that PyGame overestimates the display size on Surface RT tablets. That is: when one sets the resolution to the actual resolution (I've tried 1920x1080 and 1366x768), the PyGame display Surface extends beyond the actual display's edges.
Curiously, PsychoPy reports that the actual display resolution is 1200x800. Any ideas?
Cheers!