Howdy, Stranger!

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

Supported by

[solved] opensesame will not run in Mepis 11

edited June 2013 in OpenSesame

My OS is linux, specifically Mepis 11, a Debian/Ubuntu flavor. I have installed opensesame, but it will not run. When I try to run it from a terminal, I get this error message:

Traceback (most recent call last):
  File "/usr/bin/opensesame", line 91, in <module>
    opensesame.resume_init()
  File "/usr/lib/pymodules/python2.6/libqtopensesame/qtopensesame.py", line 93, in resume_init
    self.ui.setupUi(self)
  File "/usr/lib/pymodules/python2.6/libqtopensesame/ui/opensesame_ui.py", line 33, in setupUi
    self.tabwidget = tab_widget(self.centralwidget)
  File "/usr/lib/pymodules/python2.6/libqtopensesame/widgets/tab_widget.py", line 38, in __init__
    self.tabCloseRequested.connect(self.removeTab)
TypeError: 'removeTab()' has no overload that is compatible with 'tabCloseRequested(int)'

Can anyone tell me if it is possible to run opensesame on this OS, and, if so, what I should do to try to get it to run. Please bear in mind I have some knowledge of linux, but I am not a developer, and so I will need any instructions to be pretty step by step. Thanks.

Comments

  • edited May 2013

    Good to see you on the forum! I think we met at the APS convention, right? (Assuming that there are only a limited number of cognitive professor running MEPIS.)

    I think what you're running into is a bug in the version of PyQt4 (the library used for the interface) that is bundled with MEPIS 11, which runs a few versions behind. Fortunately, the problem is quite easy to work around, and I just committed a patch to GitHub. If you download the latest snapshot from the master branch, it should work. You can get it from this page or directly as a .zip from:

    If you extract the archive to a folder, you can start OpenSesame by opening a terminal in this folder and running:

    ./opensesame

    In addition, OpenSesame requires a number of dependencies to be installed, as described here:

    Edit: If you experience lots of missing icons, please also install the gnome-icon-theme package.

    Please let me know if you have any further questions!

  • edited 11:31PM

    Sebastiaan,

    Thanks for the help. As you can see, I can now get on the forum with the new password. Also, I downloaded the dependencies as you instructed, and Opensesame is now working on my Mepis distro. I noticed that I have to use the legacy backend, in Mepis, whereas I have to use Psychopy on Kubuntu. That's no problem, however. Finally, I tried the Android app. The Stroop demo worked fine. I'm looking forward to using this for my classes. Great stuff!!

    Cheers,
    --- Bob

Sign In or Register to comment.