{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13","id":39283254,"html_url":"https://github.com/abeudin/ffsync_ynh/pull/13","diff_url":"https://github.com/abeudin/ffsync_ynh/pull/13.diff","patch_url":"https://github.com/abeudin/ffsync_ynh/pull/13.patch","issue_url":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/13","number":13,"state":"open","locked":false,"title":"Update upgrade script","user":{"login":"Josue-T","id":7387681,"avatar_url":"https://avatars.githubusercontent.com/u/7387681?v=3","gravatar_id":"","url":"https://api.github.com/users/Josue-T","html_url":"https://github.com/Josue-T","followers_url":"https://api.github.com/users/Josue-T/followers","following_url":"https://api.github.com/users/Josue-T/following{/other_user}","gists_url":"https://api.github.com/users/Josue-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Josue-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josue-T/subscriptions","organizations_url":"https://api.github.com/users/Josue-T/orgs","repos_url":"https://api.github.com/users/Josue-T/repos","events_url":"https://api.github.com/users/Josue-T/events{/privacy}","received_events_url":"https://api.github.com/users/Josue-T/received_events","type":"User","site_admin":false},"body":"When ffsync is running, we have an error while the upgrade :\r\n\r\nThe log of install :\r\n\r\n```bash\r\n+ sudo make build\r\nvirtualenv --python=`which python2 python | head -n 1` --no-site-packages ./local\r\nNew python executable in ./local/bin/python2\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 2378, in <module>\r\n    main()\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 830, in main\r\n    symlink=options.symlink)\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 999, in create_environment\r\n    site_packages=site_packages, clear=clear, symlink=symlink))\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 1316, in install_python\r\n    shutil.copyfile(executable, py_executable)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 83, in copyfile\r\n    with open(dst, 'wb') as fdst:\r\nIOError: [Errno 26] Text file busy: './local/bin/python2'\r\nRunning virtualenv with interpreter /usr/bin/python2\r\nMakefile:22: recipe for target 'local/COMPLETE' failed\r\nmake: *** [local/COMPLETE] Error 1\r\n+ '[' -f /tmp/ffsync_swapfile ']'\r\n```\r\nThanks","created_at":"2015-07-06T16:02:17Z","updated_at":"2015-07-06T16:02:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13/commits","review_comments_url":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13/comments","review_comment_url":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/13/comments","statuses_url":"https://api.github.com/repos/abeudin/ffsync_ynh/statuses/e96ee1117a96215d3d0b726d112a3c7b20e1010b","head":{"label":"Josue-T:patch-1","ref":"patch-1","sha":"e96ee1117a96215d3d0b726d112a3c7b20e1010b","user":{"login":"Josue-T","id":7387681,"avatar_url":"https://avatars.githubusercontent.com/u/7387681?v=3","gravatar_id":"","url":"https://api.github.com/users/Josue-T","html_url":"https://github.com/Josue-T","followers_url":"https://api.github.com/users/Josue-T/followers","following_url":"https://api.github.com/users/Josue-T/following{/other_user}","gists_url":"https://api.github.com/users/Josue-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Josue-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josue-T/subscriptions","organizations_url":"https://api.github.com/users/Josue-T/orgs","repos_url":"https://api.github.com/users/Josue-T/repos","events_url":"https://api.github.com/users/Josue-T/events{/privacy}","received_events_url":"https://api.github.com/users/Josue-T/received_events","type":"User","site_admin":false},"repo":{"id":38629171,"name":"ffsync_ynh","full_name":"Josue-T/ffsync_ynh","owner":{"login":"Josue-T","id":7387681,"avatar_url":"https://avatars.githubusercontent.com/u/7387681?v=3","gravatar_id":"","url":"https://api.github.com/users/Josue-T","html_url":"https://github.com/Josue-T","followers_url":"https://api.github.com/users/Josue-T/followers","following_url":"https://api.github.com/users/Josue-T/following{/other_user}","gists_url":"https://api.github.com/users/Josue-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Josue-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josue-T/subscriptions","organizations_url":"https://api.github.com/users/Josue-T/orgs","repos_url":"https://api.github.com/users/Josue-T/repos","events_url":"https://api.github.com/users/Josue-T/events{/privacy}","received_events_url":"https://api.github.com/users/Josue-T/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Josue-T/ffsync_ynh","description":"","fork":true,"url":"https://api.github.com/repos/Josue-T/ffsync_ynh","forks_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/forks","keys_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/teams","hooks_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/hooks","issue_events_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/issues/events{/number}","events_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/events","assignees_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/assignees{/user}","branches_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/branches{/branch}","tags_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/tags","blobs_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/git/refs{/sha}","trees_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/statuses/{sha}","languages_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/languages","stargazers_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/stargazers","contributors_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/contributors","subscribers_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/subscribers","subscription_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/subscription","commits_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/commits{/sha}","git_commits_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/git/commits{/sha}","comments_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/comments{/number}","issue_comment_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/issues/comments{/number}","contents_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/contents/{+path}","compare_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/merges","archive_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/downloads","issues_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/issues{/number}","pulls_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/pulls{/number}","milestones_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/milestones{/number}","notifications_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/labels{/name}","releases_url":"https://api.github.com/repos/Josue-T/ffsync_ynh/releases{/id}","created_at":"2015-07-06T15:51:42Z","updated_at":"2015-07-06T15:51:42Z","pushed_at":"2015-07-06T16:00:23Z","git_url":"git://github.com/Josue-T/ffsync_ynh.git","ssh_url":"git@github.com:Josue-T/ffsync_ynh.git","clone_url":"https://github.com/Josue-T/ffsync_ynh.git","svn_url":"https://github.com/Josue-T/ffsync_ynh","homepage":null,"size":322,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"abeudin:master","ref":"master","sha":"df6195d8abb731383f6399352a0a7f7ec1edfa0c","user":{"login":"abeudin","id":690304,"avatar_url":"https://avatars.githubusercontent.com/u/690304?v=3","gravatar_id":"","url":"https://api.github.com/users/abeudin","html_url":"https://github.com/abeudin","followers_url":"https://api.github.com/users/abeudin/followers","following_url":"https://api.github.com/users/abeudin/following{/other_user}","gists_url":"https://api.github.com/users/abeudin/gists{/gist_id}","starred_url":"https://api.github.com/users/abeudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeudin/subscriptions","organizations_url":"https://api.github.com/users/abeudin/orgs","repos_url":"https://api.github.com/users/abeudin/repos","events_url":"https://api.github.com/users/abeudin/events{/privacy}","received_events_url":"https://api.github.com/users/abeudin/received_events","type":"User","site_admin":false},"repo":{"id":15134001,"name":"ffsync_ynh","full_name":"abeudin/ffsync_ynh","owner":{"login":"abeudin","id":690304,"avatar_url":"https://avatars.githubusercontent.com/u/690304?v=3","gravatar_id":"","url":"https://api.github.com/users/abeudin","html_url":"https://github.com/abeudin","followers_url":"https://api.github.com/users/abeudin/followers","following_url":"https://api.github.com/users/abeudin/following{/other_user}","gists_url":"https://api.github.com/users/abeudin/gists{/gist_id}","starred_url":"https://api.github.com/users/abeudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeudin/subscriptions","organizations_url":"https://api.github.com/users/abeudin/orgs","repos_url":"https://api.github.com/users/abeudin/repos","events_url":"https://api.github.com/users/abeudin/events{/privacy}","received_events_url":"https://api.github.com/users/abeudin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abeudin/ffsync_ynh","description":"","fork":false,"url":"https://api.github.com/repos/abeudin/ffsync_ynh","forks_url":"https://api.github.com/repos/abeudin/ffsync_ynh/forks","keys_url":"https://api.github.com/repos/abeudin/ffsync_ynh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abeudin/ffsync_ynh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abeudin/ffsync_ynh/teams","hooks_url":"https://api.github.com/repos/abeudin/ffsync_ynh/hooks","issue_events_url":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/events{/number}","events_url":"https://api.github.com/repos/abeudin/ffsync_ynh/events","assignees_url":"https://api.github.com/repos/abeudin/ffsync_ynh/assignees{/user}","branches_url":"https://api.github.com/repos/abeudin/ffsync_ynh/branches{/branch}","tags_url":"https://api.github.com/repos/abeudin/ffsync_ynh/tags","blobs_url":"https://api.github.com/repos/abeudin/ffsync_ynh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abeudin/ffsync_ynh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abeudin/ffsync_ynh/git/refs{/sha}","trees_url":"https://api.github.com/repos/abeudin/ffsync_ynh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abeudin/ffsync_ynh/statuses/{sha}","languages_url":"https://api.github.com/repos/abeudin/ffsync_ynh/languages","stargazers_url":"https://api.github.com/repos/abeudin/ffsync_ynh/stargazers","contributors_url":"https://api.github.com/repos/abeudin/ffsync_ynh/contributors","subscribers_url":"https://api.github.com/repos/abeudin/ffsync_ynh/subscribers","subscription_url":"https://api.github.com/repos/abeudin/ffsync_ynh/subscription","commits_url":"https://api.github.com/repos/abeudin/ffsync_ynh/commits{/sha}","git_commits_url":"https://api.github.com/repos/abeudin/ffsync_ynh/git/commits{/sha}","comments_url":"https://api.github.com/repos/abeudin/ffsync_ynh/comments{/number}","issue_comment_url":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/comments{/number}","contents_url":"https://api.github.com/repos/abeudin/ffsync_ynh/contents/{+path}","compare_url":"https://api.github.com/repos/abeudin/ffsync_ynh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abeudin/ffsync_ynh/merges","archive_url":"https://api.github.com/repos/abeudin/ffsync_ynh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abeudin/ffsync_ynh/downloads","issues_url":"https://api.github.com/repos/abeudin/ffsync_ynh/issues{/number}","pulls_url":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls{/number}","milestones_url":"https://api.github.com/repos/abeudin/ffsync_ynh/milestones{/number}","notifications_url":"https://api.github.com/repos/abeudin/ffsync_ynh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abeudin/ffsync_ynh/labels{/name}","releases_url":"https://api.github.com/repos/abeudin/ffsync_ynh/releases{/id}","created_at":"2013-12-12T11:13:36Z","updated_at":"2015-06-26T08:52:11Z","pushed_at":"2015-06-10T10:02:09Z","git_url":"git://github.com/abeudin/ffsync_ynh.git","ssh_url":"git@github.com:abeudin/ffsync_ynh.git","clone_url":"https://github.com/abeudin/ffsync_ynh.git","svn_url":"https://github.com/abeudin/ffsync_ynh","homepage":null,"size":322,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13"},"html":{"href":"https://github.com/abeudin/ffsync_ynh/pull/13"},"issue":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/13"},"comments":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/abeudin/ffsync_ynh/statuses/e96ee1117a96215d3d0b726d112a3c7b20e1010b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}