Howdy, Stranger!

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

Supported by

Problem with media player_mpy

Hi there,

I have an old Tobii X2 that I am using with OpenSesame 3.2.8-py3.6-win64, pygaze and the tobii 1.8 SDK. Sometimes it fails to find the eye tracker which is annoying but can be solved by restarting (as reported in https://github.com/esdalmaijer/PyGaze/issues/142). As I could not get the eye tracker to work/write data to a result file with any other version of OS and/or Python, I am stuck with the set-up. So far, everything worked like a charm with simple audio files and images but now I have an experiment in which I need to show videos.

I used the media player_mpy plug-in that is pre-installed with OS and got an error message that 'unicode' is not defined. I solved this following the instruction in https://forum.cogsci.nl/discussion/6170/media-player-mpy-not-working-error-name-unicode-is-not-definded

Now I get a few lines further, but get a new error message that "Expyriment_Handler is not found", even though it is listed in the media player plug-in folder. Googling did not provide me with any hint how to solve this.

Can anyone help me out here? Any ideas or suggestions how to get my videos to play would be highly appreciated. Thank you!

Comments

  • Hi @naltvat ,

    This is due to the fact that OpenSesame 3.2.8 is quite old and comes with an outdated version of the media_player_mpy plugin. Updating the plug-in to the latest version (right now 0.1.11) should fix this particular issue.

    But more generally: is there a specific reason that you're using OpenSesame 3.2.8, as opposed to the most recent version (3.3.14)? If not, then I would recommend simply using the latest version of OpenSesame and installing the Tobii SDK as described here:

    That will save you a lot of headaches!

    — Sebastiaan

  • Hi @sebastiaan,

    thanks for the answer. I installed the latest version of the plug-in via pip but unfortunately the error remains the same :-( Any other ideas?

    I was using OpenSesame 3.2.8 with tobii-research 1.8 because this is the only combo that worked for me. I tried using the newest version of OpenSesame (which I do use for other experiments not making use of the tobii) but it seems that there is no tobii-research version that works with it. It seems to be related to different Python versions used (see also https://forum.cogsci.nl/discussion/8065/tobii-research-or-other-problems and https://forum.cogsci.nl/discussion/3793/error-with-tobii).

    I could try again to install OpenSesame with Python 3.8 via Anaconda. Already tried this out before and then had the problem that no true ET data was written into the tobii log file but just 0,0.

    So after all, I thought it might be easiest to fix the media player issue and go with the old versions. But this does not seem to be easily solved either. If you have any further advice, here, I would be super grateful.

    Thank you so much - and also thank you for supporting and developing OS. It is such a cool tool!

    Nicole

  • Quick update to close this: I deinstalled and reinstalled everything, and now it works with the legacy backend. Strangely enough, the video played with the expyriment backend at first. But when I installed pygaze and tobii-research, it did not work anymore but gave the same error message as above. Just thought I share this, in case someone encounters a similar problem.

  • Hi @naltvat ,

    It sounds like you've been running into a series of issues that, or at least I suspect so, are unrelated to each other. (Which doesn't make them less annoying, of course.)

    I'm not sure what you tried so far, but my recommendation would still be to install OpenSesame and any additional packages (such as tobii-reserarch, PyGaze and media_player_mpy) in an anaconda environment, using the version of Python that is required by the latest version of the Tobii SDK. At the time of writing this is Python 3.10 for the tobii-research 1.20.2 package, but these versions will change over time!

    Maybe @wdhany can chip in as well. I know he's successfully installed this!

    — Sebastiaan

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