Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/yowsup2-2.5.0-py2.7.egg/yowsup/layers/protocol_media/mediauploader.py", line 138, in run
self.successCallback(sourcePath, self.jid, result["url"])

 "/home/pi/Desktop/Projeto3/yowCli/layer.py", line 265, in <lambda>
successFn = lambda filePath, jid, url: self.doSendMedia(mediaType, filePath, url, jid, resultRequestUploadIqProtocolEntity.getIp(), caption)

 "/home/pi/Desktop/Projeto3/yowCli/layer.py", line 251, in doSendMedia
entity = VideoDownloadableMediaMessageProtocolEntity.from
Path(filePath, url, ip, to, caption = caption)

 "/usr/local/lib/python2.7/dist-packages/yowsup2-2.5.0-py2.7.egg/yowsup/layers/protocol_media/protocolentities/message_media_downloadable_video.py", line 134, in from
Path
entity = DownloadableMediaMessageProtocolEntity.from
Path(path, url, DownloadableMediaMessageProtocolEntity.MEDIA_TYPE_VIDEO, ip, to, mimeType, preview)AttributeError: type object 'DownloadableMediaMessageProtocolEntity' has no attribute 'from
Path'
Traceback (most recent call last):


 "c:\Users\benth\Miniconda3\envs\git-gud\lib\site-packages\git\cmd.py", line 365, in __del__

if proc.poll() is not None:


 "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 966, in poll

return self._internal_poll()


 "c:\Users\benth\Miniconda3\envs\git-gud\lib\subprocess.py", line 1216, in _internal_poll

if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
OSError: [WinError 6] The handle is invalid
