{"action":"opened","number":113,"pull_request":{"url":"https://api.github.com/repos/aarnt/octopi/pulls/113","id":36361288,"html_url":"https://github.com/aarnt/octopi/pull/113","diff_url":"https://github.com/aarnt/octopi/pull/113.diff","patch_url":"https://github.com/aarnt/octopi/pull/113.patch","issue_url":"https://api.github.com/repos/aarnt/octopi/issues/113","number":113,"state":"open","locked":false,"title":"BugFix: Crash when UnixCommand::getPackageList doesn't yield results","user":{"login":"phoewass","id":683485,"avatar_url":"https://avatars.githubusercontent.com/u/683485?v=3","gravatar_id":"","url":"https://api.github.com/users/phoewass","html_url":"https://github.com/phoewass","followers_url":"https://api.github.com/users/phoewass/followers","following_url":"https://api.github.com/users/phoewass/following{/other_user}","gists_url":"https://api.github.com/users/phoewass/gists{/gist_id}","starred_url":"https://api.github.com/users/phoewass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoewass/subscriptions","organizations_url":"https://api.github.com/users/phoewass/orgs","repos_url":"https://api.github.com/users/phoewass/repos","events_url":"https://api.github.com/users/phoewass/events{/privacy}","received_events_url":"https://api.github.com/users/phoewass/received_events","type":"User","site_admin":false},"body":"This bug happens when UnixCommand::getPackageList retruns\r\nan empty QString after running pacman command.\r\n\r\nIn my case \"pacman -Ss\" is returning errors\r\n`error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format`\r\n`error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format`\r\n`error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format`\r\nso, it ends up adding an empty package item to the list, which\r\nbreaks the `assert(false);` later in \r\nPackageModel::getIconFor(const PackageRepository::PackageData& package).","created_at":"2015-05-28T00:08:14Z","updated_at":"2015-05-28T00:08:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"634c13daf0b02933fca50df19a2ab345dbbc488c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aarnt/octopi/pulls/113/commits","review_comments_url":"https://api.github.com/repos/aarnt/octopi/pulls/113/comments","review_comment_url":"https://api.github.com/repos/aarnt/octopi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aarnt/octopi/issues/113/comments","statuses_url":"https://api.github.com/repos/aarnt/octopi/statuses/b0db738663bcaa5d12ea23f9bd9bfac217135d12","head":{"label":"phoewass:patch-1","ref":"patch-1","sha":"b0db738663bcaa5d12ea23f9bd9bfac217135d12","user":{"login":"phoewass","id":683485,"avatar_url":"https://avatars.githubusercontent.com/u/683485?v=3","gravatar_id":"","url":"https://api.github.com/users/phoewass","html_url":"https://github.com/phoewass","followers_url":"https://api.github.com/users/phoewass/followers","following_url":"https://api.github.com/users/phoewass/following{/other_user}","gists_url":"https://api.github.com/users/phoewass/gists{/gist_id}","starred_url":"https://api.github.com/users/phoewass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoewass/subscriptions","organizations_url":"https://api.github.com/users/phoewass/orgs","repos_url":"https://api.github.com/users/phoewass/repos","events_url":"https://api.github.com/users/phoewass/events{/privacy}","received_events_url":"https://api.github.com/users/phoewass/received_events","type":"User","site_admin":false},"repo":{"id":36403363,"name":"octopi","full_name":"phoewass/octopi","owner":{"login":"phoewass","id":683485,"avatar_url":"https://avatars.githubusercontent.com/u/683485?v=3","gravatar_id":"","url":"https://api.github.com/users/phoewass","html_url":"https://github.com/phoewass","followers_url":"https://api.github.com/users/phoewass/followers","following_url":"https://api.github.com/users/phoewass/following{/other_user}","gists_url":"https://api.github.com/users/phoewass/gists{/gist_id}","starred_url":"https://api.github.com/users/phoewass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoewass/subscriptions","organizations_url":"https://api.github.com/users/phoewass/orgs","repos_url":"https://api.github.com/users/phoewass/repos","events_url":"https://api.github.com/users/phoewass/events{/privacy}","received_events_url":"https://api.github.com/users/phoewass/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phoewass/octopi","description":"A powerful Pacman (Package Manager) frontend using Qt libs","fork":true,"url":"https://api.github.com/repos/phoewass/octopi","forks_url":"https://api.github.com/repos/phoewass/octopi/forks","keys_url":"https://api.github.com/repos/phoewass/octopi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phoewass/octopi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phoewass/octopi/teams","hooks_url":"https://api.github.com/repos/phoewass/octopi/hooks","issue_events_url":"https://api.github.com/repos/phoewass/octopi/issues/events{/number}","events_url":"https://api.github.com/repos/phoewass/octopi/events","assignees_url":"https://api.github.com/repos/phoewass/octopi/assignees{/user}","branches_url":"https://api.github.com/repos/phoewass/octopi/branches{/branch}","tags_url":"https://api.github.com/repos/phoewass/octopi/tags","blobs_url":"https://api.github.com/repos/phoewass/octopi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phoewass/octopi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phoewass/octopi/git/refs{/sha}","trees_url":"https://api.github.com/repos/phoewass/octopi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phoewass/octopi/statuses/{sha}","languages_url":"https://api.github.com/repos/phoewass/octopi/languages","stargazers_url":"https://api.github.com/repos/phoewass/octopi/stargazers","contributors_url":"https://api.github.com/repos/phoewass/octopi/contributors","subscribers_url":"https://api.github.com/repos/phoewass/octopi/subscribers","subscription_url":"https://api.github.com/repos/phoewass/octopi/subscription","commits_url":"https://api.github.com/repos/phoewass/octopi/commits{/sha}","git_commits_url":"https://api.github.com/repos/phoewass/octopi/git/commits{/sha}","comments_url":"https://api.github.com/repos/phoewass/octopi/comments{/number}","issue_comment_url":"https://api.github.com/repos/phoewass/octopi/issues/comments{/number}","contents_url":"https://api.github.com/repos/phoewass/octopi/contents/{+path}","compare_url":"https://api.github.com/repos/phoewass/octopi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phoewass/octopi/merges","archive_url":"https://api.github.com/repos/phoewass/octopi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phoewass/octopi/downloads","issues_url":"https://api.github.com/repos/phoewass/octopi/issues{/number}","pulls_url":"https://api.github.com/repos/phoewass/octopi/pulls{/number}","milestones_url":"https://api.github.com/repos/phoewass/octopi/milestones{/number}","notifications_url":"https://api.github.com/repos/phoewass/octopi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phoewass/octopi/labels{/name}","releases_url":"https://api.github.com/repos/phoewass/octopi/releases{/id}","created_at":"2015-05-27T23:59:48Z","updated_at":"2015-05-27T23:59:49Z","pushed_at":"2015-05-28T00:02:56Z","git_url":"git://github.com/phoewass/octopi.git","ssh_url":"git@github.com:phoewass/octopi.git","clone_url":"https://github.com/phoewass/octopi.git","svn_url":"https://github.com/phoewass/octopi","homepage":"","size":9657,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"aarnt:master","ref":"master","sha":"b9d40becdec7b832058cd79d4f93cc06944dce6e","user":{"login":"aarnt","id":3663230,"avatar_url":"https://avatars.githubusercontent.com/u/3663230?v=3","gravatar_id":"","url":"https://api.github.com/users/aarnt","html_url":"https://github.com/aarnt","followers_url":"https://api.github.com/users/aarnt/followers","following_url":"https://api.github.com/users/aarnt/following{/other_user}","gists_url":"https://api.github.com/users/aarnt/gists{/gist_id}","starred_url":"https://api.github.com/users/aarnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarnt/subscriptions","organizations_url":"https://api.github.com/users/aarnt/orgs","repos_url":"https://api.github.com/users/aarnt/repos","events_url":"https://api.github.com/users/aarnt/events{/privacy}","received_events_url":"https://api.github.com/users/aarnt/received_events","type":"User","site_admin":false},"repo":{"id":8344476,"name":"octopi","full_name":"aarnt/octopi","owner":{"login":"aarnt","id":3663230,"avatar_url":"https://avatars.githubusercontent.com/u/3663230?v=3","gravatar_id":"","url":"https://api.github.com/users/aarnt","html_url":"https://github.com/aarnt","followers_url":"https://api.github.com/users/aarnt/followers","following_url":"https://api.github.com/users/aarnt/following{/other_user}","gists_url":"https://api.github.com/users/aarnt/gists{/gist_id}","starred_url":"https://api.github.com/users/aarnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarnt/subscriptions","organizations_url":"https://api.github.com/users/aarnt/orgs","repos_url":"https://api.github.com/users/aarnt/repos","events_url":"https://api.github.com/users/aarnt/events{/privacy}","received_events_url":"https://api.github.com/users/aarnt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aarnt/octopi","description":"A powerful Pacman (Package Manager) frontend using Qt libs","fork":false,"url":"https://api.github.com/repos/aarnt/octopi","forks_url":"https://api.github.com/repos/aarnt/octopi/forks","keys_url":"https://api.github.com/repos/aarnt/octopi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aarnt/octopi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aarnt/octopi/teams","hooks_url":"https://api.github.com/repos/aarnt/octopi/hooks","issue_events_url":"https://api.github.com/repos/aarnt/octopi/issues/events{/number}","events_url":"https://api.github.com/repos/aarnt/octopi/events","assignees_url":"https://api.github.com/repos/aarnt/octopi/assignees{/user}","branches_url":"https://api.github.com/repos/aarnt/octopi/branches{/branch}","tags_url":"https://api.github.com/repos/aarnt/octopi/tags","blobs_url":"https://api.github.com/repos/aarnt/octopi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aarnt/octopi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aarnt/octopi/git/refs{/sha}","trees_url":"https://api.github.com/repos/aarnt/octopi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aarnt/octopi/statuses/{sha}","languages_url":"https://api.github.com/repos/aarnt/octopi/languages","stargazers_url":"https://api.github.com/repos/aarnt/octopi/stargazers","contributors_url":"https://api.github.com/repos/aarnt/octopi/contributors","subscribers_url":"https://api.github.com/repos/aarnt/octopi/subscribers","subscription_url":"https://api.github.com/repos/aarnt/octopi/subscription","commits_url":"https://api.github.com/repos/aarnt/octopi/commits{/sha}","git_commits_url":"https://api.github.com/repos/aarnt/octopi/git/commits{/sha}","comments_url":"https://api.github.com/repos/aarnt/octopi/comments{/number}","issue_comment_url":"https://api.github.com/repos/aarnt/octopi/issues/comments{/number}","contents_url":"https://api.github.com/repos/aarnt/octopi/contents/{+path}","compare_url":"https://api.github.com/repos/aarnt/octopi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aarnt/octopi/merges","archive_url":"https://api.github.com/repos/aarnt/octopi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aarnt/octopi/downloads","issues_url":"https://api.github.com/repos/aarnt/octopi/issues{/number}","pulls_url":"https://api.github.com/repos/aarnt/octopi/pulls{/number}","milestones_url":"https://api.github.com/repos/aarnt/octopi/milestones{/number}","notifications_url":"https://api.github.com/repos/aarnt/octopi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aarnt/octopi/labels{/name}","releases_url":"https://api.github.com/repos/aarnt/octopi/releases{/id}","created_at":"2013-02-21T21:34:10Z","updated_at":"2015-05-27T20:53:40Z","pushed_at":"2015-05-28T00:08:15Z","git_url":"git://github.com/aarnt/octopi.git","ssh_url":"git@github.com:aarnt/octopi.git","clone_url":"https://github.com/aarnt/octopi.git","svn_url":"https://github.com/aarnt/octopi","homepage":"","size":9657,"stargazers_count":60,"watchers_count":60,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":11,"forks":17,"open_issues":11,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aarnt/octopi/pulls/113"},"html":{"href":"https://github.com/aarnt/octopi/pull/113"},"issue":{"href":"https://api.github.com/repos/aarnt/octopi/issues/113"},"comments":{"href":"https://api.github.com/repos/aarnt/octopi/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/aarnt/octopi/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/aarnt/octopi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aarnt/octopi/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/aarnt/octopi/statuses/b0db738663bcaa5d12ea23f9bd9bfac217135d12"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":64,"deletions":46,"changed_files":1}}