Howdy, Stranger!

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

Supported by

[solved] File pool, sketchpad and loop item: something seems to be going wrong (Windows 7)

edited July 2015 in OpenSesame

I'm experiencing trouble with the creation process (by the way, I downloaded the latest version available for Windows 7, Open Sesame 2.9.6). More specifically, when I try to set up the sketchpad so that it displays different stimuli according to the variable specified in the loop item -following the instructions provides from about minute 34:20 in Sebastiaan's tutorial ()- it doesn't seem to work. In other words, after selecting all the relevant files corresponding to the different stimuli -and inserting them into the file pool- and after editing the script so that it draws on the variable specified in the loop item by entering the name of the variable (in this case, "object") between square brackets, the programme says something like "the image's name is unknown or inconstant" and it displays a question mark in the center of the sketchpad item. I've tried to run the experiment anyway but, after displaying the instructions, it exits the experiment and says:

"Variable 'Object' is not set in item 'object1'. You are trying to use a variable that does not exist. Make sure that you have spelled and capitalized the variable name correctly."

I've double-checked the spelling a number of times and it's correct.

I've also checked out the article you co-authored with Schreij and Theeuwens in 2012 but I couldn't find any solutions. Does anybody have any idea of what might be going wrong? I'd be really grateful if you could help me. I've attached a screen capture of the message itself in case that helps.

Thank you very much,
Javier

<imgsrc='http://img.cogsci.nl/uploads/557acaaf9e12a.jpg' />

Comments

  • edited 12:09PM

    Hi Javier,

    Do you use an inline_script? If so: the variables that are defined there need to be "set" to be available in the whole experiment - such as in sketchpads. To do this, you'd insert the line "exp.set("variablename", value).

    Cheers,

    Josh

  • edited 12:09PM

    Hi Josh,

    And thanks a lot for your help! However, I still can't make it work. I've inserted the line with the name of the variable ("object") both in the "prepare" and the "run" tabs and it does the same thing as before. Am I supposed to insert that line into both tabs, though?

    Also, where should I drag the inline_script to? The tool item, the sequence item, or both?

    Thank you very much!
    Javier

  • edited 12:09PM

    Hi guys,

    I haven't been able to solve the issue described in the initial post above. I'd be very grateful if somebody that has successfully created an experiment could help me.

    Cheers,
    Javier

  • edited 12:09PM

    Hi Javier,

    No, the creation of variables is something you'd only have to do in the prepare phase. The run phase is where you'd display your stimuli if you weren't using a sketchpad.
    Since I don't know how you built your experiment I can only guess where the problem is caused. In the sketchpad, did you put the variable name between square brackets with apostrophs? (e.g. ["object"]). If so, then you need to remove the apostrophs: [object].

    Hope this is the solution! (Or perhaps it solves one of multiple problems ;)

    Cheers,

    Josh

  • edited 12:09PM

    Hi Josh,

    I'm actually creating a very similiar experiment to the one described in the 43-minute tutorial, that is, the cat faces one. The problem is once I've selected the pictures corresponding to the stimuli (and put them together in the file pool), the change I introduce in the sketchpad's script so that it refers to a particular variable (i.e. "[object]", without apostrophs, instead of "filename.jpg") doesn't have any effect. I've tried what you've told me about the inline_script thing and still doesn't work :/

    I promise I did everything just like shown in the experiment :)...but for some reason it doesn't seem to work in my laptop (Windows 7).

    I'm actually quite desperate because I need to test 20 participants before the 2nd of July. If you know somebody who knows how to create simple experiments like the cat faces one (maybe one of your students?) and would be willing to help me via skype so we can use the shared screen function I'd be more than grateful! Of course, I would compensate him/her for their time, and I think I wouldn't need more than 1 hour, since it is only this little issue involving the loop and the sketchpad which is stopping me from finishing the experiment I'm building.

    Thanks a lot for your time!
    Javier

  • edited 12:09PM

    Hi Javier,

    The problem is once I've selected the pictures corresponding to the stimuli (and put them together in the file pool), the change I introduce in the sketchpad's script so that it refers to a particular variable (i.e. "[object]", without apostrophs, instead of "filename.jpg") doesn't have any effect. I've tried what you've told me about the inline_script thing and still doesn't work

    What exactly have you done, and in what sense doesn't this work? I.e. do you get an error message, or what exactly happens? Could you paste the sketchpad script and any other information that might be relevant?

    I'm actually quite desperate because I need to test 20 participants before the 2nd of July. If you know somebody who knows how to create simple experiments like the cat faces one (maybe one of your students?) and would be willing to help me via skype so we can use the shared screen function I'd be more than grateful! Of course, I would compensate him/her for their time, and I think I wouldn't need more than 1 hour, since it is only this little issue involving the loop and the sketchpad which is stopping me from finishing the experiment I'm building.

    If you want you could send me an email to discuss paid support options. Honestly though, I think you're probably running into a minor issue that we'll be able to sort out here on the forum.

    Cheers,
    Sebastiaan

  • edited 12:09PM

    Hi Sebastian,

    Thanks for your reply and apologies for getting back so late; my personal laptop broke down and it wasn't until yesterday that I could replace it. The issue has been solved, I tried to run the experiment on a Mac and it seems to be working perfectly. Apparently, it was an issue related to my former personal laptop.

    Many thanks,
    Javier

  • I am having the same exact issue and dont have access to use mac....can you point out a way to resolve this please. I can explain any better than Javier did.

    Thank you
    Hala

  • I can[not?] explain any better than Javier did.

    No, but seriously: If you want a useful answer, you'll need to provide a concrete explanation of the problem.

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