{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/1180","repository_url":"https://api.github.com/repos/tgalal/yowsup","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/1180/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/1180/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/1180/events","html_url":"https://github.com/tgalal/yowsup/issues/1180","id":121072315,"number":1180,"title":" Exception: No such prekeyRecord!","user":{"login":"kndone","id":16200244,"avatar_url":"https://avatars.githubusercontent.com/u/16200244?v=3","gravatar_id":"","url":"https://api.github.com/users/kndone","html_url":"https://github.com/kndone","followers_url":"https://api.github.com/users/kndone/followers","following_url":"https://api.github.com/users/kndone/following{/other_user}","gists_url":"https://api.github.com/users/kndone/gists{/gist_id}","starred_url":"https://api.github.com/users/kndone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kndone/subscriptions","organizations_url":"https://api.github.com/users/kndone/orgs","repos_url":"https://api.github.com/users/kndone/repos","events_url":"https://api.github.com/users/kndone/events{/privacy}","received_events_url":"https://api.github.com/users/kndone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-08T18:44:35Z","updated_at":"2016-02-12T12:29:30Z","closed_at":null,"body":"Hi, I tried to run the script, I got it running, but after sending the Song command, I got an error \"Exception: No such prekeyRecord!\", I restarted the Raspberry, installed Yowsup again, but the error persist everytime I run ./whatsapp or python run.py. I hope anyone could help me, thanks.\r\nHere is the error I got:\r\n\r\nroot@jarvian:/home/pi/apps/chatbot/yowsup_python# python run.py\r\nNo handlers could be found for logger \"yowsup.stacks.yowstack\"\r\nTraceback (most recent call last):\r\n  File \"run.py\", line 39, in <module>\r\n    stack.loop()\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/stacks/yowstack.py\", line 195, in loop\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 216, in loop\r\n    poll_fun(timeout, map)\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 156, in poll\r\n    read(obj)\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 87, in read\r\n    obj.handle_error()\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 83, in read\r\n    obj.handle_read_event()\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 449, in handle_read_event\r\n    self.handle_read()\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/network/layer.py\", line 86, in handle_read\r\n    self.toLower(receipt)\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/network/layer.py\", line 94, in receive\r\n    \"Usage: \\nweather {city_name}\",\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/__init__.py\", line 59, in toUpper\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/stanzaregulator/layer.py\", line 28, in receive\r\n    class EchoLayer(YowInterfaceLayer):\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/stanzaregulator/layer.py\", line 48, in processReceived\r\n    r = song.download(t1,'3gp','./videosongs/')\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/__init__.py\", line 59, in toUpper\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/auth/layer_crypt.py\", line 63, in receive\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/__init__.py\", line 59, in toUpper\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/coder/layer.py\", line 35, in receive\r\n    if True:\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/__init__.py\", line 59, in toUpper\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/layer.py\", line 117, in receive\r\n    self.toLower(receipt)\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/layer.py\", line 139, in onMessage\r\n\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/layer.py\", line 222, in handleEncMessage\r\n\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/layer.py\", line 259, in handlePreKeyWhisperMessage\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.7-py2.7.egg/axolotl/sessioncipher.py\", line 91, in decryptPkmsg\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.7-py2.7.egg/axolotl/sessionbuilder.py\", line 43, in process\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.7-py2.7.egg/axolotl/sessionbuilder.py\", line 113, in processV3\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/store/sqlite/liteaxolotlstore.py\", line 32, in loadPreKey\r\n  File \"build/bdist.linux-armv7l/egg/yowsup/layers/axolotl/store/sqlite/liteprekeystore.py\", line 20, in loadPreKey\r\nException: No such prekeyRecord!\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28957058-exception-no-such-prekeyrecord?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/183304131","html_url":"https://github.com/tgalal/yowsup/issues/1180#issuecomment-183304131","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/1180","id":183304131,"user":{"login":"thundergreen","id":13320319,"avatar_url":"https://avatars.githubusercontent.com/u/13320319?v=3","gravatar_id":"","url":"https://api.github.com/users/thundergreen","html_url":"https://github.com/thundergreen","followers_url":"https://api.github.com/users/thundergreen/followers","following_url":"https://api.github.com/users/thundergreen/following{/other_user}","gists_url":"https://api.github.com/users/thundergreen/gists{/gist_id}","starred_url":"https://api.github.com/users/thundergreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thundergreen/subscriptions","organizations_url":"https://api.github.com/users/thundergreen/orgs","repos_url":"https://api.github.com/users/thundergreen/repos","events_url":"https://api.github.com/users/thundergreen/events{/privacy}","received_events_url":"https://api.github.com/users/thundergreen/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T12:29:30Z","updated_at":"2016-02-12T12:29:30Z","body":"I fixed this issue also by deleting axolotl.db ..will see how long but now I'm facing new issue with disconnects all the time "}}