{"action":"closed","issue":{"url":"https://api.github.com/repos/miracle2k/onkyo-eiscp/issues/73","repository_url":"https://api.github.com/repos/miracle2k/onkyo-eiscp","labels_url":"https://api.github.com/repos/miracle2k/onkyo-eiscp/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/miracle2k/onkyo-eiscp/issues/73/comments","events_url":"https://api.github.com/repos/miracle2k/onkyo-eiscp/issues/73/events","html_url":"https://github.com/miracle2k/onkyo-eiscp/issues/73","id":249815926,"number":73,"title":"Queue vs queue","user":{"login":"mode2k","id":357001,"avatar_url":"https://avatars2.githubusercontent.com/u/357001?v=4","gravatar_id":"","url":"https://api.github.com/users/mode2k","html_url":"https://github.com/mode2k","followers_url":"https://api.github.com/users/mode2k/followers","following_url":"https://api.github.com/users/mode2k/following{/other_user}","gists_url":"https://api.github.com/users/mode2k/gists{/gist_id}","starred_url":"https://api.github.com/users/mode2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mode2k/subscriptions","organizations_url":"https://api.github.com/users/mode2k/orgs","repos_url":"https://api.github.com/users/mode2k/repos","events_url":"https://api.github.com/users/mode2k/events{/privacy}","received_events_url":"https://api.github.com/users/mode2k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-12T14:40:17Z","updated_at":"2017-08-17T22:17:24Z","closed_at":"2017-08-17T22:17:24Z","body":"Im am getting this error\r\n\r\n> Traceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.3-py3.5.egg/eiscp/core.py\", line 521, in send\r\n  File \"/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.3-py3.5.egg/eiscp/core.py\", line 508, in _ensure_thread_running\r\nNameError: name 'Queue' is not defined\r\n\r\nRelavant code in https://github.com/miracle2k/onkyo-eiscp/blob/master/eiscp/core.py#L508\r\n```\r\ndef _ensure_thread_running(self):\r\n    if not getattr(self, '_thread', False):\r\n        self._stop = False\r\n        self._queue = Queue.Queue()\r\n        self._thread = threading.Thread(target=self._thread_loop)\r\n        self._thread.start()\r\n```\r\nShould it be \r\n`self._queue = queue.Queue()`\r\n?\r\n\r\n\r\nEdit: Need to be fixed in line 560 (Exception) too.\r\n\r\n\r\nBR\r\n\r\nmode\r\n"}}
{"actor":{"display_login":"miracle2k"}}