


response = wrapped_callback(request, *callback_args, **callback_kwargs)įile "/Users/zorgan/Desktop/app/lib/python3.5/site-packages/django/contrib/auth/decorators.py" in _wrapped_viewĢ3. response = self.process_exception_by_middleware(e, request)ġ85. Traceback: File "/Users/zorgan/Desktop/app/lib/python3.5/site-packages/django/core/handlers/exception.py" in innerįile "/Users/zorgan/Desktop/app/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_responseġ87. Please check that you entered the correct path. MoviePy error: the file /tmp/testvideo.mp4 could not be found ! Thumbnail = VideoFileClip('/tmp/%s' % filename) returns the error: OSError at /post/ Thumbnail.save_frame('media/' + name, t=time, withmask=True) Thumbnail = VideoFileClip('/tmp/%s' % filename) #this line sparks the error Print(filename) #successfully prints name of uploaded file: "testvideo.mp4" Here's my function ( instance is the uploaded FileField (video)): def generate_thumbnail(instance):įilename = ('/') I'm trying to generate a thumbnail from an uploaded video using Moviepy.
