Howdy, Stranger!

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

Supported by

Uncaught ReferenceError: Variable ... not present in var store

Hello!

First of all, I'm sorry if this topic is already asked before as I'm afraid the solution will be different in my situation. I really am a newbie in managing Open Sesame too so I'd like to ask for your assistance.

I'm currently having an issue testing my experiment on both external browser (Chrome) and as JATOS study. For a starter, my experiment is an Implicit Association Test (for Happiness) and I used an IAT template from Michael Pinus and Yoav Bar-Anan (https://osf.io/v8yaj/) for the experiment. When I tested it on the software, it works perfectly fine. But the problem starts when I tried it on browser, as my final goal is to bring it Online through JATOS. It says on the screen: "Uncaught ReferenceError: Variable 'blocknumber' not present in var store.

The console looks like this:

And this is my file (if in case it's needed):


That is all, I think. I'm really open for any further discussion. Thank you very much in advance! :)

Comments

  • Hi Ananda,

    The IAT template that you're using is not compatible with OSWeb. An overview of functionality that is available in OSWeb, and an explanation of how to check whether your experiment is compatible, can be found here:

    If you want to run an IAT online, you're better of with this tutorial by @lvanderlinden . This is not a ready-made experiment, but it requires only functionality that is also compatible with OSWeb.

    Cheers!

    Sebastiaan

  • Hello, Sebastiaan!

    I'd like to thank you for your answer and responsiveness, I appreciate it a lot.

    So.. I've followed your instruction to take a look at the tutorial, and thus I've made new experiment with said steps. I've already checked for the functionality that is compatible with OSWeb as well. The experiment seems to work well on software, but just like before, it doesn't quite work on the browser. But there's no error notice on the screen; in fact, the first sketchpad appeared. But then, when I tried to move to the next sketchpad (with keyboard 'space' press), nothing happened. I've tried to change the duration of said sketchpad to keypress, then to zero, but I don't think that changes anything.. And for side note, I've disabled the AdBlock that I have on my Chrome as well.

    The console looks like this:

    And this is the file, just in case:


    I'd be beyond grateful if you want to look at the issue further. Thank you very much!

  • Hi Ananda,

    This is because of a known and subtle issue (ping @Daniel ) where multiple linked copies in the same sequence lead to trouble in OSWeb. The solution will be to use either unlinked keyboard_response items (which is of course not elegant), or to use a keypress duration in the sketchpad items.

    Cheers!

    Sebastiaan

  • Hello Sebastiaan, thank you so much for answering! I'm deeply sorry for I posted the same discussion twice; I'll make sure I won't make the same mistake.

    Following the current solutions, I've tried making some unlinked keyboard_response for every sequence I have, then I tried to run them on browser. It seems like the issue isn't resolved yet, as my screen still freezes on the first sketchpad (and unresponsive). I then tried to do the latter, I'm changing the duration of sketchpads into keypress, and it doesn't seem to work as well.

    Perhaps it's quite irrelevant, but for my console, as you can see in my previous comment, I have a message "failed to parse SourceMap". After I unchecked the "Enable JavaScript source maps" and "Enable CSS source maps" on the setting of Chrome, the message seems to disappear from the console, although the space keypress issue still persists. If you perhaps have any other ideas about this, I'll be forever thankful. Sorry to bother you this far, and thank you in advance!

  • It seems like the issue isn't resolved yet, as my screen still freezes on the first sketchpad (and unresponsive)

    Then there are probably still linked copies of some things. So I would first look at that, and if you cannot figure out you can attach the experiment here again.

    Perhaps it's quite irrelevant, but for my console, as you can see in my previous comment, I have a message "failed to parse SourceMap".

    I think that's harmless!

  • Hello Sebastiaan, here's the file of my experiment:

    The file name is still same as before, but I already changed the keyboard_response into unlinked copies. Thank you so much for taking this concern seriously! :)

  • Hi Ananda,

    Ok, the issue was actually something different from what I thought. (Although the linked copies are also a thing.) Apparently 'space' is not accepted as an allowed response. So clearing the allowed-responses field will resolve this issue. We'll look into this.

    Cheers!

    Sebastiaan

  • Hello Sebastian!

    I've cleared all of the allowed-responses field and that actually resolves the issue! Thank you very much. Although, in return, there's one problem that just arises.. So, I have a 7 blocks experiment, and each of them requires the participants to get the correct responses in a particular sketchpad by clicking either 'e' or 'i' button on keyboard. On the first block, the keyboard response works just fine. But when the experiment continues to second block (and the problem persists onwards), the sketchpad can not proceeds unless I double click the correct response on my keyboard. I've tried searching for the similar problem on the forum, and the responses are all the same: to change the duration of sketchpad to zero; in which, I already set before the problem arises. If perhaps you have any idea for this, I will be so grateful.

    Here's the file again just in case it's needed:

    Thank you so much!!

  • That's because of the run-if statement, which is missing in the later trial sequences, and therefore the second-chance response is always executed.

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