Howdy, Stranger!

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

Supported by

[open] Psychopy back-end issues on Microsoft Surface 3

edited November 2014 in OpenSesame

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

  • edited 6:04PM

    Hi Felipe,

    Nevertheless when I run the experiment in full screen or in the test mode it crashes saying: "Importerror: cannot import name core."

    The correct way to import core is directly from psychopy, not from psychopy.visual. So your import statement should look like this:

    from psychopy.visual import TextStim
    from psychopy import core
    import random
    

    Does that solve the issue? Perhaps you developed the experiment using another version of PsychoPy in which your (incorrect) import statement worked by accident?

    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?

    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

    Buy Me A Coffee

  • edited 6:04PM

    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

  • edited 6:04PM

    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!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games