Howdy, Stranger!

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

Supported by

OSWeb error

Hi,

I'm getting an error when I run my experiment online:


Uncaught TypeError: Cannot read property 'body' of null

  at PythonParser._run_statement (tmpi90if9hh.html:35)

  at PythonWorkspace._eval (tmpi90if9hh.html:35)

  at Sequence.run (tmpi90if9hh.html:35)

  at Sampler._complete (tmpi90if9hh.html:35)

  at Sampler._complete (tmpi90if9hh.html:35)

  at Events.proceed (tmpi90if9hh.html:35)

  at Events._audioEnded (tmpi90if9hh.html:35)

  at HTMLAudioElement.SamplerBackend.sample.onended (tmpi90if9hh.html:35)

DevTools failed to load SourceMap: Could not load content for file:///C:/Users/jelle/AppData/Local/Temp/vendors~osweb.1.3.8.bundle.css.map: System error: net::ERR_FILE_NOT_FOUND


However, when I run the experiment offline, it works just fine. The OSWeb tool also mentions no compatibillity issues. It does warn about 18 MB of attachments (images & audio files), could this be an issue?


Best

Jelle

Comments

  • Hi @JelleStudentRug ,


    Could you attach the experiment?


    Cheers,


    Lotje

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

  • Thanks for your quick reply! I tried to attach the experiment here, but I got a 413 code (probably too big of a file). I've uploaded it to google drive, and it can be found through this link:


    https://drive.google.com/file/d/1qRJlNJ8Nli4b6pEpkh0KX60nh7VLbUog/view?usp=sharing


    The experiment itself is in Spanish, with lots of audio files, and I apologise for the lack of comments in the javascript codes. Basically, each item will have a loop to ask several questions: Who is the biggest, Who is the smallest, Who is Dana / Paul / Danny etc., Did they do the task? (for items with Incluso / Ni Siquera) and Did anyone else do the task?. The experiment now gives the error in OSWeb when the participant gets to the question "Who is Dennis?", answers it correctly, hears the feedback, and THEN gets the error, when it should start with the second question "Did dennis get the flower?" (again, all in Spanish, my apologies).


    I suspect multiple possible causes: the conditional statement for running that loop only with the second training item, the same audio file being loaded in the second loop as in the first (which shouldn't be an issue because the positive feedback audio file has been used many times in the instructions already, but who knows), or some other cause.


    Thanks in advance!

    Jelle

  • I have tried the conditional with plain numbers and now it does work. I had a conditional of

    [Item]=="t2"

    Which caused the error. I'm not sure if it should have been single ' 's, or if it does not work with word variables, so I changed the item numbers of the training to 100 and 200, with the corresponding:

    [Item]==200

    as conditional.

    I'm not exactly sure why it then still gave an error with references to the audio file. But it seems to work now!

  • I've got the experiment to work locally in my browser, and on the JATOS test server of CogSci.

    I have been given access to a new JATOS server (I was using the server of a different faculty and now have been given access to my own faculty's server), but I was told that if my experiment uses any absolute paths, I'd have to put /j in front of any absolute paths. When I uploaded the experiment on that server, I could not start the experiment, I would just see a blank page. The console gave me these error messages (see screenshot):


    It's definitely not the complexity of my current experiment, I tried a short experiment on the server with just a couple of slides and that did not work either. So it probably has to do with the intended paths. Does anyone have a clue on how to fix this?


    Thanks

    Jelle

  • Sorry for spamming the forum with questions and finding the answers myself later.

    The JATOS server I was working on was situated in a subdomain of the main site, /j

    I had to change this in the .html file that the OSWeb zip file includes, by unzipping that file, changing the one absolute path and add the /j in front of it, and zip the directory folder and info.jas into a new zip folder (and not zipping the newly created folder which I did first, because then JATOS won't recognise the .zip file as a proper experiment).

  • Hi @JelleStudentRug ,


    Glad to hear everything worked out and thanks for sharing your solutions! :)


    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