{"action":"created","issue":{"url":"https://api.github.com/repos/kootenpv/whereami/issues/5","repository_url":"https://api.github.com/repos/kootenpv/whereami","labels_url":"https://api.github.com/repos/kootenpv/whereami/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kootenpv/whereami/issues/5/comments","events_url":"https://api.github.com/repos/kootenpv/whereami/issues/5/events","html_url":"https://github.com/kootenpv/whereami/issues/5","id":179663088,"number":5,"title":"Integer parsing error upon First Sampling ","user":{"login":"Others","id":6342225,"avatar_url":"https://avatars.githubusercontent.com/u/6342225?v=3","gravatar_id":"","url":"https://api.github.com/users/Others","html_url":"https://github.com/Others","followers_url":"https://api.github.com/users/Others/followers","following_url":"https://api.github.com/users/Others/following{/other_user}","gists_url":"https://api.github.com/users/Others/gists{/gist_id}","starred_url":"https://api.github.com/users/Others/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Others/subscriptions","organizations_url":"https://api.github.com/users/Others/orgs","repos_url":"https://api.github.com/users/Others/repos","events_url":"https://api.github.com/users/Others/events{/privacy}","received_events_url":"https://api.github.com/users/Others/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T02:04:07Z","updated_at":"2016-09-28T04:27:50Z","closed_at":null,"body":"Hi, I just tried to run `whereami` for the first time, and I got the following strange error:\r\n\r\n```\r\npeachg@deino ~/P/blog_os> whereami learn -l my_room\r\n  2%|▊                                          | 2/100 [00:07<06:15,  3.83s/it]\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/whereami\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/lib/python2.7/site-packages/whereami/__main__.py\", line 34, in main\r\n    learn(args.location, args.num_samples)\r\n  File \"/usr/local/lib/python2.7/site-packages/whereami/learn.py\", line 22, in learn\r\n    write_data(label_path, sample())\r\n  File \"/usr/local/lib/python2.7/site-packages/whereami/get_data.py\", line 14, in sample\r\n    aps = wifi_scanner.get_access_points()\r\n  File \"/usr/local/lib/python2.7/site-packages/access_points/__init__.py\", line 33, in get_access_points\r\n    results = self.parse_output(out)\r\n  File \"/usr/local/lib/python2.7/site-packages/access_points/__init__.py\", line 62, in parse_output\r\n    ap = AccessPoint(ssid, bssid, rssi_to_quality(int(rssi)), security)\r\nValueError: invalid literal for int() with base 10: ''\r\n```\r\n\r\nPython 2.7,  OSX 10.11.6."},"comment":{"url":"https://api.github.com/repos/kootenpv/whereami/issues/comments/250068777","html_url":"https://github.com/kootenpv/whereami/issues/5#issuecomment-250068777","issue_url":"https://api.github.com/repos/kootenpv/whereami/issues/5","id":250068777,"user":{"login":"kootenpv","id":2746227,"avatar_url":"https://avatars.githubusercontent.com/u/2746227?v=3","gravatar_id":"","url":"https://api.github.com/users/kootenpv","html_url":"https://github.com/kootenpv","followers_url":"https://api.github.com/users/kootenpv/followers","following_url":"https://api.github.com/users/kootenpv/following{/other_user}","gists_url":"https://api.github.com/users/kootenpv/gists{/gist_id}","starred_url":"https://api.github.com/users/kootenpv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kootenpv/subscriptions","organizations_url":"https://api.github.com/users/kootenpv/orgs","repos_url":"https://api.github.com/users/kootenpv/repos","events_url":"https://api.github.com/users/kootenpv/events{/privacy}","received_events_url":"https://api.github.com/users/kootenpv/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T04:27:50Z","updated_at":"2016-09-28T04:27:50Z","body":"Thanks for taking the time to post! I'm very curious how your scanning looks like. Could you post the output of `access_points`? I guess it is going wrong there. So maybe you could directly post `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s`?"}}
{"actor":{"display_login":"kootenpv"}}