{"action":"opened","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/433","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/433/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/433/events","html_url":"https://github.com/crossbario/crossbar/issues/433","id":104800999,"number":433,"title":"[crossbar.io w/ py3] builtins.TypeError: 'IdGenerator' object is not an iterator","user":{"login":"oberstet","id":233340,"avatar_url":"https://avatars.githubusercontent.com/u/233340?v=3","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T23:28:48Z","updated_at":"2015-09-03T23:28:48Z","closed_at":null,"body":"migrated from: https://github.com/tavendo/AutobahnPython/issues/473\r\n\r\nwhilst trying to persuade crossbar to run under py3, I encountered this issue:\r\n\r\n```python\r\n  File \"/usr/lib/python3.4/site-packages/crossbar-0.11.0-py3.4.egg/crossbar/router/dealer.py\", line 391, in on_authorize_success\r\n    invocation_request_id = next(self._request_id_gen)\r\nbuiltins.TypeError: 'IdGenerator' object is not an iterator\r\n```\r\n\r\nthis is fixable by adding the following to `autobahn/util.py` in class IdGenerator():\r\n\r\n```python\r\n    def __next__(self):\r\n        return self.next()\r\n```\r\n"}}