Howdy, Stranger!

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

Supported by

[open] Error when trying to run exp. using images

edited May 2013 in OpenSesame

Hello,

I am trying to run an experiment that has been running fine. But, I made a few changes and now this is occurring. I can't tell if this is a mac issue (I'm trying to run it on a mac), although it was running fine with the images on the mac before.

All the images are in the file pool.

I will try it on the usual PC in the morning, but any ideas what would be causing this?

Here is the error message:

An unexpected error occurred, which was not caught by OpenSesame. This should not happen! Message:
The picture file '/var/folders/yx/glwd9x2j51n04czh33_230y00000gn/T/tmpyyNLLj.opensesame_pool/' does not exist

Comments

  • edited 8:54AM

    It is still happening on the usual PC. I copied and pasted the script into a new blank experiment and then added the pictures to the file pool and I am still getting the same error (although with a different directory path on this PC).

    This is really bad timing as the scanner is scheduled today. Any help would be great.

  • edited 8:54AM

    Hi Elizabeth,

    It looks as though an empty string is specified for a filename. As you may notice /var/folders/yx/glwd9x2j51n04czh33_230y00000gn/T/tmpyyNLLj.opensesame_pool/ is just the filepool folder itself (which is always in some temporary folder), and not a file in the filepool.

    You can get this error when you specify an image like so:

    draw image 512 384 "[my_var]" scale=1.0 center=1 show_if="always"
    

    and then have my_var be an empty string, for example by setting it like this:

    exp.set('my_var', '')
    

    Could something along those lines be going on?

    Cheers,
    Sebastiaan

  • edited May 2013

    Hi Sebastiaan,

    Yes, this could be it. There are trials where no images are shown, although the sequence for those trials doesn't include an image. Perhaps it is easier if I e-mail the experiment, but here are screen shots of the set-up. Basically, there is one loop (objects_saccades) that loops through trials showing either a series of images (uses the obj_seq sequence), a series of fixation targets (saccade_seq) or a rest period (ISI).

    Here are the two screen shots, but let me know if something else would be more helpful.

    http://img.cogsci.nl/?q=5190b9fd87a69
    http://img.cogsci.nl/?q=5190ba1296bf9

    This may not be the best set-up anyway. I ran the pilot, although without this part of this task, and had some timing issues where the experiment took longer than it should have and so the scanning finished and the task was still going, which means the onsets and duration of events are not in the expected places...I will post a separate post about this to keep things organized, but maybe this issue will be solved by organizing things differently for timing accuracy anyway.

    Thank you so much!

  • edited 8:54AM

    Hi Elizabeth,

    I think the problem is indeed that on some trials the image files are left blank (obj1, obj2, and obj3). Even though this may not seem like a problem, because no image will be shown on those trials anyway, it actually is: When an item is skipped through a 'Run if' statement, it is still prepared, and the prepare phase requires a valid image file. Does that make sense?

    For more information, see here:

    The easiest solution is to use some dummy image (dummy.BMP, say) where you now leave the image blank.

    Hope this helps!

    Cheers,
    Sebastiaan

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