Howdy, Stranger!

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

Supported by

[solved] the runtime for android quit automatically

edited November 2013 in OpenSesame

I have met some problems when using the opensesame runtime for android. I designed my tasks with opensesame on the computer with droid back-end, and saved them with the type of OpenSesame file (*.opensesame). When I inserted it into my android phone (whether HTCt328d or Sumsang Galaxy Gio(S5660)) in the sdcard, I can open them and type in my subject number as well as location for logfile, but after that it quit automatically. Worsely, when I use another phone (ZTE V967s), the tasks could not be read from the sdcard. When I open opensesame runtime and press enter, it just quit. So what is the problem?

Comments

  • edited 3:22PM

    Could you please post the debug information from /sdcard/opensesame-debug.txt? See also:

    Cheers,
    Sebastiaan

  • edited November 2013

    the contest of the bug file is as follows:

    Launching resources/android/menu.opensesame
    openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 512
    experiment.init_log(): using 'defaultlog.txt' as logfile (utf-8)
    experiment.run(): experiment started at Fri Nov 15 23:34:28 2013
    experiment.run(): experiment finished at Fri Nov 15 23:34:41 2013
    Launching examples/gaze_cuing_android.opensesame.tar.gz
    openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 512
    experiment.init_log(): using 'subject-0.csv' as logfile (utf-8)
    experiment.run(): experiment started at Fri Nov 15 23:34:44 2013
    Traceback (most recent call last):
      File "opensesame/main.py", line 100, in main
      File "opensesame/libopensesame/experiment.py", line 287, in run
      File "opensesame/libopensesame/sequence.py", line 55, in run
      File "opensesame/libopensesame/loop.py", line 147, in run
      File "opensesame/libopensesame/sequence.py", line 55, in run
      File "opensesame/libopensesame/loop.py", line 147, in run
      File "opensesame/libopensesame/sequence.py", line 55, in run
      File "opensesame/libopensesame/mouse_response.py", line 80, in run
      File "opensesame/openexp/_mouse/legacy.py", line 316, in flush
    response_error: The escape key was pressed.
    
  • edited 3:22PM

    A right, I see. The debug info indicates that you pressed the back button, which is mapped onto the escape key and immediately aborts your experiment. So the debug info doesn't indicate any unexpected errors.

    If you are sure that the experiment also crashes when you don't press the back button, could you please post the experimental script, for example to pastebin?

    Cheers,
    Sebastiaan

  • edited 3:22PM

    I have posted the script onto pastebin, you could see it by visiting https://pastebin.com/HFNeMMQP.
    Please help me resolve this bug. Thank you.

  • edited 3:22PM

    I really cannot think of another explanation than that you are actually pressing the back button, and the experiment ends as a result of this. Note that the back button can be physical, i.e. a real button on the side of your phone, or emulated, i.e. a 'soft' button at the bottom of the screen. Pressing either one will abort the experiment in the way that you experience.

    Are you sure that this is not it? If not, when does this problem occur? Does it consistently occur at the same moment during the experiment, at (seemingly) random moments, or something else altogether?

    Cheers,
    Sebastiaan

  • edited 3:22PM

    It occured at the same time as I have described. But now I have resolved this problem. It is probably because of the bug of the program. For example, when I saved the program in the type of .opensesame, it failed to include the files in filepool. When it could not access the files, it quit automatically. Thank you.

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