{"action":"created","issue":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/168","labels_url":"https://api.github.com/repos/blueman-project/blueman/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/blueman-project/blueman/issues/168/comments","events_url":"https://api.github.com/repos/blueman-project/blueman/issues/168/events","html_url":"https://github.com/blueman-project/blueman/pull/168","id":54679956,"number":168,"title":"Python3 fixes","user":{"login":"infirit","id":3465730,"avatar_url":"https://avatars.githubusercontent.com/u/3465730?v=3","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-17T23:39:01Z","updated_at":"2015-01-26T21:47:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blueman-project/blueman/pulls/168","html_url":"https://github.com/blueman-project/blueman/pull/168","diff_url":"https://github.com/blueman-project/blueman/pull/168.diff","patch_url":"https://github.com/blueman-project/blueman/pull/168.patch"},"body":"All these changes are backwards compatible with python 2.7 but I like to see someone test this to be sure. If this is working fine for others I'll push this to master.\r\n\r\nNote, after this it does __not__ run under python3. It fixes all errors up to metaclass errors and then my eyes glazed over. For reference the error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/blueman-applet\", line 114, in <module>\r\n    BluemanApplet()\r\n  File \"/usr/bin/blueman-applet\", line 57, in __init__\r\n    self.Plugins.Load()\r\n  File \"/usr/lib64/python3.3/site-packages/blueman/main/PluginManager.py\", line 85, in Load\r\n    __import__(self.module_path.__name__ + \".%s\" % plugin, None, None, [])\r\n  File \"/usr/lib64/python3.3/site-packages/blueman/plugins/applet/AuthAgent.py\", line 3, in <module>\r\n    import blueman.main.applet.BluezAgent as BluezAgent\r\n  File \"/usr/lib64/python3.3/site-packages/blueman/main/applet/BluezAgent.py\", line 33, in <module>\r\n    class CommonAgent(GObject.GObject, Agent):\r\nTypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases\r\n```"},"comment":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/comments/71545144","html_url":"https://github.com/blueman-project/blueman/pull/168#issuecomment-71545144","issue_url":"https://api.github.com/repos/blueman-project/blueman/issues/168","id":71545144,"user":{"login":"infirit","id":3465730,"avatar_url":"https://avatars.githubusercontent.com/u/3465730?v=3","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":"2015-01-26T21:47:32Z","updated_at":"2015-01-26T21:47:32Z","body":"Added a new commit to handle this case. It works all ok for me on Python2 but more problems still for Python3 :cry: "}}