{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/16","repository_url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE","labels_url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/16/comments","events_url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/16/events","html_url":"https://github.com/adafruit/Adafruit_Python_BluefruitLE/issues/16","id":176988724,"number":16,"title":"Python 3 installation failure","user":{"login":"watsonix","id":9025286,"avatar_url":"https://avatars.githubusercontent.com/u/9025286?v=3","gravatar_id":"","url":"https://api.github.com/users/watsonix","html_url":"https://github.com/watsonix","followers_url":"https://api.github.com/users/watsonix/followers","following_url":"https://api.github.com/users/watsonix/following{/other_user}","gists_url":"https://api.github.com/users/watsonix/gists{/gist_id}","starred_url":"https://api.github.com/users/watsonix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watsonix/subscriptions","organizations_url":"https://api.github.com/users/watsonix/orgs","repos_url":"https://api.github.com/users/watsonix/repos","events_url":"https://api.github.com/users/watsonix/events{/privacy}","received_events_url":"https://api.github.com/users/watsonix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-14T18:48:42Z","updated_at":"2016-11-07T15:48:58Z","closed_at":null,"body":"Summary: Build error on Python 3 because of raise statement syntax\n- Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,\n  Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):  \n\nOSX 10.10\n- Python version (run `python -version` or `python3 -version`):  3.5\n- Error message you are receiving, including any Python exception traces:  \n\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/bluez_dbus/provider.py to provider.cpython-34.pyc\n  File \"build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/bluez_dbus/provider.py\", line 103\n    raise self._exception[1], None, self._exception[2]\n                            ^\nSyntaxError: invalid syntax\n\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/config.py to config.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/**init**.py to **init**.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/adapter.py to adapter.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/device.py to device.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/gatt.py to gatt.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/metadata.py to metadata.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/objc_helpers.py to objc_helpers.cpython-34.pyc\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/provider.py to provider.cpython-34.pyc\n  File \"build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/corebluetooth/provider.py\", line 290\n    raise exec_info[1], None, exec_info[2]\n                      ^\nSyntaxError: invalid syntax\n\nbyte-compiling build/bdist.macosx-10.5-x86_64/egg/Adafruit_BluefruitLE/interfaces/**init**.py to **init**.cpython-34.pyc\n- List the steps to reproduce the problem below (if possible attach code or commands\n  to run): \n\n%sudo python setup.py install\n"},"comment":{"url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/comments/258872474","html_url":"https://github.com/adafruit/Adafruit_Python_BluefruitLE/issues/16#issuecomment-258872474","issue_url":"https://api.github.com/repos/adafruit/Adafruit_Python_BluefruitLE/issues/16","id":258872474,"user":{"login":"snimmagadda1","id":19558427,"avatar_url":"https://avatars.githubusercontent.com/u/19558427?v=3","gravatar_id":"","url":"https://api.github.com/users/snimmagadda1","html_url":"https://github.com/snimmagadda1","followers_url":"https://api.github.com/users/snimmagadda1/followers","following_url":"https://api.github.com/users/snimmagadda1/following{/other_user}","gists_url":"https://api.github.com/users/snimmagadda1/gists{/gist_id}","starred_url":"https://api.github.com/users/snimmagadda1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snimmagadda1/subscriptions","organizations_url":"https://api.github.com/users/snimmagadda1/orgs","repos_url":"https://api.github.com/users/snimmagadda1/repos","events_url":"https://api.github.com/users/snimmagadda1/events{/privacy}","received_events_url":"https://api.github.com/users/snimmagadda1/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T15:48:58Z","updated_at":"2016-11-07T15:48:58Z","body":"Thanks for your notes I fixed the packages, though am not sure how to fix the TypeError: a bytes-like object is required, not 'str' generated by line 39 in Adafruit_BluefruitLE/corebluetooth/adapter.py. Where would I add line 39: add .encode('utf-8')?\r\n"}}
{"actor":{"display_login":"snimmagadda1"}}