{"action":"created","issue":{"url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/48","repository_url":"https://api.github.com/repos/roger-/pyrtlsdr","labels_url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/48/comments","events_url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/48/events","html_url":"https://github.com/roger-/pyrtlsdr/issues/48","id":173628758,"number":48,"title":"Error Code -1","user":{"login":"mnager","id":12486890,"avatar_url":"https://avatars.githubusercontent.com/u/12486890?v=3","gravatar_id":"","url":"https://api.github.com/users/mnager","html_url":"https://github.com/mnager","followers_url":"https://api.github.com/users/mnager/followers","following_url":"https://api.github.com/users/mnager/following{/other_user}","gists_url":"https://api.github.com/users/mnager/gists{/gist_id}","starred_url":"https://api.github.com/users/mnager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnager/subscriptions","organizations_url":"https://api.github.com/users/mnager/orgs","repos_url":"https://api.github.com/users/mnager/repos","events_url":"https://api.github.com/users/mnager/events{/privacy}","received_events_url":"https://api.github.com/users/mnager/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-28T04:29:37Z","updated_at":"2016-11-09T16:25:05Z","closed_at":null,"body":"I am running Ubuntu and while I can import rtlsdr, when I try to initialize it, I get the following error:\n\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \"/usr/local/lib/python2.7/dist-packages/rtlsdr/rtlsdr.py\", line 52, in **init**\n    self.open(device_index, test_mode_enabled)\n  File \"/usr/local/lib/python2.7/dist-packages/rtlsdr/rtlsdr.py\", line 68, in open\n    % (result, device_index))\nIOError: Error code -1 when opening SDR (device index = 0)\n\nAt another instance, I also got the same error, but with -3 instead of -1, in a manner identical to Issue #11.\n\nThanks,\n\nMax/W2MAX\n"},"comment":{"url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/comments/259456669","html_url":"https://github.com/roger-/pyrtlsdr/issues/48#issuecomment-259456669","issue_url":"https://api.github.com/repos/roger-/pyrtlsdr/issues/48","id":259456669,"user":{"login":"nocarryr","id":1625941,"avatar_url":"https://avatars.githubusercontent.com/u/1625941?v=3","gravatar_id":"","url":"https://api.github.com/users/nocarryr","html_url":"https://github.com/nocarryr","followers_url":"https://api.github.com/users/nocarryr/followers","following_url":"https://api.github.com/users/nocarryr/following{/other_user}","gists_url":"https://api.github.com/users/nocarryr/gists{/gist_id}","starred_url":"https://api.github.com/users/nocarryr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nocarryr/subscriptions","organizations_url":"https://api.github.com/users/nocarryr/orgs","repos_url":"https://api.github.com/users/nocarryr/repos","events_url":"https://api.github.com/users/nocarryr/events{/privacy}","received_events_url":"https://api.github.com/users/nocarryr/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T16:25:05Z","updated_at":"2016-11-09T16:25:05Z","body":"Interesting.  I wonder if it has to do with the order of initialization. Did it work just now because you initialized them starting with 0 then going up to index 5?"}}
{"actor":{"display_login":"nocarryr"}}