Howdy, Stranger!

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

Supported by

Second component stuck on 'Building experiment structure' (OSweb experiments)

Hi everyone,

I am running into trouble with linking two OSweb experiments in JATOS and I was hoping someone could help me. Specifically, the second component of my JATOS experiment won't launch and will stay in the first screen stating 'Building experiment structure'.

I have tried uploading the second component as an individual study. It has no trouble booting up then. This makes me think that something has gone wrong with merging the two OSweb directories. What I did was:

  • Exported both experiments in OS as a JATOS file.
  • Merged the two .zip directories by renaming the .html file of the second component and copy pasting it in the .zip file of the first component together with the Open Sesame file. I left the css, img and js folders untouched.
  • Uploaded the combined folder (containing two .html files and two OS files) in JATOS
  • In the JATOS environment: Added in a new, second component and linked the .html file belonging to the second component.

Anyone has an idea what could have gone wrong? I have worked with it last year and it worked like a charm then!


PS: I have also tried linking two mock experiments (the standard that OS opens with) with the above procedure. Same problem.

Comments

  • If you did the same thing before and it worked there might be something wrong with JATOS. Two questions:

    • Do you get any errors or warnings when you import the new study? (You said upload but I assume it's import?)
    • If you open the Developer tools, do you see any errors in the console when you start the second component?

    Best

    Elisa

  • Thanks for your reply! Regarding your points:

    • My bad, I meant 'import' like you said. I'm not getting any errors when importing.
    • I've opened up developer tools while trying to fire up the experiment and there's loads of errors, but this one seems to be unique to this experiment:

    Looks like something in the CSS or JS folders bricks the experiment? If it helps, I'm using version 3.5.4 of JATOS and the newest OS build (3.3.11).


    Best,

    Tom

  • Hi Tom,

    Did you copy the component's JSON input into the new study? OSWeb studies need it to run.

    Apart from this I can't see any error in how you merged both OSWeb studies - I would have done the same.

    Best,

    Kristian

  • Hi Kristian,

    Thanks for your reply! Are you saying I should copy paste the same JSON input from my first component into the same field in the second component? Looking at my working experiment from last year (which even had three components!), I left those fields blank at the time.

    In the mean time I've found a workaround: two seperate JATOS studies and using a jatos.endStudyAndRedirect call to move to the next one.

    I've done some further digging for this response and it looks like the problem is some interaction between my server's version and the OSweb version. When I revert back to an older version of OS and export the experiments in that version, it works again like it should.. I wish that crossed my mind before coding the workaround, oh well!

    Best,

    Tom

  • Hi Tom,

    In the mean time I've found a workaround: two seperate JATOS studies and using a jatos.endStudyAndRedirect call to move to the next one.

    That's another possibility, not the most elegant but if it works it works.

    Are you saying I should copy paste the same JSON input from my first component into the same field in the second component?

    From the original component from the original OSWeb study. I tried it on my local JATOS with two random OSWeb studies: merged them like you described. I got a similar error message as you got, but after I added the JSON input it vanished.

    I've done some further digging for this response and it looks like the problem is some interaction between my server's version and the OSweb version. When I revert back to an older version of OS and export the experiments in that version, it works again like it should.

    Maybe older OSWeb versions don't use the JSON input. I don't know that much about OSWeb ;)

    Best,

    Kristian

  • Hi All,

    I know this is an old post but I am facing the same issue and I would like to get some insight on how to solve it.

    I am making an experiment which will be comprised of 3 experiments created in Open sesame. It is easy for me to import a study and select the zip file for one study, but I am having some trouble adding the other elements.

    What I did is I exported the experiment as a JATOS study, and the add component in JATOS is asking me for the html. So, I copied the html file form the folder fo the new experiment (renamed it) along with the osexp file in the folder fo my initial experiment, the one that was uploaded first. I then inserted the name of the html file fo the new experiment in the add component section.

    Unfortunately, the added experiment does not run. I check the html file, and it refers to the osexp file that is present in the folder. Is that something else that needs to be copied. Because I thought since both experiments were osexp it would be able to run with just the new component.

    If I import it as a separate study, the experiment runs fine. Is there any way to copy components from one JATSO experiment to another. I have only found the clone option, but that only does it within the same experiment.

    After reading this, I added the JSON in my additional component, still no luck.

    I then tried what was initially described here, inserting the html and osexp before upload and them importing the experiment again. The problem is, I cannot upload it in such a format, so I made a zip file of the bulk of 3 experiments, with two of their htmls renamed. The upload fails.

    So my question is, how did TIJ upload a file containing more than one experiment?

    I also tried redirecting from one experiment to another, but it simply did not happen. I did this by going into the Properties of my first component in the End Redirect URL and simply put the link that I see in my browser when looking at my second component. Is this not the way to fo it? the three elements run fine independently. I am not keen on this solution because I would like to randomise my components.

    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