This is probably going to be one of the most useless bug reports ever, which is why I'm first reporting it here, rather than on GitHub.
I'm running the latest version of PsychoPy (1.83.03) on a Mac, and I'm having trouble with loading sound files in one experiment. As this is the very first routine in my experiment, nothing gets written to the .log file. The only potentially useful debugging information that I can share is from the PsychoPy output window when the experiment crashes:
Running: /Users/<USERNAME>/Desktop/Feature Learning - Experiment Folder/VoicingStopHarmony_lastrun.py
saved data to u'/Users/<USERNAME>/Desktop/Feature Learning - Experiment Folder/data/2_FeatureLearning_2015_Feb_16_0054.csv'
Traceback (most recent call last):
File "/Users/<USERNAME>/Desktop/Feature Learning - Experiment Folder/VoicingStopHarmony_lastrun.py", line 240, in <module>
sound_1.setSound(SOUND)
File "/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/sound.py", line 146, in setSound
raise ValueError, "setSound: could not find a sound file named " + value
ValueError: setSound: could not find a sound file named "Recordings/budu.wav"
The thing is: the sound file that it is trying to find
is there, and the Recordings directory is in the same directory as the .psyexp file.
Two further things that make this all the more mysterious (and thus more useless bug report): I have another PsychoPy experiment that has no problem running sound files with version 1.83.03. Furthermore, when I downgrade to version 1.82.00 and apply the fix noted in
#813 the problem with this particular experiment goes away.