Howdy, Stranger!

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

Supported by

OpenSesame crashes on Ubuntu 16.04

Dear forum,

I'm trying OpenSesame for the first time but unfortunately I'm running into problems with the eye-tracking template which consistently crashes on my Ubuntu install.

I did the following:

  • Install OpenSesame through the PPA on Ubuntu 16.04 (current LTS release).
  • Start OpenSesame in a terminal.
  • Choose backend PsychoPy.
  • Start experiment by clicking the play button.
  • Enter subject ID.
  • Select file name.

The screen turns black for ~500ms and then I'm back in the OpenSesame GUI where I see the following error message:

Stopped

The experiment did not finish normally for the following reason:

Unexpected error
Details

item-stack: experiment[run].pygaze_init[run]
exception message: 'float' object cannot be interpreted as an index
time: Mon Jun 12 12:12:57 2017
exception type: TypeError
Traceback (also in debug window)

  File "/usr/lib/python2.7/dist-packages/libqtopensesame/misc/process.py", line 140, in run
    exp.run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/experiment.py", line 413, in run
    self.items.execute(self.var.start)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 91, in execute
    self.run(name)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 106, in run
    self[name].run()
  File "/usr/lib/python2.7/dist-packages/libopensesame/sequence.py", line 51, in run
    self.experiment.items.run(_item)
  File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 106, in run
    self[name].run()
  File "/usr/share/opensesame_plugins/pygaze_init/pygaze_init.py", line 207, in run
    self.beep = synth(self.experiment)
  File "/usr/lib/python2.7/dist-packages/openexp/synth.py", line 62, in synth
    _envelope = envelope(length, attack, decay, rate)
  File "/usr/lib/python2.7/dist-packages/openexp/synth.py", line 159, in envelope
    e = np.ones(length*rate)
  File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 192, in ones
    a = empty(shape, dtype, order)
TypeError: 'float' object cannot be interpreted as an index

At first, I thought that the template can perhaps not be run without changes but it does run on my colleagues Windows machine. Any advice on how to fix this issue?

Comments

  • Hi,

    Yes, this is an incompatibility between certain versions of numpy and OpenSesame. It's been fixed in the unstable releases of 3.1.7. You can install those from the opensesame-james ppa:

    sudo add-apt-repository ppa:smathot/opensesame-james
    sudo apt-get update
    sudo apt-get dselect-upgrade
    

    Of course, this is a testing repository, so proceed with caution!

    Cheers,
    Sebastiaan

  • I get the following error message. Would there be a simple way to solve this? This is in Ubuntu 15.04 after installing the latest version (Nov 2017).

  • edited November 2017

    Hi Frouke,

    It looks like you have an old version of QProgEdit installed, which doesn't work with PyQt5. You can upgrade by running:

    pip install python-qprogedit
    

    Does that solve things?

    Cheers,
    Sebastiaan

  • Unfortunately, the problem persisted after installing the indicated software. I decided to upgrade to Lubuntu 16, 64 bits (clean install), and under this new version, the problem no longer occurs.

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