{"action":"created","issue":{"url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/326","repository_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero","labels_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/326/comments","events_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/326/events","html_url":"https://github.com/RPi-Distro/python-gpiozero/issues/326","id":156146024,"number":326,"title":"RGBLED Initialization failed","user":{"login":"serenagrl","id":10599083,"avatar_url":"https://avatars.githubusercontent.com/u/10599083?v=3","gravatar_id":"","url":"https://api.github.com/users/serenagrl","html_url":"https://github.com/serenagrl","followers_url":"https://api.github.com/users/serenagrl/followers","following_url":"https://api.github.com/users/serenagrl/following{/other_user}","gists_url":"https://api.github.com/users/serenagrl/gists{/gist_id}","starred_url":"https://api.github.com/users/serenagrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serenagrl/subscriptions","organizations_url":"https://api.github.com/users/serenagrl/orgs","repos_url":"https://api.github.com/users/serenagrl/repos","events_url":"https://api.github.com/users/serenagrl/events{/privacy}","received_events_url":"https://api.github.com/users/serenagrl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2016-05-22T10:40:01Z","updated_at":"2016-05-27T15:18:52Z","closed_at":"2016-05-26T22:08:25Z","body":"Hi,\r\n\r\nWhen I tried to create a new RGBLED,\r\n\r\n```python\r\nled = RGBLED(red=26, green=19, blue=13)\r\n```\r\n\r\nI get the following error:\r\n\r\n```\r\nTypeError: integer argument expected, got float.\r\n```"},"comment":{"url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/comments/222174537","html_url":"https://github.com/RPi-Distro/python-gpiozero/issues/326#issuecomment-222174537","issue_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/326","id":222174537,"user":{"login":"bennuttall","id":1609725,"avatar_url":"https://avatars.githubusercontent.com/u/1609725?v=3","gravatar_id":"","url":"https://api.github.com/users/bennuttall","html_url":"https://github.com/bennuttall","followers_url":"https://api.github.com/users/bennuttall/followers","following_url":"https://api.github.com/users/bennuttall/following{/other_user}","gists_url":"https://api.github.com/users/bennuttall/gists{/gist_id}","starred_url":"https://api.github.com/users/bennuttall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennuttall/subscriptions","organizations_url":"https://api.github.com/users/bennuttall/orgs","repos_url":"https://api.github.com/users/bennuttall/repos","events_url":"https://api.github.com/users/bennuttall/events{/privacy}","received_events_url":"https://api.github.com/users/bennuttall/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T15:18:52Z","updated_at":"2016-05-27T15:18:52Z","body":"@serenagrl It looks for \"local\" packages first. First your current directory, then your pip installed packages, then your apt-get installed packages.\r\n\r\nFor further information on where Python looks for modules see `sys.path`:\r\n\r\n```\r\n>>> import sys\r\n>>> sys.path\r\n['', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-arm-linux-gnueabihf', '/usr/lib/python3.4/lib-dynload', '/usr/local/lib/python3.4/dist-packages', '/usr/lib/python3/dist-packages']\r\n```\r\n\r\nTry uninstalling the pip versions first."}}
{"actor":{"display_login":"bennuttall"}}