Traceback (most recent call last):


 "/opt/venvs/bot/lib/python3.4/site-packages/errbot/backends/slack.py", line 687, in _slack_upload

'file': stream


 "/opt/venvs/bot/lib/python3.4/site-packages/errbot/backends/slack.py", line 328, in api_call

response = self.sc.api_call(method, **data)


 "/opt/venvs/bot/lib/python3.4/site-packages/slackclient/client.py", line 88, in api_call

response_body = self.server.api_call(method, timeout=timeout, **kwargs)


 "/opt/venvs/bot/lib/python3.4/site-packages/slackclient/server.py", line 260, in api_call

response = self.api_requester.do(self.token, method, kwargs, timeout=timeout)


 "/opt/venvs/bot/lib/python3.4/site-packages/slackclient/slackrequest.py", line 104, in do

proxies=self.proxies


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/api.py", line 112, in post

return request('post', url, data=data, json=json, **kwargs)


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/sessions.py", line 494, in request

prep = self.prepare_request(req)


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/sessions.py", line 437, in prepare_request

hooks=merge_hooks(request.hooks, self.hooks),


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/models.py", line 308, in prepare

self.prepare_body(data, files, json)


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/models.py", line 496, in prepare_body

(body, content_type) = self._encode_files(files, data)


 "/opt/venvs/bot/lib/python3.4/site-packages/requests/models.py", line 159, in _encode_files

fdata = fp.read()
TypeError: read() should return bytes

Traceback (most recent call last):


 "/usr/local/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-3-c289bccc81e5>", line 1, in <module>

editor.TextClip.list('color')


 "/usr/local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1179, in list

return [l.split(" ")[1] for l in lines[2:]]


 "/usr/local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1179, in <listcomp>

return [l.split(" ")[1] for l in lines[2:]]
TypeError: a bytes-like object is required, not 'str'
