-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unsupported operand type(s) / DecodeEroor: Truncated message #1613
Comments
I use protobuf version 3.0.0b2.post2 and it works. |
Same for me, tried with protobuf 3.0.0.b2.post2, 3.0.0.beta3, 3.0.0.beta2, six-1.10.0 same ocurs. Tried with python 3.4 and 3.5 on CentOS (IUS python repo): ['\n', '\x10', 'A', 'c', 'a', ' ', 'e', 'n', ' ', 'l', 'a', ' ', 'v', 'u', 'e', 'l', 't', 'a'] During handling of the above exception, another exception occurred: |
By the way, it works ok in python 2.6.6 (python 2.6 from CentOS 6). |
Is there any workaround to this ? |
workaround is to use my branch for now, just ignored the error. I only tested this with text messages
|
Confirmed that it works in Python 3.4
I use virtual env
NOTE: Use the shell "bash" I had problems with zsh |
@ricardojlrufino You can do |
Dont use sudo with pip installs or you will install in the root python rather than the virtual env
|
Sure, how can i help On Fri, Nov 11, 2016 at 8:38 AM, Kyle Reynolds [email protected]
|
@tawanda It's regarding handling iq results from a nested function to use in other functions of the same class, perhaps you can email me or contact me on a live chat? |
I have no idea how to do that. In my fork i literally silenced the exception. Im not familiar with the source code of this library
|
@tawanda Still using yowsup? because I'm using your working version and still haven't got banned for almost 2 weeks now.. Although I've never been banned before |
Yes i am. So long as you stay online once in a while and put pauses between sends you should not get blocked Sent from my iPhone
|
@tawanda I can't seems to stay online, i keep getting disconnected for this error when i'm connected at random times
This is a bit off topic, can I contact you somewhere about your repo? |
Leave me a message on my contact form at siegecommunications.com
|
@tawanda Nice website, puzzles me a bit wondering if it was your hosting company, nice job 👍 |
@kyleJR You are missing to ack an incomming message/media/notification... If you see debug logs, you can see something like "stream error: ack missing ack 123423454" and you will find a message/notification with id 123423454. |
@jlguardi I've sent message delivered ack on every message, perhaps it's media or notification?
|
Search in the full log a message with id F4E04618E3758B8C00C5EA5315AB5F and manage it correctly. |
@jlguardi Example:
Do I really need to send receive ticks twice in both classes? or I shouldn't have more than 1 message callbacks? |
That happen when I try to reply to messages in the group using the reply function, then crashes for the stream error due to yowsup not being able to send to blue ticks to those messages..
And when I try to reconnect, blue ticks sent after |
Reply function? I don't remember that function but forward one. Anyway here you have an issue due to emoji and terminal (I remember I made a fix for that but I don't remember if it is applied to master) and a warning raised by axolotl layer. But the secon one is just a warning due to repeated messages from other yowsup client. |
@jlguardi Do you still use yowsup? |
@kyleJR Yes, I do. |
Yes, whenever someone reply (new whatsapp feature) to a text, the bot gets this error
By reply function, i meant clicking on a message and quoting it, the new whatsapp feature Debug log
|
Found a way to handle that, by sending the receipt tick regardless of message being handled or not and temporarily fixed it.. The way yowsup handles messages and media right now is really messed up.. I'm now ignoring media type messages and specific replies to certain texts until I'm done with the basics. |
Hi @kyleJR @Martmists |
@yssoe the one you see by me is just me in a completely different repo, I'm just referencing this issue so they know why I made that change |
Hello
I got the following error when receiving a message (from a single contact, group chats work):
I tried both protbuf 3.0.0.b2 and b3, same error.
Python version is 3.5.1
Here are my installed packages + version:
pip (8.1.2)
protobuf (3.0.0b2)
pycrypto (2.6.1)
pyreadline (2.1)
python-axolotl (0.1.35)
python-axolotl-curve25519 (0.1)
python-dateutil (2.5.3)
setuptools (18.2)
six (1.10.0)
yowsup2 (2.5.0)
Here's the full error:
The text was updated successfully, but these errors were encountered: