{"action":"closed","number":79,"pull_request":{"url":"https://api.github.com/repos/tdhock/animint/pulls/79","id":36136152,"html_url":"https://github.com/tdhock/animint/pull/79","diff_url":"https://github.com/tdhock/animint/pull/79.diff","patch_url":"https://github.com/tdhock/animint/pull/79.patch","issue_url":"https://api.github.com/repos/tdhock/animint/issues/79","number":79,"state":"closed","locked":false,"title":"Fix \":262 in error\" when running tests_init()","user":{"login":"caijun","id":2522593,"avatar_url":"https://avatars.githubusercontent.com/u/2522593?v=3","gravatar_id":"","url":"https://api.github.com/users/caijun","html_url":"https://github.com/caijun","followers_url":"https://api.github.com/users/caijun/followers","following_url":"https://api.github.com/users/caijun/following{/other_user}","gists_url":"https://api.github.com/users/caijun/gists{/gist_id}","starred_url":"https://api.github.com/users/caijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caijun/subscriptions","organizations_url":"https://api.github.com/users/caijun/orgs","repos_url":"https://api.github.com/users/caijun/repos","events_url":"https://api.github.com/users/caijun/events{/privacy}","received_events_url":"https://api.github.com/users/caijun/received_events","type":"User","site_admin":false},"body":"As reported in tdhock/animint#66, this branch fixes the `:262 in error` when running `tests_init()` after `tests_init(\"firefox)`. My idea is to get process ids by port number used in animint. `tests_init()` should run in the environment that no processes occupy the port number. Also, this makes the code more succinct comparing by using `pid.txt`.\r\n\r\nThe branch works well in creating and exiting remote server of selenium on my Mac OS X 10.10.3, even though the following error and warning occur.\r\n\r\n```\r\nError in startServer(host, port, app) : Failed to create server\r\nCalls: <Anonymous> -> <Anonymous> -> startServer\r\nExecution halted\r\n```\r\nThis error is likely to result from `httpuv::startServer()`, which I haven't trace back.\r\n```\r\nWarning message:\r\nrunning command 'lsof -i :4444 -t' had status 1 \r\n```\r\nThis warning has no influence to our functions. Hence, I will suppress it in the future.\r\n\r\n@tdhock and @cpsievert can review the changes and give comments.","created_at":"2015-05-25T12:17:01Z","updated_at":"2015-05-25T22:37:44Z","closed_at":"2015-05-25T22:37:44Z","merged_at":null,"merge_commit_sha":"f535d6a06b7cb6f42160ae2479ab8dc8f10b0299","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tdhock/animint/pulls/79/commits","review_comments_url":"https://api.github.com/repos/tdhock/animint/pulls/79/comments","review_comment_url":"https://api.github.com/repos/tdhock/animint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tdhock/animint/issues/79/comments","statuses_url":"https://api.github.com/repos/tdhock/animint/statuses/f03e16cedb21a85908d4671b57f4e16860bdb6a4","head":{"label":"caijun:covr","ref":"covr","sha":"f03e16cedb21a85908d4671b57f4e16860bdb6a4","user":{"login":"caijun","id":2522593,"avatar_url":"https://avatars.githubusercontent.com/u/2522593?v=3","gravatar_id":"","url":"https://api.github.com/users/caijun","html_url":"https://github.com/caijun","followers_url":"https://api.github.com/users/caijun/followers","following_url":"https://api.github.com/users/caijun/following{/other_user}","gists_url":"https://api.github.com/users/caijun/gists{/gist_id}","starred_url":"https://api.github.com/users/caijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caijun/subscriptions","organizations_url":"https://api.github.com/users/caijun/orgs","repos_url":"https://api.github.com/users/caijun/repos","events_url":"https://api.github.com/users/caijun/events{/privacy}","received_events_url":"https://api.github.com/users/caijun/received_events","type":"User","site_admin":false},"repo":{"id":31966371,"name":"animint","full_name":"caijun/animint","owner":{"login":"caijun","id":2522593,"avatar_url":"https://avatars.githubusercontent.com/u/2522593?v=3","gravatar_id":"","url":"https://api.github.com/users/caijun","html_url":"https://github.com/caijun","followers_url":"https://api.github.com/users/caijun/followers","following_url":"https://api.github.com/users/caijun/following{/other_user}","gists_url":"https://api.github.com/users/caijun/gists{/gist_id}","starred_url":"https://api.github.com/users/caijun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caijun/subscriptions","organizations_url":"https://api.github.com/users/caijun/orgs","repos_url":"https://api.github.com/users/caijun/repos","events_url":"https://api.github.com/users/caijun/events{/privacy}","received_events_url":"https://api.github.com/users/caijun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caijun/animint","description":"animated and interactive web graphics","fork":true,"url":"https://api.github.com/repos/caijun/animint","forks_url":"https://api.github.com/repos/caijun/animint/forks","keys_url":"https://api.github.com/repos/caijun/animint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caijun/animint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caijun/animint/teams","hooks_url":"https://api.github.com/repos/caijun/animint/hooks","issue_events_url":"https://api.github.com/repos/caijun/animint/issues/events{/number}","events_url":"https://api.github.com/repos/caijun/animint/events","assignees_url":"https://api.github.com/repos/caijun/animint/assignees{/user}","branches_url":"https://api.github.com/repos/caijun/animint/branches{/branch}","tags_url":"https://api.github.com/repos/caijun/animint/tags","blobs_url":"https://api.github.com/repos/caijun/animint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caijun/animint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caijun/animint/git/refs{/sha}","trees_url":"https://api.github.com/repos/caijun/animint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caijun/animint/statuses/{sha}","languages_url":"https://api.github.com/repos/caijun/animint/languages","stargazers_url":"https://api.github.com/repos/caijun/animint/stargazers","contributors_url":"https://api.github.com/repos/caijun/animint/contributors","subscribers_url":"https://api.github.com/repos/caijun/animint/subscribers","subscription_url":"https://api.github.com/repos/caijun/animint/subscription","commits_url":"https://api.github.com/repos/caijun/animint/commits{/sha}","git_commits_url":"https://api.github.com/repos/caijun/animint/git/commits{/sha}","comments_url":"https://api.github.com/repos/caijun/animint/comments{/number}","issue_comment_url":"https://api.github.com/repos/caijun/animint/issues/comments{/number}","contents_url":"https://api.github.com/repos/caijun/animint/contents/{+path}","compare_url":"https://api.github.com/repos/caijun/animint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caijun/animint/merges","archive_url":"https://api.github.com/repos/caijun/animint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caijun/animint/downloads","issues_url":"https://api.github.com/repos/caijun/animint/issues{/number}","pulls_url":"https://api.github.com/repos/caijun/animint/pulls{/number}","milestones_url":"https://api.github.com/repos/caijun/animint/milestones{/number}","notifications_url":"https://api.github.com/repos/caijun/animint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caijun/animint/labels{/name}","releases_url":"https://api.github.com/repos/caijun/animint/releases{/id}","created_at":"2015-03-10T15:51:48Z","updated_at":"2015-03-24T03:14:40Z","pushed_at":"2015-05-25T11:52:42Z","git_url":"git://github.com/caijun/animint.git","ssh_url":"git@github.com:caijun/animint.git","clone_url":"https://github.com/caijun/animint.git","svn_url":"https://github.com/caijun/animint","homepage":"","size":126449,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tdhock:master","ref":"master","sha":"f5d47842eeefc09020abed7c6efe89ca960d8fd2","user":{"login":"tdhock","id":932850,"avatar_url":"https://avatars.githubusercontent.com/u/932850?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhock","html_url":"https://github.com/tdhock","followers_url":"https://api.github.com/users/tdhock/followers","following_url":"https://api.github.com/users/tdhock/following{/other_user}","gists_url":"https://api.github.com/users/tdhock/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhock/subscriptions","organizations_url":"https://api.github.com/users/tdhock/orgs","repos_url":"https://api.github.com/users/tdhock/repos","events_url":"https://api.github.com/users/tdhock/events{/privacy}","received_events_url":"https://api.github.com/users/tdhock/received_events","type":"User","site_admin":false},"repo":{"id":8399379,"name":"animint","full_name":"tdhock/animint","owner":{"login":"tdhock","id":932850,"avatar_url":"https://avatars.githubusercontent.com/u/932850?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhock","html_url":"https://github.com/tdhock","followers_url":"https://api.github.com/users/tdhock/followers","following_url":"https://api.github.com/users/tdhock/following{/other_user}","gists_url":"https://api.github.com/users/tdhock/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhock/subscriptions","organizations_url":"https://api.github.com/users/tdhock/orgs","repos_url":"https://api.github.com/users/tdhock/repos","events_url":"https://api.github.com/users/tdhock/events{/privacy}","received_events_url":"https://api.github.com/users/tdhock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tdhock/animint","description":"animated and interactive web graphics","fork":false,"url":"https://api.github.com/repos/tdhock/animint","forks_url":"https://api.github.com/repos/tdhock/animint/forks","keys_url":"https://api.github.com/repos/tdhock/animint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tdhock/animint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tdhock/animint/teams","hooks_url":"https://api.github.com/repos/tdhock/animint/hooks","issue_events_url":"https://api.github.com/repos/tdhock/animint/issues/events{/number}","events_url":"https://api.github.com/repos/tdhock/animint/events","assignees_url":"https://api.github.com/repos/tdhock/animint/assignees{/user}","branches_url":"https://api.github.com/repos/tdhock/animint/branches{/branch}","tags_url":"https://api.github.com/repos/tdhock/animint/tags","blobs_url":"https://api.github.com/repos/tdhock/animint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tdhock/animint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tdhock/animint/git/refs{/sha}","trees_url":"https://api.github.com/repos/tdhock/animint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tdhock/animint/statuses/{sha}","languages_url":"https://api.github.com/repos/tdhock/animint/languages","stargazers_url":"https://api.github.com/repos/tdhock/animint/stargazers","contributors_url":"https://api.github.com/repos/tdhock/animint/contributors","subscribers_url":"https://api.github.com/repos/tdhock/animint/subscribers","subscription_url":"https://api.github.com/repos/tdhock/animint/subscription","commits_url":"https://api.github.com/repos/tdhock/animint/commits{/sha}","git_commits_url":"https://api.github.com/repos/tdhock/animint/git/commits{/sha}","comments_url":"https://api.github.com/repos/tdhock/animint/comments{/number}","issue_comment_url":"https://api.github.com/repos/tdhock/animint/issues/comments{/number}","contents_url":"https://api.github.com/repos/tdhock/animint/contents/{+path}","compare_url":"https://api.github.com/repos/tdhock/animint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tdhock/animint/merges","archive_url":"https://api.github.com/repos/tdhock/animint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tdhock/animint/downloads","issues_url":"https://api.github.com/repos/tdhock/animint/issues{/number}","pulls_url":"https://api.github.com/repos/tdhock/animint/pulls{/number}","milestones_url":"https://api.github.com/repos/tdhock/animint/milestones{/number}","notifications_url":"https://api.github.com/repos/tdhock/animint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tdhock/animint/labels{/name}","releases_url":"https://api.github.com/repos/tdhock/animint/releases{/id}","created_at":"2013-02-25T00:27:47Z","updated_at":"2015-05-14T15:28:08Z","pushed_at":"2015-05-25T22:32:13Z","git_url":"git://github.com/tdhock/animint.git","ssh_url":"git@github.com:tdhock/animint.git","clone_url":"https://github.com/tdhock/animint.git","svn_url":"https://github.com/tdhock/animint","homepage":"","size":137343,"stargazers_count":56,"watchers_count":56,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"open_issues_count":16,"forks":22,"open_issues":16,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tdhock/animint/pulls/79"},"html":{"href":"https://github.com/tdhock/animint/pull/79"},"issue":{"href":"https://api.github.com/repos/tdhock/animint/issues/79"},"comments":{"href":"https://api.github.com/repos/tdhock/animint/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/tdhock/animint/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/tdhock/animint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tdhock/animint/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/tdhock/animint/statuses/f03e16cedb21a85908d4671b57f4e16860bdb6a4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":1,"commits":6,"additions":33,"deletions":27,"changed_files":6}}