{"action":"created","issue":{"url":"https://api.github.com/repos/wal-e/wal-e/issues/302","repository_url":"https://api.github.com/repos/wal-e/wal-e","labels_url":"https://api.github.com/repos/wal-e/wal-e/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/wal-e/wal-e/issues/302/comments","events_url":"https://api.github.com/repos/wal-e/wal-e/issues/302/events","html_url":"https://github.com/wal-e/wal-e/pull/302","id":194572425,"number":302,"title":"fix: avoid variable type error during offline backup","user":{"login":"Jamal-B","id":5717767,"avatar_url":"https://avatars.githubusercontent.com/u/5717767?v=3","gravatar_id":"","url":"https://api.github.com/users/Jamal-B","html_url":"https://github.com/Jamal-B","followers_url":"https://api.github.com/users/Jamal-B/followers","following_url":"https://api.github.com/users/Jamal-B/following{/other_user}","gists_url":"https://api.github.com/users/Jamal-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Jamal-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jamal-B/subscriptions","organizations_url":"https://api.github.com/users/Jamal-B/orgs","repos_url":"https://api.github.com/users/Jamal-B/repos","events_url":"https://api.github.com/users/Jamal-B/events{/privacy}","received_events_url":"https://api.github.com/users/Jamal-B/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T11:20:14Z","updated_at":"2016-12-14T00:15:12Z","closed_at":"2016-12-14T00:14:57Z","pull_request":{"url":"https://api.github.com/repos/wal-e/wal-e/pulls/302","html_url":"https://github.com/wal-e/wal-e/pull/302","diff_url":"https://github.com/wal-e/wal-e/pull/302.diff","patch_url":"https://github.com/wal-e/wal-e/pull/302.patch"},"body":"This pull request intend to fix the offline backup-push.\r\n\r\nIndeed, when performing an offline backup of a stopped postgresql instance with the following command:\r\n`envdir /etc/wal-e wal-e backup-push --while-offline $PGDATA`\r\n\r\nThe following errors are encountered:\r\n```\r\nwal_e.main   CRITICAL MSG: An unprocessed exception has avoided all error handling\r\nDETAIL: Traceback (most recent call last):\r\n[...]\r\nFile \".../wal_e/worker/pg/pg_controldata_worker.py\", line 26, in __init__\r\nfor line in output.split('\\n'):\r\nTypeError: 'str' does not support the buffer interface\r\n```\r\n```\r\nwal_e.main   CRITICAL MSG: An unprocessed exception has avoided all error handling\r\nDETAIL: Traceback (most recent call last):\r\n[...]\r\nFile \".../wal_e/worker/pg/pg_controldata_worker.py\", line 41, in _read_controldata\r\nfor line in stdout.split('\\n'):\r\nTypeError: 'str' does not support the buffer interface\r\n```\r\n\r\n```\r\nPG version: 9.5\r\nOS: CentOS 7\r\nwal-e 1.0.1 (python 3.4 in virtualenv)\r\n```"},"comment":{"url":"https://api.github.com/repos/wal-e/wal-e/issues/comments/266903596","html_url":"https://github.com/wal-e/wal-e/pull/302#issuecomment-266903596","issue_url":"https://api.github.com/repos/wal-e/wal-e/issues/302","id":266903596,"user":{"login":"fdr","id":7191,"avatar_url":"https://avatars.githubusercontent.com/u/7191?v=3","gravatar_id":"","url":"https://api.github.com/users/fdr","html_url":"https://github.com/fdr","followers_url":"https://api.github.com/users/fdr/followers","following_url":"https://api.github.com/users/fdr/following{/other_user}","gists_url":"https://api.github.com/users/fdr/gists{/gist_id}","starred_url":"https://api.github.com/users/fdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdr/subscriptions","organizations_url":"https://api.github.com/users/fdr/orgs","repos_url":"https://api.github.com/users/fdr/repos","events_url":"https://api.github.com/users/fdr/events{/privacy}","received_events_url":"https://api.github.com/users/fdr/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T00:15:12Z","updated_at":"2016-12-14T00:15:12Z","body":"Thanks for the patch, I have applied it."}}
{"actor":{"display_login":"fdr"}}