[solved] opensesame will not run in Mepis 11
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
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
masterbranch, it should work. You can get it from this page or directly as a.zipfrom:If you extract the archive to a folder, you can start OpenSesame by opening a terminal in this folder and running:
./opensesameIn 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-themepackage.Please let me know if you have any further questions!
Check out SigmundAI.eu for our OpenSesame AI assistant!
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