[solved] OpenSesame crash on Android devices
Hi everyone,
First of all, thank you for the OpenSesame project. It has been a blessing for experiment design.
Currently i have created a simple forced choice task that displays a certain stimulus after which the participant has to choose one of two pictures by tapping on the screen. The back-end is set to Android. I can choose the experiment from the list and select the results folder. But when the experiment is supposed to run it just crashes. This happens both on my Nexus 7 (Android 5.1.1) and my Oneplus One (Android 5.0.2). The debug file is shown below:
/sdcard/opensesame-autorun.yml
/mnt/sdcard/opensesame-autorun.yml
Launching resources/android/menu.opensesame
openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 1024
experiment.init_log(): using 'resources/android/defaultlog.csv' as logfile (utf-8)
experiment.run(): experiment started at Wed May 27 02:57:46 2015
opened /sdcard/Experiments/opensesame-settings.txt for reading
experiment_folder = /sdcard/Experiments/
logfile_folder = /sdcard/Experiments/
opened /sdcard/Experiments/opensesame-settings.txt for writing
experiment.run(): experiment finished at Wed May 27 02:57:51 2015
Launching /sdcard/Experiments/semantic_prime_touch.opensesame.tar.gz
openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 1024
experiment.init_log(): using '/sdcard/Experiments/subject-0.csv' as logfile (utf-8)
experiment.run(): experiment started at Wed May 27 02:57:53 2015
But it does not really give a clue where to look for the bug. The experiment runs fine on my laptop and i can run experiments (both the examples and self created) on the other two devices. So it seems there is something wrong with this particular experiment. I tried changing the back-end and changed the extension of the pictures from .jpg to .png and back but to no avail either.
Does anyone have a clue what might go wrong?
Thank you in advance.
Comments
I have rewritten the entire experiment and tested it step for step and it seems to work now. I still have no clue what caused it but it was probably some variable conflict.
Anyway, this thread can be deleted/closed
Good to hear that you figured it out, and thanks for letting us know!
Check out SigmundAI.eu for our OpenSesame AI assistant!