Howdy, Stranger!

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

Supported by

Three problems after importing the study

I used Jspsych, a JavaScript framework, to create behavioral experiments that run in a web browser. When I finished the coding successfully, which means the experiment runs perfectly on my computer, I followed the steps according to the JATOS website and got a study link. There are three problems with the experiment after I export the experiment from localhost and export the zipped jatos file to the public server.

1. The consent page shows twice. The first page of my experiment is the consent page. Participants inform me the consent page shows twice after clicking the "Continue" button (i.e. consent page->click continue button->back to consent page->click continue button again->instruction page). This situation only happens after I import the jzipped file to the public server. 


2. There is a blank screen between the images. My experiment is about showing images to participants and they need to respond by choosing 1-9. The sequences of the images should be image1->image2 ->image3->...etc. However, after I import the jzipped file to the public server, the sequence changed to image 1->blank screen->image2->blank screen->image3->blank screen->...etc. I really don't know why this is happening so I really need your help.


3. I can't get the results after participants finish the online experiment. I share general multiple study link with them and the status always show"DATA_RETRIEVED". Is it something wrong with my experiment or my computer? I am using JATOS 3.7.3, for your information.


I have been dealing with these problems for days! Hope someone can help me!!!!Thank you!!

Comments

  • Hi Cody,

    Let's see.

    When I finished the coding successfully, which means the experiment runs perfectly on my computer,

    Can you tell me a bit more what you mean exactly? Do you have a local JATOS running on your computer, and the results get correctly stored on the JATOS database? From your message, I think the answer is yes to both these questions, but want to double-check.

    The consent page shows twice. This situation only happens after I import the jzipped file to the public server. 

    This is weird. If you try it on the sever (is this MindProbe?) can you also reproduce this error? If so, do you see any errors in the console (your browser's developer tools) when clicking the first time?

    the status always show"DATA_RETRIEVED"

    If the data are immensely big, it's possible that participants closed the experiment tab before sending the data. Unlikely, but possible I guess. And this would not happen on a local JATOS when there is no remote server to send the data to. So, again to check, a few questions: (1) do you get the results stored properly on your local JATOS? (2) How big is your dataset? (3) can you reproduce this behaviour? ie when you click on the general multiple link and complete the study, what happens with your results?

  • Hi Elisa,

    Thank you for replying to me!! Maybe I explain not clearly through words. Do you mind if we can have a zoom meeting with each other? If not, I will try my best to explain everything in words. Thank you!!

  • Please try to describe your problem here :)

  • Okay, I will try my best to describe my problems with some photos to help:) Thank you!!!

  • Dear Elisa,

    Can you tell me a bit more what you mean exactly? Do you have a local JATOS running on your computer, and the results get correctly stored on the JATOS database? From your message, I think the answer is yes to both these questions, but want to double-check.

    Yes. I have a local JATOS running on your computer, but I don't whether the results get correctly stored on the JATOS database or not. I add code based on https://www.jatos.org/jsPsych-and-JATOS.html instruction. I have screen-cut my coding for your information. Please see the attached photos. Thank you!

    This is weird. If you try it on the sever (is this MindProbe?) can you also reproduce this error? If so, do you see any errors in the console (your browser's developer tools) when clicking the first time?

    This problem only shows on the general multiple links that I send to my participants.

    If the data are immensely big, it's possible that participants closed the experiment tab before sending the data. Unlikely, but possible I guess. And this would not happen on a local JATOS when there is no remote server to send the data to. So, again to check, a few questions: (1) do you get the results stored properly on your local JATOS? (2) How big is your dataset? (3) can you reproduce this behaviour? ie when you click on the general multiple link and complete the study, what happens with your results?

    Do you suggest there is something wrong with my coding? I can not receive any result when I or the participant finish the study through the general multiple links.

    Again, really appreciated your kind reply. Please feel free to ask me questions :)

    Regards,

    Cody

  • Hi cody, can you send me the General Multiple link? I'd like to check it in my browser. If you want, this is my address: lange.kristian at gmail.com.

    Best,

    Kristian

  • Hi Kri,

    Sure!!!

    Best,

    Cody

  • Hi cody,

    I looked at your code. It mostly looks fine but you do a turn short before you are about to finish.

    You have a final trial that redirects to Prolific. Here are the important parts of your code:

    var jsPsych = initJsPsych({
       on_finish: () => jatos.endStudy(jsPsych.data.get().json())
    });
    
    ...
    
    // Thank you page
    var final_trial = {
        type: jsPsychHtmlKeyboardResponse,
        stimulus: `<p>You've finished the last task. Thanks for participating!</p>
    <p><a href="https://app.prolific.co/submissions/complete?cc=xxxxxx">Click here to return to Prolific and complete the study</a>.</p>`,
        choices: "NO_KEYS"
    }
    timeline.push(final_trial);
    
    jatos.onLoad(() => {
        jatos.addAbortButton();
        jsPsych.run(timeline);
    });
    

    You redirect to Prolific in the last trial and jsPsych on_finish callback is never called and therefore the study never finished and result data never transferred.

    Remove the final trial and let JATOS do the redirect to Prolific for you: https://www.jatos.org/Use-Prolific.html. Just put the Prolific URL in your study's study properties / End redirect URL (in JATOS).

    Best,

    Kristian

  • Hi Kristian,

    Thank you very much for your response. I have solved the problems based on your comments. You save my day! Thank you!

    Best,

    Cody

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