Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/IMDbPY-6.6.dev20180501-py3.6.egg/imdb/parser/http/__init__.py", line 183, in retrieve_unicode

uopener = self.open(url)


 "/usr/local/lib/python3.6/urllib/request.py", line 1763, in open

raise OSError('socket error', msg).with_traceback(sys.exc_info()[2])


 "/usr/local/lib/python3.6/urllib/request.py", line 1757, in open

return getattr(self, name)(url)


 "/usr/local/lib/python3.6/urllib/request.py", line 1936, in open_http

return self._open_generic_http(http.client.HTTPConnection, url, data)


 "/usr/local/lib/python3.6/urllib/request.py", line 1932, in _open_generic_http

response.status, response.reason, response.msg, data)


 "/usr/local/lib/python3.6/urllib/request.py", line 1948, in http_error

result = method(url, fp, errcode, errmsg, headers)


 "/usr/local/lib/python3.6/urllib/request.py", line 2136, in http_error_302

headers, data)


 "/usr/local/lib/python3.6/urllib/request.py", line 2167, in redirect_internal

return self.open(newurl)


 "/usr/local/lib/python3.6/urllib/request.py", line 1763, in open

raise OSError('socket error', msg).with_traceback(sys.exc_info()[2])


 "/usr/local/lib/python3.6/urllib/request.py", line 1757, in open

return getattr(self, name)(url)


 "/usr/local/lib/python3.6/urllib/request.py", line 1967, in open_https

return self._open_generic_http(self._https_connection, url, data)


 "/usr/local/lib/python3.6/urllib/request.py", line 1916, in _open_generic_http

http_conn.request("GET", selector, headers=headers)


 "/usr/local/lib/python3.6/http/client.py", line 1239, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output

self.send(msg)


 "/usr/local/lib/python3.6/http/client.py", line 964, in send

self.connect()


 "/usr/local/lib/python3.6/http/client.py", line 1400, in connect

server_hostname=server_hostname)


 "/usr/local/lib/python3.6/ssl.py", line 407, in wrap_socket

_context=self, _session=session)


 "/usr/local/lib/python3.6/ssl.py", line 814, in __init__

self.do_handshake()


 "/usr/local/lib/python3.6/ssl.py", line 1068, in do_handshake

self._sslobj.do_handshake()


 "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake

self._sslobj.do_handshake()
OSError: [Errno socket error] [Errno socket error] EOF occurred in violation of protocol (_ssl.c:833)

Traceback (most recent call last): 
 "testmovie.py", line 64, in <module> final_clip.write_videofile('../../coolTextEffects.avi',fps=25,codec='png') 
 "<decorator-gen-51>", line 2, in write_videofile 
 "/usr/local/lib/python3.5/dist-packages/moviepy/decorators.py", line 54, in requires_duration return f(clip, a, *k) 
 "<decorator-gen-50>", line 2, in write_videofile 
 "/usr/local/lib/python3.5/dist-packages/moviepy/decorators.py", line 137, in use_clip_fps_by_default return f(clip, new_a, *new_kw) 
 "<decorator-gen-49>", line 2, in write_videofile 
 "/usr/local/lib/python3.5/dist-packages/moviepy/decorators.py", line 22, in convert_masks_to_RGB return f(clip, a, *k) 
 "/usr/local/lib/python3.5/dist-packages/moviepy/video/VideoClip.py", line 338, in write_videofile ffmpeg_params=ffmpeg_params) 
 "/usr/local/lib/python3.5/dist-packages/moviepy/video/io/ffmpeg_writer.py", line 216, in ffmpeg_write_video writer.write_frame(frame) 
 "/usr/local/lib/python3.5/dist-packages/moviepy/video/io/ffmpeg_writer.py", line 144, in write_frame if "Unknown encoder" in ffmpeg_error: TypeError: a bytes-like object is required, not 'str'
commenteditsharesavehidedeletensfwspoiler