{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/1022","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/1022/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/1022/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/1022/events","html_url":"https://github.com/tgalal/yowsup/issues/1022","id":103847007,"number":1022,"title":"Yowsup just closes after sending a message","user":{"login":"carlosdiaz","id":15973,"avatar_url":"https://avatars.githubusercontent.com/u/15973?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosdiaz","html_url":"https://github.com/carlosdiaz","followers_url":"https://api.github.com/users/carlosdiaz/followers","following_url":"https://api.github.com/users/carlosdiaz/following{/other_user}","gists_url":"https://api.github.com/users/carlosdiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosdiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosdiaz/subscriptions","organizations_url":"https://api.github.com/users/carlosdiaz/orgs","repos_url":"https://api.github.com/users/carlosdiaz/repos","events_url":"https://api.github.com/users/carlosdiaz/events{/privacy}","received_events_url":"https://api.github.com/users/carlosdiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-29T11:59:35Z","updated_at":"2015-08-29T12:02:10Z","closed_at":null,"body":"After updating to the latest release and trying to send a message the process just closes:\r\n\r\n```console\r\n/message send 52XXX Hi\r\n[connected]:\r\nSent: 14YYY-X\r\n[connected]:\r\nTraceback (most recent call last):\r\n  File \"yowsup-cli\", line 327, in <module>\r\n    if not parser.process():\r\n  File \"yowsup-cli\", line 231, in process\r\n    self.startCmdline()\r\n  File \"yowsup-cli\", line 259, in startCmdline\r\n    stack.start()\r\n  File \"/yowsup/yowsup/demos/cli/stack.py\", line 25, in start\r\n    self.stack.loop(timeout = 0.5, discrete = 0.5)\r\n  File \"/yowsup/yowsup/stacks/yowstack.py\", line 167, in loop\r\n    asyncore.loop(*args, **kwargs)\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 444, in handle_read_event\r\n    self.handle_read()\r\n  File \"/yowsup/yowsup/layers/network/layer.py\", line 73, in handle_read\r\n    self.receive(data)\r\n  File \"/yowsup/yowsup/layers/network/layer.py\", line 80, in receive\r\n    self.toUpper(data)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/yowsup/yowsup/layers/stanzaregulator/layer.py\", line 28, in receive\r\n    self.processReceived()\r\n  File \"/yowsup/yowsup/layers/stanzaregulator/layer.py\", line 48, in processReceived\r\n    self.toUpper(oneMessageData)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/yowsup/yowsup/layers/auth/layer_crypt.py\", line 63, in receive\r\n    self.toUpper(payload)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/yowsup/yowsup/layers/coder/layer.py\", line 35, in receive\r\n    self.toUpper(node)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/yowsup/yowsup/layers/logger/layer.py\", line 14, in receive\r\n    self.toUpper(data)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 160, in receive\r\n    s.receive(data)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 101, in receive\r\n    recv(node)\r\n  File \"/yowsup/yowsup/layers/protocol_notifications/layer.py\", line 41, in recvNotification\r\n    self.raiseErrorForNode(node)\r\n  File \"/yowsup/yowsup/layers/__init__.py\", line 117, in raiseErrorForNode\r\n    raise ValueError(\"Unimplemented notification type %s \" % node)\r\nValueError: Unimplemented notification type <notification type=\"encrypt\" from=\"s.whatsapp.net\" id=\"27852XXX\" t=\"14408XXX\">\r\n<count value=\"0\">\r\n</count>\r\n</notification>\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/26295969-yowsup-just-closes-after-sending-a-message?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/135976268","html_url":"https://github.com/tgalal/yowsup/issues/1022#issuecomment-135976268","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/1022","id":135976268,"user":{"login":"carlosdiaz","id":15973,"avatar_url":"https://avatars.githubusercontent.com/u/15973?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosdiaz","html_url":"https://github.com/carlosdiaz","followers_url":"https://api.github.com/users/carlosdiaz/followers","following_url":"https://api.github.com/users/carlosdiaz/following{/other_user}","gists_url":"https://api.github.com/users/carlosdiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosdiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosdiaz/subscriptions","organizations_url":"https://api.github.com/users/carlosdiaz/orgs","repos_url":"https://api.github.com/users/carlosdiaz/repos","events_url":"https://api.github.com/users/carlosdiaz/events{/privacy}","received_events_url":"https://api.github.com/users/carlosdiaz/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T12:02:10Z","updated_at":"2015-08-29T12:02:10Z","body":"\r\nMy bad, I realized that using moxie library solves this.\r\n\r\n```console\r\npython yowsup-cli demos --moxie --y -c\r\n```\r\nClosing issue.\r\n"}}