Howdy, Stranger!

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

Supported by

Opensesame not recognizing the variables from a loop table.

Hi I am starting with opensesame making my first experiment with the tutorial, but I'm already running into problems:

This is the table for the loops - as it is in the tutorial.

Then these is the message I am getting every time i open my sketchpads:

And the thing is my scripts are edited exactly as the tutorial shows:

And it all would be minor if not the fact that the experiment does not run because it really does not recognize the files.

I should add that all the files are in the file pool.

I really have no idea what I'm doing wrong, I hope someone can help :)

Comments

  • Hi,

    Can you provide the error message, or the experiment? Otherwise I can't really help you.

    In any case, the blue warnings are normal. Your code also looks fine. Do you run Opensesame 4, or still 3? If 3, then you should follow the tutorial for OS3 (in which you need to use [] instead of {}

    Eduard

    Buy Me A Coffee

  • edited December 2023

    Hi Eduard,

    Thank you so much for replying.

    I am sorry it was very late (and emotional...) when I wrote this post. I will try to explain the problem better because I really described it wrong.

    The experiment runs but stops at the first visual cue (this is what I meant by not running, sorry for the confusion it was a very big mental leap):


    I believe I have followed the tutorial correctly.

    I am running opensesame 4.

    Nothing happens when I click z or m on my keyboard. I always need to abort the experiment at this phase as it does not go further. So I linked those warnings about filenames to the fact that the parameters of the experiment do not change (as if it could not change the face and the x coordinates and advance further because it doesn't have any info about changing the file -> "gaze_{gaze_cue}.png" <- gaze_cue variable is not recognized, same case with target_pos and dist_pos).

    It can also be a problem of a keyboard response, as it is worth noting that I had a quite big issue with dependencies while installing and I am running my opensesame on fedora38 through pip install. They are hopefully now resolved but maybe something is still missing.

    The last error message that was related to dependencies or libraries was that of sound libraries missing. I resolved this by installing 'portaudio-devel' through dnf and the error disappeared and opensesame started running smoothly untill now. :)

    I tried anaconda install (there were immense problems so I decided not to), tried to run it on Ubuntu VM and container, but also - tough issues. Therefore pip install was the best I could do.

    Here is the experiment zip folder:


    I am sorry for the confusion before that. I hope now I provided enough info :)

  • Hi,

    I just tried your experiment and experienced quite some latency. First I thought something was broken, but I could fix it, by setting the duration of the feedback sound to zero. Once that is done, the experiment progresses the way it should.

    So if this doesn't work, your system seams to be the culprit.

    Eduard

    Buy Me A Coffee

  • Hello,

    the problem has been solved. I am not really sure how. Just suddenly it started working like it should and updated like it should?

    the logs went from:

    [2023-12-03 03:46:53,901:process:129:INFO] Starting experiment as ExperimentProcess-23
    pygame 2.5.2 (SDL 2.28.2, Python 3.11.4)
    Hello from the pygame community. https://www.pygame.org/contribute.html
    [2023-12-03 03:46:55,450:psycho:142:INFO] waitblanking = True
    [2023-12-03 03:46:55,450:psycho:143:INFO] monitor = testMonitor
    [2023-12-03 03:46:55,450:psycho:144:INFO] screen = 0
    [2023-12-03 03:46:56,442:experiment:345:INFO] experiment started
    [172.  28.]
    [172.  28.]
    [186.  28.]
    [186.  28.]
    [85. 28.]
    [85. 28.]
    [53. 28.]
    [53. 28.]
    [133.  28.]
    [133.  28.]
    [22. 28.]
    [22. 28.]
    [53. 28.]
    [53. 28.]
    [163.  28.]
    [163.  28.]
    [22. 28.]
    [22. 28.]
    [2023-12-03 03:46:56,852:psycho:103:WARNING] Canvas.show() took 37.61005401611328 ms
    [85. 28.]
    [14. 44.]
    [18. 44.]
    The experiment has been paused. Switch back to the experiment window and press space to resume.
    
    


    to actually registering what was going on finally:


    [2023-12-03 14:15:04,341:process:129:INFO] Starting experiment as ExperimentProcess-31
    pygame 2.5.2 (SDL 2.28.2, Python 3.11.4)
    Hello from the pygame community. https://www.pygame.org/contribute.html
    [2023-12-03 14:15:06,390:psycho:142:INFO] waitblanking = True
    [2023-12-03 14:15:06,390:psycho:143:INFO] monitor = testMonitor
    [2023-12-03 14:15:06,390:psycho:144:INFO] screen = 0
    [2023-12-03 14:15:07,467:experiment:345:INFO] experiment started
    [107.  28.]
    [107.  28.]
    [132.  28.]
    [132.  28.]
    [106.  28.]
    [106.  28.]
    [160.  28.]
    [160.  28.]
    [284.  28.]
    [284.  28.]
    [22. 28.]
    [22. 28.]
    [96. 28.]
    [96. 28.]
    [100.  49.]
    [100.  49.]
    [149.  28.]
    [149.  28.]
    [2023-12-03 14:15:07,915:psycho:103:WARNING] Canvas.show() took 38.40899467468262 ms
    [106.  28.]
    [2023-12-03 14:15:15,602:psycho:103:WARNING] Canvas.show() took 16.016006469726562 ms
    [14. 44.]
    [18. 44.]
    [2023-12-03 14:15:15,702:psycho:103:WARNING] Canvas.show() took 20.578861236572266 ms
    [2023-12-03 14:15:16,469:psycho:103:WARNING] Canvas.show() took 21.834135055541992 ms
    [2023-12-03 14:15:17,235:psycho:103:WARNING] Canvas.show() took 20.127058029174805 ms
    [2023-12-03 14:15:17,752:psycho:103:WARNING] Canvas.show() took 22.40586280822754 ms
    [409. 133.]
    [16. 44.]
    [18. 44.]
    [409. 133.]
    [2023-12-03 14:15:29,230:psycho:103:WARNING] Canvas.show() took 16.515016555786133 ms
    [16. 44.]
    [18. 44.]
    [2023-12-03 14:15:30,797:psycho:103:WARNING] Canvas.show() took 104.81786727905273 ms
    [2023-12-03 14:15:31,564:psycho:103:WARNING] Canvas.show() took 21.672964096069336 ms
    [2023-12-03 14:15:32,080:psycho:103:WARNING] Canvas.show() took 21.470069885253906 ms
    [398. 133.]
    [14. 44.]
    [18. 44.]
    [2023-12-03 14:15:35,597:psycho:103:WARNING] Canvas.show() took 21.322965621948242 ms
    [2023-12-03 14:15:36,363:psycho:103:WARNING] Canvas.show() took 20.84207534790039 ms
    [2023-12-03 14:15:36,878:psycho:103:WARNING] Canvas.show() took 20.30801773071289 ms
    [409. 133.]
    The experiment has been paused. Switch back to the experiment window and press space to resume.
    

    In the first log I still pressed the keys and waited for the gaze cue and image change, but nothing happened.

    In the second log the experiment started finally responding.

    I am still curious of that the issue might have been?

    So the response would still be appreciated :)

  • Who knows :)

    Let's be happy it works.

    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