{"action":"created","issue":{"url":"https://api.github.com/repos/exaile/exaile/issues/219","repository_url":"https://api.github.com/repos/exaile/exaile","labels_url":"https://api.github.com/repos/exaile/exaile/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/exaile/exaile/issues/219/comments","events_url":"https://api.github.com/repos/exaile/exaile/issues/219/events","html_url":"https://github.com/exaile/exaile/issues/219","id":125815183,"number":219,"title":"[gnomemmkeys] Plugin should fail more gracefully if it cannot be enabled","user":{"login":"genodeftest","id":934401,"avatar_url":"https://avatars.githubusercontent.com/u/934401?v=3","gravatar_id":"","url":"https://api.github.com/users/genodeftest","html_url":"https://github.com/genodeftest","followers_url":"https://api.github.com/users/genodeftest/followers","following_url":"https://api.github.com/users/genodeftest/following{/other_user}","gists_url":"https://api.github.com/users/genodeftest/gists{/gist_id}","starred_url":"https://api.github.com/users/genodeftest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genodeftest/subscriptions","organizations_url":"https://api.github.com/users/genodeftest/orgs","repos_url":"https://api.github.com/users/genodeftest/repos","events_url":"https://api.github.com/users/genodeftest/events{/privacy}","received_events_url":"https://api.github.com/users/genodeftest/received_events","type":"User","site_admin":false},"labels":[{"id":125567208,"url":"https://api.github.com/repos/exaile/exaile/labels/Type:%20enhancement","name":"Type: enhancement","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/exaile/exaile/milestones/9","html_url":"https://github.com/exaile/exaile/milestone/9","labels_url":"https://api.github.com/repos/exaile/exaile/milestones/9/labels","id":1113617,"number":9,"title":"Exaile 4.0.1","description":"Minor fixes that will be dealt with after the GTK3/GST 1.x migration.","creator":{"login":"virtuald","id":567900,"avatar_url":"https://avatars.githubusercontent.com/u/567900?v=3","gravatar_id":"","url":"https://api.github.com/users/virtuald","html_url":"https://github.com/virtuald","followers_url":"https://api.github.com/users/virtuald/followers","following_url":"https://api.github.com/users/virtuald/following{/other_user}","gists_url":"https://api.github.com/users/virtuald/gists{/gist_id}","starred_url":"https://api.github.com/users/virtuald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtuald/subscriptions","organizations_url":"https://api.github.com/users/virtuald/orgs","repos_url":"https://api.github.com/users/virtuald/repos","events_url":"https://api.github.com/users/virtuald/events{/privacy}","received_events_url":"https://api.github.com/users/virtuald/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":3,"state":"open","created_at":"2015-05-16T23:47:48Z","updated_at":"2016-12-20T01:13:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-01-10T11:48:12Z","updated_at":"2016-12-20T01:13:32Z","closed_at":"2016-12-20T01:13:32Z","body":"Steps to reproduce:\n1. start exaile in a Gnome session\n2. enable plugin gnomemmkeys\n3. quit exaile\n4. switch to KDE plasma session\n5. start exaile\n\nYou'll get this traceback:\n\n```\nTraceback (most recent call last):                                                                     \n  File \"/path/to/exaileplugins/gnomemmkeys/__init__.py\", line 78, in _enable                                                                                                      \n    '/org/gnome/SettingsDaemon')                                                                       \n  File \"/usr/lib64/python2.7/site-packages/dbus/bus.py\", line 241, in get_object\n    follow_name_owner_changes=follow_name_owner_changes)\n  File \"/usr/lib64/python2.7/site-packages/dbus/proxies.py\", line 248, in __init__\n    self._named_service = conn.activate_name_owner(bus_name)\n  File \"/usr/lib64/python2.7/site-packages/dbus/bus.py\", line 180, in activate_name_owner\n    self.start_service_by_name(bus_name)\n  File \"/usr/lib64/python2.7/site-packages/dbus/bus.py\", line 278, in start_service_by_name\n    'su', (bus_name, flags)))\n  File \"/usr/lib64/python2.7/site-packages/dbus/connection.py\", line 651, in call_blocking\n    message, timeout)\nDBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files\n```\n\nInstead I think you should see a message on cli that this plugin failed and disable the plugin.\n"},"comment":{"url":"https://api.github.com/repos/exaile/exaile/issues/comments/268125610","html_url":"https://github.com/exaile/exaile/issues/219#issuecomment-268125610","issue_url":"https://api.github.com/repos/exaile/exaile/issues/219","id":268125610,"user":{"login":"genodeftest","id":934401,"avatar_url":"https://avatars.githubusercontent.com/u/934401?v=3","gravatar_id":"","url":"https://api.github.com/users/genodeftest","html_url":"https://github.com/genodeftest","followers_url":"https://api.github.com/users/genodeftest/followers","following_url":"https://api.github.com/users/genodeftest/following{/other_user}","gists_url":"https://api.github.com/users/genodeftest/gists{/gist_id}","starred_url":"https://api.github.com/users/genodeftest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genodeftest/subscriptions","organizations_url":"https://api.github.com/users/genodeftest/orgs","repos_url":"https://api.github.com/users/genodeftest/repos","events_url":"https://api.github.com/users/genodeftest/events{/privacy}","received_events_url":"https://api.github.com/users/genodeftest/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T01:13:32Z","updated_at":"2016-12-20T01:13:32Z","body":"Closing, because the plugin gnomemmkeys has been removed in eb222c1088d9d47e05729848150c97fa3fd99d07 and #293"}}
{"actor":{"display_login":"genodeftest"}}