Howdy, Stranger!

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

Supported by

Cannot run a file in runtime versions

Hi! I created a test experiment to figure out how opensesame works and I can't seem to get it to work on runtime versions. I have a runtime version of opensesame on my computer and another on a tablet (acer Iconia One 7, android 5.0.1).

On the computer it flashes like it's about to do something but doesn't let me get past the "Opensesame Run" screen.

On the tablet it finds the file, allows me to put in a subject number and destination file for the data, and then when I click OK it closes OpenSesame.

Could I be saving the file wrong? Is there anything specific I should be doing other than clicking "save as..." on OpenSesame?

Thank you!

Comments

  • Also, I made it doing point and click, but here is the script, in case it helps:

    Generated by OpenSesame 2.9.7 (Hesitant Heisenberg)

    Fri Jan 13 13:58:06 2017 (nt)

    http://www.cogsci.nl/opensesame

    set background "black"
    set bidi "no"
    set canvas_backend "droid"
    set compensation "0"
    set coordinates "relative"
    set description "Default description"
    set font_bold "no"
    set font_family "mono"
    set font_italic "no"
    set font_size "18"
    set foreground "white"
    set height "768"
    set keyboard_backend "droid"
    set mouse_backend "droid"
    set sampler_backend "legacy"
    set start "experiment"
    set subject_nr "0"
    set subject_parity "even"
    set synth_backend "droid"
    set title "Test Experiment"
    set width "1024"

    define form_multiple_choice BoyBand
    set advance_immediately "no"
    set allow_multiple "no"
    set button_text "Ok"
    set form_title "BoyBands"
    set form_var "response"
    options
    Backstreet Boys
    NSync
    98º
    Five
    Westlife
    I have no soul and thus no favorite boyband of the 90s
    end
    question
    This is a very important question so please take your time to think about it.
    What is your favorite boyband of the 90s?
    end

    define form_text_display Goodbye
    set cols "1;1;1"
    form_text
    You´ve been a great sport but now the torture is over.
    Thanks for participating!
    Your data will most certainly serve no purpose, but thanks again!

    Cheers!
    __end__
    set form_title "<span size=24>Thank you!</span>"
    set ok_text "Ok"
    set rows "1;4;1"
    widget 0 0 3 1 label text="[form_title]"
    widget 0 1 3 1 label center="no" text="[form_text]"
    widget 1 2 1 1 button text="[ok_text]"
    

    define text_input Name
    _question
    Please write your name and press ENTER when you are done:
    end
    set accept_on "return press"
    set background "black"
    set font_family "sans"
    set font_size "24"
    set foreground "white"
    set frame "yes"
    set frame_width "3"
    set linewidth "600"
    set timeout "5000"

    define form_text_display Preparingformouseresponse
    set cols "1;1;1"
    form_text
    Next up you need to click the mouse. Not sure why, just do it though.
    This screen will stay until you press OK and then click the mouse somewhere random.

    Thanks!
    __end__
    set form_title "<span size=24>Random mouse clicking</span>"
    set ok_text "Ok"
    set rows "1;4;1"
    widget 0 0 3 1 label text="[form_title]"
    widget 0 1 3 1 label center="no" text="[form_text]"
    widget 1 2 1 1 button text="[ok_text]"
    

    define mouse_response RandomMouseResponse
    set allowed_responses "1"
    set correct_response "1"
    set flush "yes"
    set show_cursor "yes"
    set timeout "infinite"

    define form_text_input RandomTextBox
    set cols "1"
    form_question
    Write something random here and then press ENTER
    But next up is a random sound file for you to enjoy for all of 5 seconds.
    end
    set form_title "Random Text Box"
    set form_var "response"
    set rows "1;1;6"
    widget 0 0 1 1 label text="[form_title]"
    widget 0 1 1 1 label center="no" text="[form_question]"
    widget 0 2 1 1 text_input focus="yes" stub="" return_accepts="yes" var="[form_var]"

    define form_text_display WelcomeScreen
    set cols "1;1;1"
    form_text
    Hi! Welcome to our test experiment!
    I hope you enjoy this clunky version of a test :)
    Good luck!
    end
    set form_title "Welcome"
    set ok_text "Ok"
    set rows "1;4;1"
    widget 0 0 3 1 label text="[form_title]"
    widget 0 1 3 1 label center="no" text="[form_text]"
    widget 1 2 1 1 button text="[ok_text]"

    define sequence experiment
    run WelcomeScreen "always"
    run form_consent "always"
    run Name "always"
    run BoyBand "always"
    run RandomTextBox "always"
    run sampler "always"
    run Preparingformouseresponse "always"
    run RandomMouseResponse "always"
    run Goodbye "always"

    define form_base form_base

    define form_consent form_consent
    set accept_text "Participate!"
    set checkbox_text "I have read and understood the information shown above"
    set decline_message "You need to accept the consent form to participate!"
    set decline_text "Do not participate"
    form_text
    You are about to participate in an experiment.

    This experiment poses no known risks to your health and your name will not be associated with the findings.
    
    Upon completion of your participation in this study you will be provided with a brief explanation of the question this study addresses.
    
    If you have any questions not addressed by this consent form, please do not hesitate to ask.
    
    You can stop at any time during experiment if you feel uncomfortable.
    __end__
    set form_title "<span size=24>Consent form</span>"
    set rows "1;4;1;1"
    widget 0 0 2 1 label text="[form_title]"
    widget 0 1 2 1 label center="no" text="[form_text]"
    widget 0 2 2 1 checkbox var="checkbox_status" text="[checkbox_text]"
    widget 0 3 1 1 button var="accept_status" text="[accept_text]"
    widget 1 3 1 1 button text="[decline_text]"
    

    define notepad getting_started
    set description "Some pointers to help you get started!"
    note
    i,
    Welcome to OpenSesame 2.9.7 "Hesitant Heisenberg"!
    If you are new to OpenSesame, you may wish to follow one of the tutorials,
    which can be found online. There are also many example experiments, which will
    help you to get started with creating your own. These can be found in the
    "examples" folder provided with OpenSesame or, again, online.
    For more information, please refer to OpenSesame documentation area:
    - http://osdoc.cogsci.nl/
    And feel free to ask for help on the forum:
    - http://forum.cogsci.nl/
    Have fun with OpenSesame!
    --
    Sebastiaan
    end

    define sampler sampler
    set duration "sound"
    set fade_in "0"
    set pan "0"
    set pitch "1"
    set sample "Kalimba_short.wav"
    set stop_after "0"
    set volume "1"

    define sketchpad welcome
    set description "Displays stimuli"
    set duration "keypress"
    set reset_variables "no"
    set start_response_interval "no"
    draw textline 0 0 "OpenSesame 2.9.7 Hesitant Heisenberg" center=1 color="white" font_family="serif" font_size=32 font_bold="no" font_italic="no" html="yes" z_index=0 show_if="always"

  • edited January 2017

    Hi Candice,

    Welcome to the forum!

    Could you post the debug file that the Runtime writes to your tablet? It should be something like /sdcard/opensesame-debug.txt and written to the main folder on your tablet. That file will often tell you more about the issue you are experiencing with the Runtime version.

    If i had to guess based on the script you provided the issue is either with the mouse_response item (you should use the touch_response items on Android systems) or the sampler item (try to change your files to .ogg instead of .wav). But it could be anything, really.

    Best,
    Laurent

    ps. Great questionaire :smiley:

  • Hi Laurent,

    Thank you!
    I attached the debug file and the settings file. I feel like it might be a settings issue. I tried the changes you suggested, nothing. I tried one of the examples included in the PC version (attentional_capture_android) and it won´t even find the file in the SD card.

    Any suggestions?

    Thank you so much!

  • Hi Candice,

    Based on the debug file it seems that you have not set the correct resolution of your experiment. All Android-based experiments require a resolution of 1280x800 pixels. You can change this in the main experiment item (the blue icon at the top of your overview panel).

    Does the example file run on your tablet? It is possible that you are not able to find it on the SD-card: the file itself is hidden. All other files should appear though.

    Best,
    Laurent

  • When I changed the resolution and the soudn files to .ogg it worked.

    Thank you so much!!

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