[open] QProgEdit
Hello,
I'm on a mission to spread the joy of Opensesame in my department and am thinking that running it on an RPi could well be a way to boost interest. I had a good tinker late into the night trying to get it running but fell at the last hurdle (hopefully). It wouldn't load as it said it was missing QProgEdit. I've tried using the line of apt-get install etc for as many variations as I can think but they all come back saying the package can't be found. I can see the files on github but can't figure out where to put them / get them to install correctly.
Sorry for the long winded explanation there! By the way, thank you for what is a brilliant program and development.
Alex

Comments
Hi Alex,
A noble mission.
Right, the instructions are outdated, but the only real difference is having to grab QProgEdit from GitHub and installing it. Installing means either putting it in the Python path or--even simpler--placing it as a subfolder of the OpenSesame folder.
So it's a matter of getting the latest release from here:
And extracting the
QProgEditfolder into theOpenSesame-release-[X]folder.Would you mind letting us know if this works so that we (or you if you want) can update the documentation?
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
Fantastic, thanks for the info. I'll have a go this evening and see how I get on.
I'd be very happy to update the documentation; I found a few niggles with installing the packages so will write it out fully for others to follow. Happy to help in any way I can!
Cheers,
Alex
hi
when I try to run opensesame on RPi (after installing qprogedit)
I get :
Fatal Python error: (pygame parachute) Segmentation Fault
Dror
Hi Dror,
A segmentation fault is almost always due to PyQt4. So there's not much that you can do about it, except using a version different PyQt4. And this is not easy because PyQt4 it's generally part of the operating system.
What Linux distribution and what version of PyQt4 are you using?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi all,
So I spent a little while tinkering with OpenSesame and the RPi. Here's what I learnt, and how I did it.
Firstly, the only version of OS I could get to run successfully was version 0.27.4. Any later versions all fall over with faults such as the PyQt4 issue as detailed above (after solving the qprogedit issue). But the good news is that it does successfully run. I would however suggest building any experiments on a different system and then just using the opensesamerun client to actually run the experiment, unless you're someone who likes to suffer for their craft.
In general I would recommend following Sebastiaan's advice for installing and running OS on the [RPi] (http://osdoc.cogsci.nl/getting-opensesame/raspberry-pi/) with a couple of little tweaks.
Firstly when you first boot into Raspbian ensure that you turn on overclocking to 1000MHz and fill the remaining space on the SD (also use a fast SD card). Then I installed a bash script that allows me to see details of how the RPi is running - this one is particularly useful [cpustatus] (https://gist.github.com/ecampidoglio/5009512) - written by [Enrico Campidoglio] (http://megakemp.com/2013/02/26/adventures-in-overclocking-a-raspberry-pi/). It's just nice to make sure everything is running as it should be, and not getting too warm etc.
Now, onto the actual installation of OS. I followed Sebastiaan's guide for the first run, but hit a couple of niggles, so adapted it very very slightly. The problem was with the installation of dependencies - for some reason they didn't install (though I have no knowledge as to why); so I tend to install them all separately and from the outset. Also, I tend to run update commands before doing anything else.
So this is what the final process looks like. In terminal, I submitted the following commands (stuff in brackets is info, and not submitted):
(followed by the same "sudo apt-get install" command but replacing python-pygame with: python-qt4 / python-qscintilla2 / python-imaging / python-serial / python-numpy / python-tk individually)
Then the rest uses Sebastiaan's script, with the dependencies removed:
After all this, it is installed and can be run using the command:
(or) ./opensesamerun
I hope this helps someone - I'm sorry that there are no pictures and suchlike, but it's not too bad to get installed, and it works fairly well. I've even got it working on a sizable touchscreen monitor with mixed results.
If you get stuck, I'm happy to help where I can!
Hi Lex,
Thanks for this detailed explanation. It's a shame that the recent versions of OpenSesame don't work due to the segmentation fault. However I suspect that
opensesamerundoes not suffer from this problem, because it makes less (or no when started with enough arguments) use of Qt4. That may be useful for people who only want to use the Pi to run experiments, without using the gui.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!