Skip to content

Instantly share code, notes, and snippets.

@fabsh
Created April 6, 2016 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabsh/09aeaf479d3a47431178404c98b1052b to your computer and use it in GitHub Desktop.
Save fabsh/09aeaf479d3a47431178404c98b1052b to your computer and use it in GitHub Desktop.
yowsup/axolotl error
./yowsup-cli demos -l REDACTED:REDACTED -s REDACTED "Neuer Versuch"
yowsup-cli v2.0.15
yowsup v2.4.102
Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate
INFO:yowsup.layers.axolotl.layer:Axolotl layer is generating keys
Traceback (most recent call last):
File "./yowsup-cli", line 368, in <module>
if not parser.process():
File "./yowsup-cli", line 272, in process
self.startSendClient()
File "./yowsup-cli", line 324, in startSendClient
stack.start()
File "/home/fabsh/yowsup/yowsup/demos/sendclient/stack.py", line 31, in start
self.stack.loop()
File "/home/fabsh/yowsup/yowsup/stacks/yowstack.py", line 195, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/home/fabsh/yowsup/yowsup/layers/network/layer.py", line 88, in handle_read
self.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/network/layer.py", line 96, in receive
self.toUpper(data)
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
self.processReceived()
File "/home/fabsh/yowsup/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
self.toUpper(oneMessageData)
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/auth/layer_crypt.py", line 65, in receive
self.toUpper(payload)
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)
File "/home/fabsh/yowsup/yowsup/layers/axolotl/layer.py", line 122, in receive
if not self.processIqRegistry(protocolTreeNode):
File "/home/fabsh/yowsup/yowsup/layers/__init__.py", line 155, in processIqRegistry
successClbk(protocolTreeNode, originalIq)
File "/home/fabsh/yowsup/yowsup/layers/axolotl/layer.py", line 182, in <lambda>
self._sendIq(entity, lambda a, b: self.onGetKeysResult(a, b, self.processPendingMessages), self.onGetKeysError)
File "/home/fabsh/yowsup/yowsup/layers/axolotl/layer.py", line 361, in onGetKeysResult
sessionBuilder.processPreKeyBundle(preKeyBundle)
File "/home/fabsh/.local/lib/python2.7/site-packages/axolotl/sessionbuilder.py", line 166, in processPreKeyBundle
.setOurIdentityKey(self.identityKeyStore.getIdentityKeyPair())\
File "/home/fabsh/yowsup/yowsup/layers/axolotl/store/sqlite/liteaxolotlstore.py", line 17, in getIdentityKeyPair
return self.identityKeyStore.getIdentityKeyPair()
File "/home/fabsh/yowsup/yowsup/layers/axolotl/store/sqlite/liteidentitykeystore.py", line 31, in getIdentityKeyPair
publicKey, privateKey = result
TypeError: 'NoneType' object is not iterable
@magdalia2016
Copy link

faced same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment