{"action":"created","issue":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/300","labels_url":"https://api.github.com/repos/blueman-project/blueman/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/blueman-project/blueman/issues/300/comments","events_url":"https://api.github.com/repos/blueman-project/blueman/issues/300/events","html_url":"https://github.com/blueman-project/blueman/issues/300","id":85867955,"number":300,"title":"Error when connecting Sphero","user":{"login":"thesbros","id":1520776,"avatar_url":"https://avatars.githubusercontent.com/u/1520776?v=3","gravatar_id":"","url":"https://api.github.com/users/thesbros","html_url":"https://github.com/thesbros","followers_url":"https://api.github.com/users/thesbros/followers","following_url":"https://api.github.com/users/thesbros/following{/other_user}","gists_url":"https://api.github.com/users/thesbros/gists{/gist_id}","starred_url":"https://api.github.com/users/thesbros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesbros/subscriptions","organizations_url":"https://api.github.com/users/thesbros/orgs","repos_url":"https://api.github.com/users/thesbros/repos","events_url":"https://api.github.com/users/thesbros/events{/privacy}","received_events_url":"https://api.github.com/users/thesbros/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blueman-project/blueman/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-07T07:14:50Z","updated_at":"2015-06-10T06:35:38Z","closed_at":null,"body":"When I try to connect my Sphero 2.0, I get \"Connection Failed: Traceback (most recent call last)\":\r\n\r\n```\r\nConnection Failed: Traceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/blueman/services/meta/SerialService.py\", line 29, in connect\r\n    port_id = create_rfcomm_device(Adapter(props['Adapter']).get_properties()['Address'], props['Address'], 1)\r\n  File \"_blueman.pyx\", line 212, in _blueman.create_rfcomm_device (_blueman.c:1935)\r\nTypeError: expected bytes, dbus.String found\r\n```\r\n\r\nEDIT: Using BlueZ 5.30, Blueman 2.0.r2.g9bd5a20-1 from the AUR."},"comment":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/comments/110613808","html_url":"https://github.com/blueman-project/blueman/issues/300#issuecomment-110613808","issue_url":"https://api.github.com/repos/blueman-project/blueman/issues/300","id":110613808,"user":{"login":"thesbros","id":1520776,"avatar_url":"https://avatars.githubusercontent.com/u/1520776?v=3","gravatar_id":"","url":"https://api.github.com/users/thesbros","html_url":"https://github.com/thesbros","followers_url":"https://api.github.com/users/thesbros/followers","following_url":"https://api.github.com/users/thesbros/following{/other_user}","gists_url":"https://api.github.com/users/thesbros/gists{/gist_id}","starred_url":"https://api.github.com/users/thesbros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesbros/subscriptions","organizations_url":"https://api.github.com/users/thesbros/orgs","repos_url":"https://api.github.com/users/thesbros/repos","events_url":"https://api.github.com/users/thesbros/events{/privacy}","received_events_url":"https://api.github.com/users/thesbros/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T06:35:38Z","updated_at":"2015-06-10T06:35:38Z","body":"This is my problem with BlueZ 5:\r\n```bash\r\n❯ sudo bluetoothctl\r\n[NEW] Controller 5C:F3:70:68:FA:03 desktop [default]\r\n[bluetooth]# power on\r\n[CHG] Controller 5C:F3:70:68:FA:03 Class: 0x1c0104\r\nChanging power on succeeded\r\n[CHG] Controller 5C:F3:70:68:FA:03 Powered: yes\r\n[bluetooth]# agent on\r\nAgent registered\r\n[bluetooth]# default-agent\r\nDefault agent request successful\r\n[bluetooth]# scan on\r\nDiscovery started\r\n[CHG] Controller 5C:F3:70:68:FA:03 Discovering: yes\r\n[CHG] Device 68:86:E7:02:AA:76 RSSI: -46 # this is the sphero\r\n[bluetooth]# pair 68:86:E7:02:AA:76\r\nAttempting to pair with 68:86:E7:02:AA:76\r\nFailed to pair: org.bluez.Error.AlreadyExists # i already paired, ignore this\r\n[bluetooth]# connect 68:86:E7:02:AA:76\r\nAttempting to connect to 68:86:E7:02:AA:76\r\nFailed to connect: org.bluez.Error.Failed # this is the problem\r\n[bluetooth]# \r\n```"}}