Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please say! Yowsup CAN send Media or NOT? #2981

Open
Whomakes opened this issue May 4, 2020 · 8 comments
Open

Please say! Yowsup CAN send Media or NOT? #2981

Whomakes opened this issue May 4, 2020 · 8 comments
Assignees

Comments

@Whomakes
Copy link

Whomakes commented May 4, 2020

Please say yes or no!

I tried many different ways. Nothing works! I am doing a yowsup based graduation project. Media sharing is a must. I'm already in a panic. I have done a lot, but without the media I will need to start all over from the beginning in a different way. maybe someone knows alternative solutions.

@ShiSHcat
Copy link

ShiSHcat commented May 4, 2020

I think no, but as a workaround you could upload it to somewhere and get links out of it.

@ShitalBorganve
Copy link

This is same case with me too, trying to send image, but through below error

successClbk(protocolTreeNode, originalIq)

File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/protocol_media/layer.py", line 78, in onRequestUploadSuccess
self.toUpper(ResultRequestUploadIqProtocolEntity.fromProtocolTreeNode(resultNode))
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/interface/interface.py", line 77, in receive
if not self.processIqRegistry(entity):
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/interface/interface.py", line 56, in processIqRegistry
successClbk(entity, originalIq)
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/demos/cli/layer.py", line 380, in
successFn = lambda successEntity, originalEntity: self.onRequestUploadResult(jid, mediaType, path, successEntity, originalEntity, caption)
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/demos/cli/layer.py", line 553, in onRequestUploadResult
successFn, self.onUploadError, self.onUploadProgress, asynchronous=False)
File "/home/pi/My_VEs/lib/python3.7/site-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/protocol_media/mediauploader.py", line 18, in init
WARequest.init(self)
TypeError: init() missing 1 required positional argument: 'config_or_profile'

Any recent fixes for this yet?

@aarctb
Copy link

aarctb commented May 7, 2020

@Whomakes I can help you. Please contact me by email: a.rodrigues@msn.com

@technocode
Copy link

WA have update the protocol..

iq_requestupload.py need to be update..

@Whomakes
Copy link
Author

I know. but no one can do it

@bahtiarp
Copy link

bahtiarp commented Jun 16, 2020

@technocode , yes you were right iq_requestupload.py need to be update..

it's said #upgrade-required, when i tried to send (encr_media):

[encr_media hash="CmF+lR7VVNvJHebBtdpFATm59bsp+A96aNqtdzsvL/k=" type="image" size="150207" />

2020-06-17 00:06:16,046 yowsup.layers.logger.layer - rx:
[iq from="s.whatsapp.net" type="error" id="5"]
[error code="426" text="#upgrade-required" />
[/iq>

@fajarnurprasetyo
Copy link

Anyone can solve this?

@weltzien
Copy link

weltzien commented Sep 7, 2020

Would be nice to get a solution, i have the same problem :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants