Howdy, Stranger!

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

Supported by

[solved] v 0.27 experiment won't open (says variable not set in an item)

edited March 2013 in OpenSesame

I just upgraded to 0.27, and now my experiment won't open... pretty sure it's a new thing, though I haven't run this experiment in a couple of months. I don't think I changed anything since the last time it was working on 0.26.

Here's the error text:

Error: Failed to open 'C:/ [bunch of folders] /essa1.opensesame.tar.gz'
Description: Error: Runtime error
Description: Variable 'task_decis_fg' is not set in item 'decis_n_task'.
You are trying to use a variable that does not exist. Make sure that you have spelled and capitalized the variable

name correctly. You may wish to use the variable inspector (Control + I) to find the intended variable.

The variable is a hex color code to set foreground colors in various sketchpad items, and I think the item is a sketchpad item. So I think it's telling me that, since a variable in a sketchpad item doesn't have a value set, I can't open my experiment. Obviously, I would like to open the experiment to see how to get that variable value set, if that's the problem.

Any ideas or guidance would be greatly appreciated.

Comments

  • edited 11:47PM

    Indeed, OpenSesame tries to evaluate the foreground color, and fails to do so when the foreground is specified via a variable that is only available at runtime (issue). I'll fix this for the next bug-fix release, but for now you can use the following work-around:

    Using a text editor

    Open the script in any text editor and type the following line at the top of the file:

    set task_decis_fg dummy

    This will make sure that the variable is set, even when the experiment is not running. If your experiment is in opensesame.tar.gz format, you can extract the script with a tool like 7-zip.

    Using OpenSesame 0.26

    Open the experiment in OpenSesame 0.26, click on 'Show script editor' and add the above line to the top of script. After applying the changes and saving the experiment, you should be able to continue working in 0.27.

    Thanks for bringing this to my attention!

  • edited 11:47PM

    Awesome. As always, thanks a ton.

  • edited 11:47PM

    Thanks, Sebastiaan. This seems to have worked just fine. If I can figure out how to mark this "resolved," I will.

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