{"action":"created","issue":{"url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/1","labels_url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/1/comments","events_url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/1/events","html_url":"https://github.com/tadfisher/android-sdk-updater/pull/1","id":118947437,"number":1,"title":"Rejigger project structure; add necessary publishing files.","user":{"login":"twaddington","id":107117,"avatar_url":"https://avatars.githubusercontent.com/u/107117?v=3","gravatar_id":"","url":"https://api.github.com/users/twaddington","html_url":"https://github.com/twaddington","followers_url":"https://api.github.com/users/twaddington/followers","following_url":"https://api.github.com/users/twaddington/following{/other_user}","gists_url":"https://api.github.com/users/twaddington/gists{/gist_id}","starred_url":"https://api.github.com/users/twaddington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twaddington/subscriptions","organizations_url":"https://api.github.com/users/twaddington/orgs","repos_url":"https://api.github.com/users/twaddington/repos","events_url":"https://api.github.com/users/twaddington/events{/privacy}","received_events_url":"https://api.github.com/users/twaddington/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T00:29:46Z","updated_at":"2015-11-26T02:40:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tadfisher/android-sdk-updater/pulls/1","html_url":"https://github.com/tadfisher/android-sdk-updater/pull/1","diff_url":"https://github.com/tadfisher/android-sdk-updater/pull/1.diff","patch_url":"https://github.com/tadfisher/android-sdk-updater/pull/1.patch"},"body":"This isn't quite working yet, but it's close.\r\n\r\nI'm having trouble following what your update script is doing. Running `setup.py develop` or `install` works fine. You can then call `android-sdk-updater` or `android-sdk-updater --help` from the command-line and get output as expected.\r\n\r\nHowever, I'm seeing results like this:\r\n\r\n```\r\n(android-sdk-updater)pierrot:src tristan$ android-sdk-updater \r\nScanning /Users/tristan/.android-sdk for installed packages...\r\nPackage parse failed: /add-ons/addon-google_apis-google-15\r\nPackage parse failed: /add-ons/addon-google_apis-google-16\r\nPackage parse failed: /add-ons/addon-google_apis-google-17\r\nPackage parse failed: /add-ons/addon-google_apis-google-18\r\nPackage parse failed: /add-ons/addon-google_apis-google-19\r\nPackage parse failed: /add-ons/addon-google_apis-google-21\r\nPackage parse failed: /add-ons/addon-google_apis-google-22\r\nPackage parse failed: /add-ons/addon-google_apis-google-23\r\nPackage parse failed: /add-ons/addon-google_apis_x86-google-19\r\nPackage parse failed: /add-ons/addon-google_gdk-google-19\r\nPackage parse failed: /build-tools/17.0.0\r\nPackage parse failed: /build-tools/18.0.1\r\nPackage parse failed: /build-tools/18.1.0\r\nPackage parse failed: /build-tools/18.1.1\r\nPackage parse failed: /build-tools/19.0.0\r\nPackage parse failed: /build-tools/19.0.1\r\nPackage parse failed: /build-tools/19.0.2\r\nPackage parse failed: /build-tools/19.0.3\r\nPackage parse failed: /build-tools/19.1.0\r\nPackage parse failed: /build-tools/21.0.0\r\nPackage parse failed: /build-tools/21.0.1\r\nPackage parse failed: /build-tools/21.0.2\r\nPackage parse failed: /build-tools/21.1.0\r\nPackage parse failed: /build-tools/21.1.1\r\nPackage parse failed: /build-tools/21.1.2\r\nPackage parse failed: /build-tools/22.0.0\r\nPackage parse failed: /build-tools/22.0.1\r\nPackage parse failed: /build-tools/23.0.0\r\nPackage parse failed: /build-tools/23.0.1\r\nPackage parse failed: /build-tools/23.0.2\r\nPackage parse failed: /build-tools/android-4.4W\r\nPackage parse failed: /docs\r\nPackage parse failed: /extras/android/m2repository\r\nPackage parse failed: /extras/android/support\r\nPackage parse failed: /extras/google/google_play_services\r\nPackage parse failed: /extras/google/m2repository\r\nPackage parse failed: /extras/intel/Hardware_Accelerated_Execution_Manager\r\nPackage parse failed: /platform-tools\r\nPackage parse failed: /platforms/android-15\r\nPackage parse failed: /platforms/android-16\r\nPackage parse failed: /platforms/android-17\r\nPackage parse failed: /platforms/android-18\r\nPackage parse failed: /platforms/android-19\r\nPackage parse failed: /platforms/android-20\r\nPackage parse failed: /platforms/android-21\r\nPackage parse failed: /platforms/android-22\r\nPackage parse failed: /platforms/android-23\r\nPackage parse failed: /platforms/android-L\r\nPackage parse failed: /platforms/android-MNC\r\nPackage parse failed: /samples/android-22\r\nPackage parse failed: /samples/android-23\r\nPackage parse failed: /samples/android-MNC\r\nPackage parse failed: /sources/android-15\r\nPackage parse failed: /sources/android-16\r\nPackage parse failed: /sources/android-17\r\nPackage parse failed: /sources/android-18\r\nPackage parse failed: /sources/android-19\r\nPackage parse failed: /sources/android-21\r\nPackage parse failed: /sources/android-22\r\nPackage parse failed: /sources/android-23\r\nPackage parse failed: /system-images/android-15/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-15/default/x86\r\nPackage parse failed: /system-images/android-16/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-17/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-17/default/x86\r\nPackage parse failed: /system-images/android-18/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-18/default/x86\r\nPackage parse failed: /system-images/android-19/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-19/default/x86\r\nPackage parse failed: /system-images/android-20/android-wear/armeabi-v7a\r\nPackage parse failed: /system-images/android-20/android-wear/x86\r\nPackage parse failed: /system-images/android-21/android-tv/armeabi-v7a\r\nPackage parse failed: /system-images/android-21/android-tv/x86\r\nPackage parse failed: /system-images/android-21/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-21/default/x86\r\nPackage parse failed: /system-images/android-21/default/x86_64\r\nPackage parse failed: /system-images/android-21/google_apis/armeabi-v7a\r\nPackage parse failed: /system-images/android-21/google_apis/x86\r\nPackage parse failed: /system-images/android-21/google_apis/x86_64\r\nPackage parse failed: /system-images/android-22/android-tv/armeabi-v7a\r\nPackage parse failed: /system-images/android-22/android-tv/x86\r\nPackage parse failed: /system-images/android-22/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-22/default/x86\r\nPackage parse failed: /system-images/android-22/default/x86_64\r\nPackage parse failed: /system-images/android-22/google_apis/armeabi-v7a\r\nPackage parse failed: /system-images/android-22/google_apis/x86\r\nPackage parse failed: /system-images/android-22/google_apis/x86_64\r\nPackage parse failed: /system-images/android-23/android-tv/armeabi-v7a\r\nPackage parse failed: /system-images/android-23/android-tv/x86\r\nPackage parse failed: /system-images/android-23/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-23/default/x86\r\nPackage parse failed: /system-images/android-23/default/x86_64\r\nPackage parse failed: /system-images/android-23/google_apis/armeabi-v7a\r\nPackage parse failed: /system-images/android-23/google_apis/x86\r\nPackage parse failed: /system-images/android-23/google_apis/x86_64\r\nPackage parse failed: /system-images/android-L/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-L/default/x86\r\nPackage parse failed: /system-images/android-L/default/x86_64\r\nPackage parse failed: /system-images/android-MNC/default/arm64-v8a\r\nPackage parse failed: /system-images/android-MNC/default/armeabi-v7a\r\nPackage parse failed: /system-images/android-MNC/default/x86\r\nPackage parse failed: /system-images/android-MNC/default/x86_64\r\nPackage parse failed: /tools\r\n    0 packages installed.\r\nQuerying update sites for available packages...\r\nTraceback (most recent call last):\r\n  File \"/Users/tristan/Projects/personal/android-sdk-updater/bin/android-sdk-updater\", line 6, in <module>\r\n    exec(compile(open(__file__).read(), __file__, 'exec'))\r\n  File \"/Users/tristan/Projects/personal/android-sdk-updater/src/bin/android-sdk-updater\", line 39, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/tristan/Projects/personal/android-sdk-updater/src/bin/android-sdk-updater\", line 34, in main\r\n    update_sdk.main(android_home)\r\n  File \"/Users/tristan/Projects/personal/android-sdk-updater/src/sdk_updater/update.py\", line 86, in main\r\n    available = list_packages(android)\r\n  File \"/Users/tristan/Projects/personal/android-sdk-updater/src/sdk_updater/list.py\", line 31, in list_packages\r\n    out = subprocess.getoutput(android + ' list sdk --all --extended')\r\nAttributeError: 'module' object has no attribute 'getoutput'\r\n```\r\n\r\nLooks like you're using a lot of python3 only APIs. I'm digging through and updating them as I find them. I'll see if I can get this working a little better."},"comment":{"url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/comments/159787069","html_url":"https://github.com/tadfisher/android-sdk-updater/pull/1#issuecomment-159787069","issue_url":"https://api.github.com/repos/tadfisher/android-sdk-updater/issues/1","id":159787069,"user":{"login":"tadfisher","id":129148,"avatar_url":"https://avatars.githubusercontent.com/u/129148?v=3","gravatar_id":"","url":"https://api.github.com/users/tadfisher","html_url":"https://github.com/tadfisher","followers_url":"https://api.github.com/users/tadfisher/followers","following_url":"https://api.github.com/users/tadfisher/following{/other_user}","gists_url":"https://api.github.com/users/tadfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/tadfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadfisher/subscriptions","organizations_url":"https://api.github.com/users/tadfisher/orgs","repos_url":"https://api.github.com/users/tadfisher/repos","events_url":"https://api.github.com/users/tadfisher/events{/privacy}","received_events_url":"https://api.github.com/users/tadfisher/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T02:40:19Z","updated_at":"2015-11-26T02:40:19Z","body":"> Looks like you're using a lot of python3 only APIs.\r\n\r\nYeah, I only tested on python 3.5. Is this bad behavior for a python package?"}}