yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Reply Message not Work

Open pabloruan0710 opened this issue 7 years ago • 14 comments

I 'm trying to reply to a message and it does not return anything to me, can someone reply?

pabloruan0710 avatar Dec 06 '17 15:12 pabloruan0710

So you don't recive the message? Please describe your issue with more details

Aragur avatar Dec 06 '17 15:12 Aragur

@AragurDEV When someone responds in a message I sent from yowsup, I can not get this response on yowsup. No message arrives

pabloruan0710 avatar Dec 06 '17 15:12 pabloruan0710

Hey @AragurDEV - noticed your latest commit which handles this. Awesome stuff. Now when I send a reply to a message, I get the ack which I didn't before.

However, when I do send a reply, I get this:

ERROR:yowsup.layers.axolotl.layer_receive:InvalidMessageException 'utf-8' codec can't decode byte 0x8a in position 26: invalid start byte

which seems to be in the latest code update you made. All other sending is fine, it's just with a reply/mention.

Have you seen that happening with yours?

mikesalmonuk avatar Dec 07 '17 13:12 mikesalmonuk

@mikesalmonuk yes same is wrong on my side. But I don't have time to look at it atm. Would you mind finxing it? File located at yowsup/layers/axolotl/layer_recive.yp

Aragur avatar Dec 07 '17 13:12 Aragur

Sure, will have a look later today and try fix it. Didn't want to start changing code if you had yours correct and it was my config or something wrong. Will take a look and try figure something out!

mikesalmonuk avatar Dec 07 '17 13:12 mikesalmonuk

So far I've narrowed it down to an issue here: https://github.com/tgalal/python-axolotl/issues/16 Will keep looking. It might be that we need to fork that library too, and make some updates and edits in there.

mikesalmonuk avatar Dec 07 '17 15:12 mikesalmonuk

I forked and edited it already See https://github.com/AragurDEV/python-axolotl

Aragur avatar Dec 07 '17 15:12 Aragur

OK, all working as expected with tags and replies. You got to pip install git+git://github.com/AragurDEV/python-axolotl.git and everything then works as expected with current master yowsup branch. 👍

mikesalmonuk avatar Dec 07 '17 15:12 mikesalmonuk

fixed in commit #9d651b5

pabloruan0710 avatar Dec 07 '17 15:12 pabloruan0710

@mikesalmonuk can you check setup.py? I think it should already be pulled from GitHub

Aragur avatar Dec 07 '17 16:12 Aragur

@AragurDEV just checked and it's there in setup, so all good. i think i had installed it directly using pip, so running setup meant it was already installed and didn't work as expected, but removed my installation and all good now!

mikesalmonuk avatar Dec 07 '17 16:12 mikesalmonuk

Issue still occuring wiht following issues: "InvalidMessageException Invalid signature!" or "InvalidMessageException 'utf-8' codec can't decode byte 0x8a in position 30: invalid start byte"

Aragur avatar Dec 08 '17 10:12 Aragur

It's fine for me if you mention someone or reply to a text message. But if you reply to an image, I get "xml-incorrectly-formed" or something (cleared the error in my terminal now, but something about bad xml). What was your message you replied with (did it contain non standard characters or anything)?

mikesalmonuk avatar Dec 08 '17 10:12 mikesalmonuk

I'm replying to my own message 'Test' with 'Test' image Returning "InvalidMessageException 'utf-8' codec can't decode byte 0x8a in position 8: invalid start byte"

Aragur avatar Dec 08 '17 10:12 Aragur