{"action":"created","issue":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/869","repository_url":"https://api.github.com/repos/blueman-project/blueman","labels_url":"https://api.github.com/repos/blueman-project/blueman/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/blueman-project/blueman/issues/869/comments","events_url":"https://api.github.com/repos/blueman-project/blueman/issues/869/events","html_url":"https://github.com/blueman-project/blueman/issues/869","id":318672635,"number":869,"title":"Blueman 2.1alpha2 gentoo issue","user":{"login":"gfernandop","id":8126975,"avatar_url":"https://avatars2.githubusercontent.com/u/8126975?v=4","gravatar_id":"","url":"https://api.github.com/users/gfernandop","html_url":"https://github.com/gfernandop","followers_url":"https://api.github.com/users/gfernandop/followers","following_url":"https://api.github.com/users/gfernandop/following{/other_user}","gists_url":"https://api.github.com/users/gfernandop/gists{/gist_id}","starred_url":"https://api.github.com/users/gfernandop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfernandop/subscriptions","organizations_url":"https://api.github.com/users/gfernandop/orgs","repos_url":"https://api.github.com/users/gfernandop/repos","events_url":"https://api.github.com/users/gfernandop/events{/privacy}","received_events_url":"https://api.github.com/users/gfernandop/received_events","type":"User","site_admin":false},"labels":[{"id":55481138,"url":"https://api.github.com/repos/blueman-project/blueman/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-04-28T22:16:54Z","updated_at":"2018-04-30T16:48:39Z","closed_at":null,"author_association":"NONE","body":"blueman: 2.1alpha2\r\nBlueZ: 5.49\r\nDistribution: Gentoo Linux\r\nDesktop environment: XFCE\r\n\r\nI had two adapters, since I removed one of them (hci1) by removing the kernel module I get the message pasted below:\r\n\r\nConnection Failed: 'NoneType' object is not iterable\r\n\r\nIt seems blueman keeps hci1 as an adapter and when I try to use my main device (hci0) it crashes.\r\n\r\nI have gathered the traces by using --loglevel debug:\r\n\r\n --- Logging error ---\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.5/site-packages/gi/overrides/Gio.py\", line 134, in __async_result_handler\r\n    ret = obj.call_finish(result)\r\nGLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):\r\n  File \"/usr/lib64/python3.5/site-packages/dbus/service.py\", line 707, in _message_cb\r\n    retval = candidate_method(self, *args, **keywords)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/main/DbusService.py\", line 33, in wrapper\r\n    return method(*args[1:], **kwargs)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/plugins/applet/DBusService.py\", line 61, in connect_service\r\n    self.parent.Plugins.RecentConns.notify(object_path, uuid)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/plugins/applet/RecentConns.py\", line 199, in notify\r\n    for i in self.items:\r\nTypeError: 'NoneType' object is not iterable\r\n (36)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.5/logging/__init__.py\", line 986, in emit\r\n    msg = self.format(record)\r\n  File \"/usr/lib64/python3.5/logging/__init__.py\", line 836, in format\r\n    return fmt.format(record)\r\n  File \"/usr/lib64/python3.5/logging/__init__.py\", line 573, in format\r\n    record.message = record.getMessage()\r\n  File \"/usr/lib64/python3.5/logging/__init__.py\", line 336, in getMessage\r\n    msg = msg % self.args\r\nTypeError: not all arguments converted during string formatting\r\nCall stack:\r\n  File \"/usr/bin/blueman-manager\", line 47, in <module>\r\n    Gtk.main()\r\n  File \"/usr/lib64/python3.5/site-packages/gi/overrides/Gio.py\", line 139, in __async_result_handler\r\n    error_callback(obj, e, real_user_data)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/gui/manager/ManagerDeviceMenu.py\", line 182, in fail\r\n    logging.info(\"fail\", result)\r\nMessage: 'fail'\r\nArguments: (GLib.Error('GDBus.Error:org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):\r\n  File \"/usr/lib64/python3.5/site-packages/dbus/service.py\", line 707, in _message_cb\r\n    retval = candidate_method(self, *args, **keywords)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/main/DbusService.py\", line 33, in wrapper\r\n    return method(*args[1:], **kwargs)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/plugins/applet/DBusService.py\", line 61, in connect_service\r\n    self.parent.Plugins.RecentConns.notify(object_path, uuid)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/plugins/applet/RecentConns.py\", line 199, in notify\r\n    for i in self.items:\r\nTypeError: 'NoneType' object is not iterable\r\n', 'g-io-error-quark', 36),)\r\n```\r\n\r\nCould you help me to solve it?\r\n\r\nBest Regards\r\n"},"comment":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/comments/385458089","html_url":"https://github.com/blueman-project/blueman/issues/869#issuecomment-385458089","issue_url":"https://api.github.com/repos/blueman-project/blueman/issues/869","id":385458089,"user":{"login":"infirit","id":3465730,"avatar_url":"https://avatars2.githubusercontent.com/u/3465730?v=4","gravatar_id":"","url":"https://api.github.com/users/infirit","html_url":"https://github.com/infirit","followers_url":"https://api.github.com/users/infirit/followers","following_url":"https://api.github.com/users/infirit/following{/other_user}","gists_url":"https://api.github.com/users/infirit/gists{/gist_id}","starred_url":"https://api.github.com/users/infirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infirit/subscriptions","organizations_url":"https://api.github.com/users/infirit/orgs","repos_url":"https://api.github.com/users/infirit/repos","events_url":"https://api.github.com/users/infirit/events{/privacy}","received_events_url":"https://api.github.com/users/infirit/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T16:48:39Z","updated_at":"2018-04-30T16:48:39Z","author_association":"CONTRIBUTOR","body":"Sorry, I am being confusing :disappointed:. There is a bug that causing the TraceBack [1] and that should be fixed now. I was hoping this would fix the NoneType error when trying to connect. \r\n\r\nIf the NoneType error persists after the patch and the TraceBack below [1] is gone then I'll have to look further.\r\n\r\n[1] TraceBack\r\n```\r\nblueman-manager 22.25.13 ERROR    DeviceList:246 SetAdapter: No adapters found with pattern: hci1\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/gui/DeviceList.py\", line 236, in SetAdapter\r\n    self.Adapter = self.manager.get_adapter(adapter)\r\n  File \"/usr/lib64/python3.5/site-packages/blueman/bluez/Manager.py\", line 91, in get_adapter\r\n    raise DBusNoSuchAdapterError(\"No adapters found with pattern: %s\" % pattern)\r\nblueman.bluez.errors.DBusNoSuchAdapterError: No adapters found with pattern: hci1\r\n```"}}
{"actor":{"display_login":"infirit"}}