Hi Jon,
I installed 1.84 again so that I would have MovieStim3.
However, ןit runs OK only my first movie. At the point that it should run the second movie , I get the “python.exe has stopped working”:
Traceback (most recent call last):
File “D:\MyExperiments\Rotem\NewEyeLink\split2trials-copy\CocktailPartyWithQuestionsFirstHalf_NoaEdits.py”, line 697, in
mov = visual.MovieStim3(win, movie, flipVert=False)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.2-py2.7.egg\psychopy\visual\movie3.py”, line 124, in init
self.loadMovie(self.filename)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.2-py2.7.egg\psychopy\visual\movie3.py”, line 181, in loadMovie
jwe_tmp.audio.to_soundarray(),
File “”, line 2, in to_soundarray
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\decorators.py”, line 54, in requires_duration
return f(clip, *a, **k)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\AudioClip.py”, line 114, in to_soundarray
chunksize=buffersize))
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\numpy\core\shape_base.py”, line 230, in vstack
return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\AudioClip.py”, line 81, in generator
buffersize=chunksize)
File “”, line 2, in to_soundarray
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\decorators.py”, line 54, in requires_duration
return f(clip, *a, **k)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\AudioClip.py”, line 127, in to_soundarray
snd_array = self.get_frame(tt)
File “”, line 2, in get_frame
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\decorators.py”, line 89, in wrapper
return f(*new_a, **new_kw)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\Clip.py”, line 95, in get_frame
return self.make_frame(t)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\Clip.py”, line 136, in
newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\Clip.py”, line 188, in
return self.fl(lambda gf, t: gf(t_func(t)), apply_to,
File “”, line 2, in get_frame
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\decorators.py”, line 89, in wrapper
return f(*new_a, **new_kw)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\Clip.py”, line 95, in get_frame
return self.make_frame(t)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\io\AudioFileClip.py”, line 71, in
self.make_frame = lambda t: reader.get_frame(t)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\io\readers.py”, line 193, in get_frame
"but len(buffer)=%d\n"%(len(self.buffer))+ str(error))
IOError: Error in file D:\MyExperiments\Rotem\NewEyeLink\split2trials-copy\newMoviesFromMatan\A\Condition 5 Take 2.avi, At time t=38.55-39.68 seconds, indices wanted: 100000-145036, but len(buffer)=144906
index 144906 is out of bounds for axis 0 with size 144906
I also tried to run the demos and got “python.exe has stopped working” at the end of the movie (in both “MovieStim” and “Pause MovieStim”) with this error:
portaudio error in Pa_AbortStream: Unanticipated host error
Exception TypeError: “‘NoneType’ object is not callable” in <bound method Server.del of <pyolib.server.Server object at 0x16433430>> ignored
It happens any time I do run it.
How can I proceed ?
Thanks
Noa