{"action":"created","issue":{"url":"https://api.github.com/repos/xmikos/hangupsbot/issues/8","labels_url":"https://api.github.com/repos/xmikos/hangupsbot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xmikos/hangupsbot/issues/8/comments","events_url":"https://api.github.com/repos/xmikos/hangupsbot/issues/8/events","html_url":"https://github.com/xmikos/hangupsbot/issues/8","id":111079931,"number":8,"title":"Fails to start: with \"_on_connect() missing 1 required positional argument: 'initial_data\"","user":{"login":"BigJones","id":6026868,"avatar_url":"https://avatars.githubusercontent.com/u/6026868?v=3","gravatar_id":"","url":"https://api.github.com/users/BigJones","html_url":"https://github.com/BigJones","followers_url":"https://api.github.com/users/BigJones/followers","following_url":"https://api.github.com/users/BigJones/following{/other_user}","gists_url":"https://api.github.com/users/BigJones/gists{/gist_id}","starred_url":"https://api.github.com/users/BigJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigJones/subscriptions","organizations_url":"https://api.github.com/users/BigJones/orgs","repos_url":"https://api.github.com/users/BigJones/repos","events_url":"https://api.github.com/users/BigJones/events{/privacy}","received_events_url":"https://api.github.com/users/BigJones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T00:31:39Z","updated_at":"2015-10-22T19:58:27Z","closed_at":null,"body":"Hangups is global and works correctly. I recently ran this bot on an older computer without problem, maybe issues with a newer version of hangups?\r\n\r\nClient unexpectedly disconnected:\r\n_on_connect() missing 1 required positional argument: 'initial_data'\r\nTraceback (most recent call last):\r\n  File \"/home/user/projects/hubot/node_modules/hubot-hangups/HangoutsBot/hangupsbot.py\", line 137, in run\r\n    loop.run_until_complete(self._client.connect())\r\n  File \"/usr/lib/python3.4/asyncio/base_events.py\", line 208, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.4/asyncio/futures.py\", line 243, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 298, in _step\r\n    result = coro.throw(exc)\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/client.py\", line 99, in connect\r\n    yield from self._listen_future\r\n  File \"/usr/lib/python3.4/asyncio/futures.py\", line 348, in __iter__\r\n    yield self  # This tells Task to wait for completion.\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 351, in _wakeup\r\n    value = future.result()\r\n  File \"/usr/lib/python3.4/asyncio/futures.py\", line 243, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 300, in _step\r\n    result = coro.send(value)\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/channel.py\", line 214, in listen\r\n    yield from self._longpoll_request()\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/channel.py\", line 343, in _longpoll_request\r\n    yield from self._on_push_data(chunk)\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/channel.py\", line 364, in _on_push_data\r\n    yield from self.on_connect.fire()\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/event.py\", line 50, in fire\r\n    yield from gen\r\n  File \"/usr/local/lib/python3.4/dist-packages/hangups/event.py\", line 48, in fire\r\n    gen = observer(*args, **kwargs)\r\nTypeError: _on_connect() missing 1 required positional argument: 'initial_data'\r\n"},"comment":{"url":"https://api.github.com/repos/xmikos/hangupsbot/issues/comments/150339049","html_url":"https://github.com/xmikos/hangupsbot/issues/8#issuecomment-150339049","issue_url":"https://api.github.com/repos/xmikos/hangupsbot/issues/8","id":150339049,"user":{"login":"wardellchandler","id":7834478,"avatar_url":"https://avatars.githubusercontent.com/u/7834478?v=3","gravatar_id":"","url":"https://api.github.com/users/wardellchandler","html_url":"https://github.com/wardellchandler","followers_url":"https://api.github.com/users/wardellchandler/followers","following_url":"https://api.github.com/users/wardellchandler/following{/other_user}","gists_url":"https://api.github.com/users/wardellchandler/gists{/gist_id}","starred_url":"https://api.github.com/users/wardellchandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardellchandler/subscriptions","organizations_url":"https://api.github.com/users/wardellchandler/orgs","repos_url":"https://api.github.com/users/wardellchandler/repos","events_url":"https://api.github.com/users/wardellchandler/events{/privacy}","received_events_url":"https://api.github.com/users/wardellchandler/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T19:58:26Z","updated_at":"2015-10-22T19:58:26Z","body":"@luckymancvp and @BigJones, I'm a man of my word and the pull request is now active. I've only done light testing but I can verify that it does indeed start-up and it will run. I haven't tested all of the commands, but I fixed all of the ones that I saw would be an issue (generally the ones related to changing things in the conversation.) \r\n\r\nThis is, of course, based off of @xmikos and not my own, so there should be no incompatibility issues temporarily using my branch until either @xmikos accepts the pull request or denies it in lieu of his own. Check out #9 for the info on my changes. "}}