-
-
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
truncated issue #1783
Comments
I Got same error: Python 3.4.3 (default, Oct 14 2015, 20:28:29) git show
Error:
|
Duplicate of #1613 |
Resolution #1613 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
started!
We've already setup a session for this V3 message, letting bundled message fall through...
Received a message that we've previously decrypted, goint to send the delivery receipt myself
DUMP:
�Hy
['\n', '\x02', 'H', 'y']
[10, 2, 72, 121]
Traceback (most recent call last):
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\protobuf-3.0.0-py3.6.egg\google\protobuf\internal\python_message.py", line 1082, in MergeFromString
if self._InternalParse(serialized, 0, length) != length:
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\protobuf-3.0.0-py3.6.egg\google\protobuf\internal\python_message.py", line 1104, in InternalParse
(tag_bytes, new_pos) = local_ReadTag(buffer, pos)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\protobuf-3.0.0-py3.6.egg\google\protobuf\internal\decoder.py", line 181, in ReadTag
while six.indexbytes(buffer, pos) & 0x80:
TypeError: unsupported operand type(s) for &: 'str' and 'int'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/python-workspace/run.py", line 21, in
stack.loop() #this is the program mainloop
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\stacks\yowstack.py", line 196, in loop
asyncore.loop(args, *kwargs)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\asyncore.py", line 203, in loop
poll_fun(timeout, map)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\asyncore.py", line 150, in poll
read(obj)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\asyncore.py", line 87, in read
obj.handle_error()
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\asyncore.py", line 83, in read
obj.handle_read_event()
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\asyncore.py", line 423, in handle_read_event
self.handle_read()
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\network\layer.py", line 102, in handle_read
self.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\network\layer.py", line 110, in receive
self.toUpper(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\stanzaregulator\layer.py", line 29, in receive
self.processReceived()
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\stanzaregulator\layer.py", line 52, in processReceived
self.processReceived()
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\stanzaregulator\layer.py", line 49, in processReceived
self.toUpper(oneMessageData)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\auth\layer_crypt.py", line 65, in receive
self.toUpper(payload)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\coder\layer.py", line 35, in receive
self.toUpper(node)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\logger\layer.py", line 14, in receive
self.toUpper(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_control.py", line 44, in receive
self.toUpper(protocolTreeNode)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 76, in toUpper
self.upper.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers__init.py", line 189, in receive
s.receive(data)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_receive.py", line 41, in receive
self.onMessage(protocolTreeNode)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_receive.py", line 74, in onMessage
self.handleEncMessage(protocolTreeNode)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_receive.py", line 86, in handleEncMessage
self.handlePreKeyWhisperMessage(node)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_receive.py", line 129, in handlePreKeyWhisperMessage
self.parseAndHandleMessageProto(pkMessageProtocolEntity, plaintext[:-padding])
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\yowsup2-2.5.0-py3.6.egg\yowsup\layers\axolotl\layer_receive.py", line 171, in parseAndHandleMessageProto
m.ParseFromString(serializedData)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\protobuf-3.0.0-py3.6.egg\google\protobuf\message.py", line 185, in ParseFromString
self.MergeFromString(serialized)
File "C:\Users\xyzxxxxxxxxxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\protobuf-3.0.0-py3.6.egg\google\protobuf\internal\python_message.py", line 1088, in MergeFromString
raise message_mod.DecodeError('Truncated message.')
google.protobuf.message.DecodeError: Truncated message.
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: