{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/664","repository_url":"https://api.github.com/repos/ultrabug/py3status","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/664/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/664/events","html_url":"https://github.com/ultrabug/py3status/pull/664","id":200824287,"number":664,"title":"xsel: Fix xsel","user":{"login":"lasers","id":852504,"avatar_url":"https://avatars.githubusercontent.com/u/852504?v=3","gravatar_id":"","url":"https://api.github.com/users/lasers","html_url":"https://github.com/lasers","followers_url":"https://api.github.com/users/lasers/followers","following_url":"https://api.github.com/users/lasers/following{/other_user}","gists_url":"https://api.github.com/users/lasers/gists{/gist_id}","starred_url":"https://api.github.com/users/lasers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasers/subscriptions","organizations_url":"https://api.github.com/users/lasers/orgs","repos_url":"https://api.github.com/users/lasers/repos","events_url":"https://api.github.com/users/lasers/events{/privacy}","received_events_url":"https://api.github.com/users/lasers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2017-01-14T19:31:15Z","updated_at":"2017-01-15T13:18:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/664","html_url":"https://github.com/ultrabug/py3status/pull/664","diff_url":"https://github.com/ultrabug/py3status/pull/664.diff","patch_url":"https://github.com/ultrabug/py3status/pull/664.patch"},"body":"Switching from `xsel` to `xsel -o` make it more bearable. \r\n`-o, --output:    write the selection to standard output.`\r\n\r\nWith `xsel` alone, I get this error.\r\n```\r\n2017-01-14 13:23:14 WARNING Instance `xsel`, user method `xsel` failed (Exception) py3.py line 699.\r\n2017-01-14 13:23:14 INFO Traceback\r\nException: Command 'xsel' returned non-zero exit status -15\r\n  File \"/usr/lib/python3.6/site-packages/py3status/module.py\", line 584, in run\r\n    response = method()\r\n  File \"/home/chris/src/py3status/py3status/modules/xsel.py\", line 38, in xsel\r\n    output = self.py3.command_output(self.command)\r\n  File \"/usr/lib/python3.6/site-packages/py3status/py3.py\", line 699, in command_output\r\n    raise Exception(msg.format(cmd=command[0], error=retcode))\r\n\r\n2017-01-14 13:23:14 ERROR py3status: Instance `xsel`, user method `xsel` failed (Exception) py3.py line 699. Please try to fix this and reload i3wm (Mod+Shift+R)\r\n```\r\nYou mentioned `self.py3.command_output`. It's there.\r\n\r\nThis currently works, but is ugly/broken sometimes."},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/272694644","html_url":"https://github.com/ultrabug/py3status/pull/664#issuecomment-272694644","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/664","id":272694644,"user":{"login":"lasers","id":852504,"avatar_url":"https://avatars.githubusercontent.com/u/852504?v=3","gravatar_id":"","url":"https://api.github.com/users/lasers","html_url":"https://github.com/lasers","followers_url":"https://api.github.com/users/lasers/followers","following_url":"https://api.github.com/users/lasers/following{/other_user}","gists_url":"https://api.github.com/users/lasers/gists{/gist_id}","starred_url":"https://api.github.com/users/lasers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasers/subscriptions","organizations_url":"https://api.github.com/users/lasers/orgs","repos_url":"https://api.github.com/users/lasers/repos","events_url":"https://api.github.com/users/lasers/events{/privacy}","received_events_url":"https://api.github.com/users/lasers/received_events","type":"User","site_admin":false},"created_at":"2017-01-15T13:18:02Z","updated_at":"2017-01-15T13:18:02Z","body":"Are you sure it's not patched? Yeah, I suck at patching. Did it manually.\r\n```\r\n2017-01-15 07:16:48 INFO Module `xsel`: output 'o'\r\n2017-01-15 07:16:48 INFO Module `xsel`: error ''\r\n2017-01-15 07:16:48 WARNING Instance `xsel`, user method `xsel` failed (Exception) py3.py line 701.\r\n```"}}
{"actor":{"display_login":"lasers"}}