Howdy, Stranger!

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

Supported by

Problem with audio and Opensesame

edited March 2016 in OpenSesame

Hi. I'm woriking on Ubuntu Mate 15.10. I don't why Opensesame is not working. Error message says that:

File "/usr/lib/pymodules/python2.7/libqtopensesame/misc/process.py", line 140, in run exp.run() File "/usr/lib/pymodules/python2.7/libopensesame/experiment.py", line 386, in run self.init_display() File "/usr/lib/pymodules/python2.7/libopensesame/experiment.py", line 730, in init_display canvas.init_display(self) File "/usr/lib/pymodules/python2.7/openexp/canvas.py", line 65, in init_display cls.init_display(experiment) File "/usr/lib/pymodules/python2.7/openexp/_canvas/xpyriment.py", line 278, in init_display exp = control.initialize() File "/usr/lib/pymodules/python2.7/expyriment/control/_experiment_control.py", line 407, in initialize mixer.init() error: No available audio device

I've tried to remove, purge and install Opensesame but it still doesn't work.
Someome know waht could be happening?

Thanks : )

Comments

  • edited 6:59PM

    Hi Guido,

    In some (rare) cases, the audio device is not recognized, either because there really is no audio device, or because of some hardware incompatibility. There's nothing you can do about this, I'm afraid--a working audio device is required, even if you don't actually use audio.

    In general though, when this happens, there's something funky with the computer or the operating system. Does sound playback work at all on this system?

    Cheers,
    Sebastiaan

  • edited 6:59PM

    Hey,
    I had the very same problem and found a simple workaround. By starting opensesame with root permissions ("sudo opensesame"), the audio device somehow is recognized and the error does not occur.

    Does this help?

  • Hi,

    I have the same problem on Windows 7. The computer I use has a sound card and I also tested whether it can play sound, so neither the hardver nor the software has a problem. The interesting part is that the error comes up only when speaker is not plugged in. When I plug it in, problem goes.

    It would be good if I don't need to plug in a speaker for running an OpenSesame experiement when the experiment does not contain any sound. The experiment I create is used by others too, so it causes inconveniences to have this requirement.

    Maybe this mixer.init() method can be called conditionally when there is any sound related item in an experiment or if it does not work would be good to have an option to set it manually.

    Best Regards,
    Tamás

  • edited January 2017

    Looks like a permission/group problem, you could try to add yourself to the audio group.

    Check your subscriptions to groups:

    groups

    Does it contain 'audio'?

    Add yourself to the audio group:

    sudo adduser [username] audio

    Replace [username] with your own username and logout/login.

    Edit just noticed that the linux part of this thread is pretty old, no idea how to solve it in windows

  • Hi,

    I tested whether it's some permission issue also on Windows 7. I run OpenSesame as administrator, but the problem still remains, so I guess it's not because of that OpenSesame does not have the right permissions.

    Best Regards,
    Tamás

  • Thank you all. I've updated all pip libraries and problem ended

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