{"action":"opened","number":168,"pull_request":{"url":"https://api.github.com/repos/lektor/lektor-website/pulls/168","id":153488070,"html_url":"https://github.com/lektor/lektor-website/pull/168","diff_url":"https://github.com/lektor/lektor-website/pull/168.diff","patch_url":"https://github.com/lektor/lektor-website/pull/168.patch","issue_url":"https://api.github.com/repos/lektor/lektor-website/issues/168","number":168,"state":"open","locked":false,"title":"Encoding issue wit parsing response from https://pypi.python.org/pypi/virtualenv/json","user":{"login":"arkane0906","id":10084220,"avatar_url":"https://avatars3.githubusercontent.com/u/10084220?v=4","gravatar_id":"","url":"https://api.github.com/users/arkane0906","html_url":"https://github.com/arkane0906","followers_url":"https://api.github.com/users/arkane0906/followers","following_url":"https://api.github.com/users/arkane0906/following{/other_user}","gists_url":"https://api.github.com/users/arkane0906/gists{/gist_id}","starred_url":"https://api.github.com/users/arkane0906/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkane0906/subscriptions","organizations_url":"https://api.github.com/users/arkane0906/orgs","repos_url":"https://api.github.com/users/arkane0906/repos","events_url":"https://api.github.com/users/arkane0906/events{/privacy}","received_events_url":"https://api.github.com/users/arkane0906/received_events","type":"User","site_admin":false},"body":"Fix to avoid \"TypeError: the JSON object must be str, not 'bytes'\" error while installing.\r\n\r\nTraceback:\r\ncurl -sf https://www.getlektor.com/install.sh | sudo sh\r\n\r\nWelcome to Lektor\r\n\r\nThis script will install Lektor on your computer.\r\n\r\nInstalling at:\r\n  bin: /usr/local/bin\r\n  app: /usr/local/lib/lektor\r\n\r\nContinue? [Yn] y\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 142, in <module>\r\n  File \"<stdin>\", line 130, in main\r\n  File \"/usr/lib/python3.5/json/__init__.py\", line 268, in load\r\n    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)\r\n  File \"/usr/lib/python3.5/json/__init__.py\", line 312, in loads\r\n    s.__class__.__name__))\r\nTypeError: the JSON object must be str, not 'bytes'","created_at":"2017-11-19T09:21:07Z","updated_at":"2017-11-19T09:21:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/lektor/lektor-website/pulls/168/commits","review_comments_url":"https://api.github.com/repos/lektor/lektor-website/pulls/168/comments","review_comment_url":"https://api.github.com/repos/lektor/lektor-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lektor/lektor-website/issues/168/comments","statuses_url":"https://api.github.com/repos/lektor/lektor-website/statuses/a434eb5333c5f05213127e8fb865b5cf5dfbf9fe","head":{"label":"arkane0906:patch-1","ref":"patch-1","sha":"a434eb5333c5f05213127e8fb865b5cf5dfbf9fe","user":{"login":"arkane0906","id":10084220,"avatar_url":"https://avatars3.githubusercontent.com/u/10084220?v=4","gravatar_id":"","url":"https://api.github.com/users/arkane0906","html_url":"https://github.com/arkane0906","followers_url":"https://api.github.com/users/arkane0906/followers","following_url":"https://api.github.com/users/arkane0906/following{/other_user}","gists_url":"https://api.github.com/users/arkane0906/gists{/gist_id}","starred_url":"https://api.github.com/users/arkane0906/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkane0906/subscriptions","organizations_url":"https://api.github.com/users/arkane0906/orgs","repos_url":"https://api.github.com/users/arkane0906/repos","events_url":"https://api.github.com/users/arkane0906/events{/privacy}","received_events_url":"https://api.github.com/users/arkane0906/received_events","type":"User","site_admin":false},"repo":{"id":111280783,"name":"lektor-website","full_name":"arkane0906/lektor-website","owner":{"login":"arkane0906","id":10084220,"avatar_url":"https://avatars3.githubusercontent.com/u/10084220?v=4","gravatar_id":"","url":"https://api.github.com/users/arkane0906","html_url":"https://github.com/arkane0906","followers_url":"https://api.github.com/users/arkane0906/followers","following_url":"https://api.github.com/users/arkane0906/following{/other_user}","gists_url":"https://api.github.com/users/arkane0906/gists{/gist_id}","starred_url":"https://api.github.com/users/arkane0906/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkane0906/subscriptions","organizations_url":"https://api.github.com/users/arkane0906/orgs","repos_url":"https://api.github.com/users/arkane0906/repos","events_url":"https://api.github.com/users/arkane0906/events{/privacy}","received_events_url":"https://api.github.com/users/arkane0906/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arkane0906/lektor-website","description":"The main lektor website.","fork":true,"url":"https://api.github.com/repos/arkane0906/lektor-website","forks_url":"https://api.github.com/repos/arkane0906/lektor-website/forks","keys_url":"https://api.github.com/repos/arkane0906/lektor-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arkane0906/lektor-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arkane0906/lektor-website/teams","hooks_url":"https://api.github.com/repos/arkane0906/lektor-website/hooks","issue_events_url":"https://api.github.com/repos/arkane0906/lektor-website/issues/events{/number}","events_url":"https://api.github.com/repos/arkane0906/lektor-website/events","assignees_url":"https://api.github.com/repos/arkane0906/lektor-website/assignees{/user}","branches_url":"https://api.github.com/repos/arkane0906/lektor-website/branches{/branch}","tags_url":"https://api.github.com/repos/arkane0906/lektor-website/tags","blobs_url":"https://api.github.com/repos/arkane0906/lektor-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arkane0906/lektor-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arkane0906/lektor-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/arkane0906/lektor-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arkane0906/lektor-website/statuses/{sha}","languages_url":"https://api.github.com/repos/arkane0906/lektor-website/languages","stargazers_url":"https://api.github.com/repos/arkane0906/lektor-website/stargazers","contributors_url":"https://api.github.com/repos/arkane0906/lektor-website/contributors","subscribers_url":"https://api.github.com/repos/arkane0906/lektor-website/subscribers","subscription_url":"https://api.github.com/repos/arkane0906/lektor-website/subscription","commits_url":"https://api.github.com/repos/arkane0906/lektor-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/arkane0906/lektor-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/arkane0906/lektor-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/arkane0906/lektor-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/arkane0906/lektor-website/contents/{+path}","compare_url":"https://api.github.com/repos/arkane0906/lektor-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arkane0906/lektor-website/merges","archive_url":"https://api.github.com/repos/arkane0906/lektor-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arkane0906/lektor-website/downloads","issues_url":"https://api.github.com/repos/arkane0906/lektor-website/issues{/number}","pulls_url":"https://api.github.com/repos/arkane0906/lektor-website/pulls{/number}","milestones_url":"https://api.github.com/repos/arkane0906/lektor-website/milestones{/number}","notifications_url":"https://api.github.com/repos/arkane0906/lektor-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arkane0906/lektor-website/labels{/name}","releases_url":"https://api.github.com/repos/arkane0906/lektor-website/releases{/id}","deployments_url":"https://api.github.com/repos/arkane0906/lektor-website/deployments","created_at":"2017-11-19T09:17:38Z","updated_at":"2017-11-19T09:17:40Z","pushed_at":"2017-11-19T09:19:50Z","git_url":"git://github.com/arkane0906/lektor-website.git","ssh_url":"git@github.com:arkane0906/lektor-website.git","clone_url":"https://github.com/arkane0906/lektor-website.git","svn_url":"https://github.com/arkane0906/lektor-website","homepage":"https://www.getlektor.com/","size":29977,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lektor:master","ref":"master","sha":"7c0cb368fa650dfc0c76cca211dc02266c588a26","user":{"login":"lektor","id":15876349,"avatar_url":"https://avatars1.githubusercontent.com/u/15876349?v=4","gravatar_id":"","url":"https://api.github.com/users/lektor","html_url":"https://github.com/lektor","followers_url":"https://api.github.com/users/lektor/followers","following_url":"https://api.github.com/users/lektor/following{/other_user}","gists_url":"https://api.github.com/users/lektor/gists{/gist_id}","starred_url":"https://api.github.com/users/lektor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lektor/subscriptions","organizations_url":"https://api.github.com/users/lektor/orgs","repos_url":"https://api.github.com/users/lektor/repos","events_url":"https://api.github.com/users/lektor/events{/privacy}","received_events_url":"https://api.github.com/users/lektor/received_events","type":"Organization","site_admin":false},"repo":{"id":48283768,"name":"lektor-website","full_name":"lektor/lektor-website","owner":{"login":"lektor","id":15876349,"avatar_url":"https://avatars1.githubusercontent.com/u/15876349?v=4","gravatar_id":"","url":"https://api.github.com/users/lektor","html_url":"https://github.com/lektor","followers_url":"https://api.github.com/users/lektor/followers","following_url":"https://api.github.com/users/lektor/following{/other_user}","gists_url":"https://api.github.com/users/lektor/gists{/gist_id}","starred_url":"https://api.github.com/users/lektor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lektor/subscriptions","organizations_url":"https://api.github.com/users/lektor/orgs","repos_url":"https://api.github.com/users/lektor/repos","events_url":"https://api.github.com/users/lektor/events{/privacy}","received_events_url":"https://api.github.com/users/lektor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lektor/lektor-website","description":"The main lektor website.","fork":false,"url":"https://api.github.com/repos/lektor/lektor-website","forks_url":"https://api.github.com/repos/lektor/lektor-website/forks","keys_url":"https://api.github.com/repos/lektor/lektor-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lektor/lektor-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lektor/lektor-website/teams","hooks_url":"https://api.github.com/repos/lektor/lektor-website/hooks","issue_events_url":"https://api.github.com/repos/lektor/lektor-website/issues/events{/number}","events_url":"https://api.github.com/repos/lektor/lektor-website/events","assignees_url":"https://api.github.com/repos/lektor/lektor-website/assignees{/user}","branches_url":"https://api.github.com/repos/lektor/lektor-website/branches{/branch}","tags_url":"https://api.github.com/repos/lektor/lektor-website/tags","blobs_url":"https://api.github.com/repos/lektor/lektor-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lektor/lektor-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lektor/lektor-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/lektor/lektor-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lektor/lektor-website/statuses/{sha}","languages_url":"https://api.github.com/repos/lektor/lektor-website/languages","stargazers_url":"https://api.github.com/repos/lektor/lektor-website/stargazers","contributors_url":"https://api.github.com/repos/lektor/lektor-website/contributors","subscribers_url":"https://api.github.com/repos/lektor/lektor-website/subscribers","subscription_url":"https://api.github.com/repos/lektor/lektor-website/subscription","commits_url":"https://api.github.com/repos/lektor/lektor-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/lektor/lektor-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/lektor/lektor-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/lektor/lektor-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/lektor/lektor-website/contents/{+path}","compare_url":"https://api.github.com/repos/lektor/lektor-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lektor/lektor-website/merges","archive_url":"https://api.github.com/repos/lektor/lektor-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lektor/lektor-website/downloads","issues_url":"https://api.github.com/repos/lektor/lektor-website/issues{/number}","pulls_url":"https://api.github.com/repos/lektor/lektor-website/pulls{/number}","milestones_url":"https://api.github.com/repos/lektor/lektor-website/milestones{/number}","notifications_url":"https://api.github.com/repos/lektor/lektor-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lektor/lektor-website/labels{/name}","releases_url":"https://api.github.com/repos/lektor/lektor-website/releases{/id}","deployments_url":"https://api.github.com/repos/lektor/lektor-website/deployments","created_at":"2015-12-19T13:52:45Z","updated_at":"2017-11-12T02:31:26Z","pushed_at":"2017-11-04T17:56:30Z","git_url":"git://github.com/lektor/lektor-website.git","ssh_url":"git@github.com:lektor/lektor-website.git","clone_url":"https://github.com/lektor/lektor-website.git","svn_url":"https://github.com/lektor/lektor-website","homepage":"https://www.getlektor.com/","size":29977,"stargazers_count":89,"watchers_count":89,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"archived":false,"open_issues_count":26,"forks":75,"open_issues":26,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lektor/lektor-website/pulls/168"},"html":{"href":"https://github.com/lektor/lektor-website/pull/168"},"issue":{"href":"https://api.github.com/repos/lektor/lektor-website/issues/168"},"comments":{"href":"https://api.github.com/repos/lektor/lektor-website/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/lektor/lektor-website/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/lektor/lektor-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lektor/lektor-website/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/lektor/lektor-website/statuses/a434eb5333c5f05213127e8fb865b5cf5dfbf9fe"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"arkane0906"}}