Could you please advise on how to resolve error 11067 "file not found"?
I have already placed the stimulus audio files and the program in the same folder.
The filenames have been checked, and there are no capitalization or spelling errors. Moreover, in Experiment 1, under the [Practice Questions] section, all files can be read successfully. I'm unsure why the files cannot be read in both the [Experiment 1 Formal Questions] and [Experiment 2] sections.
Thank you for your assistance.
Hi Joana,
We’re not PST here, so I don’t know how many people will take the time to sort through you pictures :) I don’t have it, anyway, but my two cents: Almost always it is a spelling error, even if you don’t think so. Check the debug screen carefully (where it gives the error). If the file being loaded is in an attribute somewhere (let’s say FileToLoad), then put an inline in the same procedure:
Debug.Print “Will load this file now:” & c.GetAttrib(“FileToLoad”) & “.”
Just copy-paste it. The : and . are essential here, because you’ll want to see if the file to load is
Will load this file now:myfile.jpg.
Or:
Will load this file now: myflie.
Notice there are three differences:
Hope that helps!
Michiel
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
e-prime+u...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/e-prime/3fd404b1-db74-4e27-b4b3-edde981aa6f3n%40googlegroups.com.
-- David McFarlane
________________________________________
From: e-p...@googlegroups.com <e-p...@googlegroups.com> on behalf of Michiel Spape <msp...@um.edu.mo>
Sent: Monday, July 22, 2024 6:30 AM
To: e-p...@googlegroups.com
Subject: RE: Beginner E-Prime Question
Hi Joana,
We’re not PST here, so I don’t know how many people will take the time to sort through you pictures :) I don’t have it, anyway, but my two cents: Almost always it is a spelling error, even if you don’t think so. Check the debug screen carefully (where it gives the error). If the file being loaded is in an attribute somewhere (let’s say FileToLoad), then put an inline in the same procedure:
Debug.Print “Will load this file now:” & c.GetAttrib(“FileToLoad”) & “.”
Just copy-paste it. The : and . are essential here, because you’ll want to see if the file to load is
Will load this file now:myfile.jpg.
Or:
Will load this file now: myflie.
Notice there are three differences:
1. myflie isn’t myfile – but you noticed that.
2. The second misses the extension: jpg
3. The second has a leading spacebar: “ myfile”, “myfile”, and “myfile “ are, according to the operating system (most of them) three completely separate files, so if tries to load one, but only the other is present, it won’t find it. The problem is that we, as humans, tend to not notice these things, so sometimes you have to make it easier for yourself, for example with the debug.print, which concludes with a period to indicate what the end of the filename is – even if there’s an additional space.