{"action":"created","issue":{"url":"https://api.github.com/repos/IanHarvey/bluepy/issues/98","labels_url":"https://api.github.com/repos/IanHarvey/bluepy/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/IanHarvey/bluepy/issues/98/comments","events_url":"https://api.github.com/repos/IanHarvey/bluepy/issues/98/events","html_url":"https://github.com/IanHarvey/bluepy/issues/98","id":126541132,"number":98,"title":"Permissions problem","user":{"login":"mph070770","id":508539,"avatar_url":"https://avatars.githubusercontent.com/u/508539?v=3","gravatar_id":"","url":"https://api.github.com/users/mph070770","html_url":"https://github.com/mph070770","followers_url":"https://api.github.com/users/mph070770/followers","following_url":"https://api.github.com/users/mph070770/following{/other_user}","gists_url":"https://api.github.com/users/mph070770/gists{/gist_id}","starred_url":"https://api.github.com/users/mph070770/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mph070770/subscriptions","organizations_url":"https://api.github.com/users/mph070770/orgs","repos_url":"https://api.github.com/users/mph070770/repos","events_url":"https://api.github.com/users/mph070770/events{/privacy}","received_events_url":"https://api.github.com/users/mph070770/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T23:31:38Z","updated_at":"2016-01-14T09:11:40Z","closed_at":"2016-01-14T09:11:40Z","body":"Hello. I have the following simple test:\r\n\r\n```\r\nfrom btle import Scanner\r\n\r\nsc = Scanner()\r\nsc.scan(timeout=5)\r\n```\r\n\r\nand I get the following error:\r\n\r\n\r\n```\r\npydev debugger: starting (pid: 14866)\r\nTraceback (most recent call last):\r\n  File \"/home/parallels/Projects/liclipse/plugins/org.python.pydev_4.2.0.201507051114/pysrc/pydevd.py\", line 2283, in <module>\r\n    globals = debugger.run(setup['file'], None, None)\r\n  File \"/home/parallels/Projects/liclipse/plugins/org.python.pydev_4.2.0.201507051114/pysrc/pydevd.py\", line 1709, in run\r\n    pydev_imports.execfile(file, globals, locals)  # execute the script\r\n  File \"/home/parallels/Documents/LiClipse Workspace/btle/main.py\", line 4, in <module>\r\n    sc.scan(timeout=5)\r\n  File \"/usr/local/lib/python2.7/dist-packages/btle.py\", line 631, in scan\r\n    self.start()\r\n  File \"/usr/local/lib/python2.7/dist-packages/btle.py\", line 569, in start\r\n    self._mgmtCmd(\"le on\")\r\n  File \"/usr/local/lib/python2.7/dist-packages/btle.py\", line 236, in _mgmtCmd\r\n    rsp = self._waitResp('mgmt')\r\n  File \"/usr/local/lib/python2.7/dist-packages/btle.py\", line 294, in _waitResp\r\n    raise BTLEException(BTLEException.MGMT_ERROR, \"Management not available (permissions problem?)\")\r\nbtle.BTLEException: Management not available (permissions problem?)\r\n```\r\n\r\nwhat am I doing wrong??"},"comment":{"url":"https://api.github.com/repos/IanHarvey/bluepy/issues/comments/171580886","html_url":"https://github.com/IanHarvey/bluepy/issues/98#issuecomment-171580886","issue_url":"https://api.github.com/repos/IanHarvey/bluepy/issues/98","id":171580886,"user":{"login":"mph070770","id":508539,"avatar_url":"https://avatars.githubusercontent.com/u/508539?v=3","gravatar_id":"","url":"https://api.github.com/users/mph070770","html_url":"https://github.com/mph070770","followers_url":"https://api.github.com/users/mph070770/followers","following_url":"https://api.github.com/users/mph070770/following{/other_user}","gists_url":"https://api.github.com/users/mph070770/gists{/gist_id}","starred_url":"https://api.github.com/users/mph070770/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mph070770/subscriptions","organizations_url":"https://api.github.com/users/mph070770/orgs","repos_url":"https://api.github.com/users/mph070770/repos","events_url":"https://api.github.com/users/mph070770/events{/privacy}","received_events_url":"https://api.github.com/users/mph070770/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T09:11:40Z","updated_at":"2016-01-14T09:11:40Z","body":"I've moved the bluepy files into my liclipse workspace and it's working. Not ideal but ok to get me going until I have time to debug why."}}