Howdy, Stranger!

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

Supported by

OSWeb - keypress not registering

I'm getting close to my wit's end with this, please help. My experiment runs fine in the main OpenSesame application, but when I run it in OSWeb it gets to the first introductory sketchpad item which ends "on keypress", and then just stalls out. Doesn't accept any input. I don't know what's happening. I tried changing it to mouseclick, which didn't work either. I tried changing it so it would time out after 5000 ms. That didn't work either. It just gets there and stops. This happened before with a feedback item too.


More suspiciously, I tried taking out the sketchpad item altogether and then it skipped the entire practice sequence. And then the main experiment loop started and it was registering keypresses correctly. I just don't really know what's happening.

I've tried reinstalling the latest version of OSWeb, btw.

I tried uploading the file here but I got a network error (too big??). Here are some screenshots instead.



Comments

  • Hi @finlay ,

    If you look in the browser console, do you see any error message? And if so, what is it?

    And are you able to create a smaller experiment file that demonstrates this freezing behavior, so that you can upload it here?

    -- Sebastiaan

  • I don't think any of these error messages are related to OSWeb. The top set came up when I launched the browser, and the bottom set came up when I closed the window.

    Here is a small version of the draft test. The other one was bigger because it had all the sound files for the main test that I haven't actually implemented in the draft version yet.

  • I just changed the reset_feedback items so they were no longer "linked". This was giving me an error in the compatibility check but I had ignored it because I didn't think it was so important! :/ Now the experiment seems to work OK?? I'd appreciate anyone who can help me understand what's going on! (The form_text_display objects are also giving an error but they seem to work fine so I really have no clue at this point!)

  • edited March 2021

    Hi @finlay ,


    I think you can clean up your experiment by having an additional loop-sequence structure within your trial_sequence for presenting the three sound stimuli (and the delays). By doing so, you don't have to create three different sampler items, and the overview of your experiment (and, as a consequence, also the place where you need to reset the response variables) becomes more clear. In the nested loop, you can determine the name of the first, the second and the third sound file by using the square-bracket syntax like so:



    Note that, because the order of this additional loop is fixed, the order of the loop should be set to "sequential".


    Next, you can use the square-bracket syntax in the sampler item to play the current wav file:


    And in the delay item to set the duration:


    This structure should not give the "prepare phase for reset_feedback_item is called multiple times in a row" message.


    I attached an example.


    Hope this helps!


    Cheers,


    Lotje


    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited March 2021

    Thanks, @lvanderlinden, i'll try that! :)

    Do you have any way to break up the main experiment? For the draft I've only put in like, 24 items, but actually I'm gonna have about 400 trials and I need to give people a break every so often! I've just put in some dumb code that shows a feedback screen every 10 or 20 trials. But is there a "proper" or neater way to do this? I couldn't just break the main loop because it would reset. (Maybe it's too long haha)

  • HI Finlay,

    Why do you think your method is dumb? It sounds perfectly valid to me, and I do it in essentially the same way.

    Eduard

    Buy Me A Coffee

  • Hi Eduard, I just have a suspicion that there's an easier way to do it! Thanks for validating me!

    Finlay

  • Hi @finlay ,


    No, your method is perfect, especially because the "resume-after-break" functionality of the loop item does not work in OSWeb (yet).



    So this is a good workaround!


    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

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