Open haxxorsid opened 8 years ago
python src/server.py _server.py_ [INFO][2016-06-10 00:17:50,655] ################################################## _server.py_ [INFO][2016-06-10 00:17:50,655] Server started. Phone number: 919004094663 _server.py_ [INFO][2016-06-10 00:17:50,655] ################################################## _router.py_ [INFO][2016-06-10 00:17:52,643] (PVT)[917039887080@s.whatsapp.net] https://youtu.be/eiSkXLvOqFc _media_sender.py_ [INFO][2016-06-10 00:18:14,976] [Upload progress]eiSkXLvOqFc.mp4 => 917039887080@s.whatsapp.net, 50% _media_sender.py_ [INFO][2016-06-10 00:18:27,234] [Upload progress]eiSkXLvOqFc.mp4 => 917039887080@s.whatsapp.net, 100% _optionalmodules.py_ [ERROR][2016-06-10 00:18:27,235] ffvideo import failed _mediauploader.py_ [ERROR][2016-06-10 00:18:27,235] Error occured at transfer type object 'DownloadableMediaMessageProtocolEntity' has no attribute 'fromFilePath' Traceback (most recent call last): File "/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"]) File "/root/Desktop/whatsapp-bot-seed-master/src/utils/media_sender.py", line 91, in <lambda> caption) File "/root/Desktop/whatsapp-bot-seed-master/src/utils/media_sender.py", line 105, in _do_send_file entity = VideoDownloadableMediaMessageProtocolEntity.fromFilePath(file_path, url, self.MEDIA_TYPE, ip, to) File "/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 fromFilePath entity = DownloadableMediaMessageProtocolEntity.fromFilePath(path, url, DownloadableMediaMessageProtocolEntity.MEDIA_TYPE_VIDEO, ip, to, mimeType, preview) AttributeError: type object 'DownloadableMediaMessageProtocolEntity' has no attribute 'fromFilePath'
Whenever I send a youtube video link,it shows this error.
Whenever I send a youtube video link,it shows this error.