unable to load image (runtime error 11043)

1,855 views
Skip to first unread message

Pippa Beston

unread,
Feb 26, 2016, 10:47:53 AM2/26/16
to E-Prime
I have a slide that is successfully calling a column of a list that contains image names. However, I repeatedly get a runtime error (11043) saying that it cannot load the image. The image files are in the same folder as the experiment. the contents of the column are named correctly. they are bitmap images. when i click on the path that appears in the output window, it opens the picture. any suggestions?

David McFarlane

unread,
Feb 26, 2016, 12:19:31 PM2/26/16
to e-p...@googlegroups.com
Just some general troubleshooting ideas ...

First, make sure that the PictureRT example that comes with E-Prime
works on your machine. If that fails, then all bets are off.

Next, I might try bypassing the List, and loading an image directly into
an ImageDisplay or SlideImage -- i.e., in Filename, click on the folder
icon and navigate to a desired image, and add that. Again, if that
fails then all bets are off.

If that works, next I might copy that file name from the Filename field
in the stimulus object, and paste that into my List. Then put the
attribute reference back into the stimulus object, and set the List to
use only the row with the pasted in file name. That better work,
otherwise all bets are off again.

I also like to add some text output in order to make sure that E-Prime
sees the same file names that I think it should see. So I add a
TextDisplay, or a SlideText to a Slide holding the image, and add the
appropriate attribute reference, along with some literal delimiters
before and after the attribute reference, e.g.

<[ImageFile]>

I add the literal delimiters so that I can see if E-Prime is adding any
spaces before or after the file name, because that would make EP fail to
find my files (yes, I have seen this happen).

Hope something in all that helps.
---------------
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)
Reply all
Reply to author
Forward
0 new messages