{"action":"created","issue":{"url":"https://api.github.com/repos/ximion/appstream-generator/issues/1","repository_url":"https://api.github.com/repos/ximion/appstream-generator","labels_url":"https://api.github.com/repos/ximion/appstream-generator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ximion/appstream-generator/issues/1/comments","events_url":"https://api.github.com/repos/ximion/appstream-generator/issues/1/events","html_url":"https://github.com/ximion/appstream-generator/issues/1","id":150433663,"number":1,"title":"Chokes on repo components that don't have any packages in them","user":{"login":"neilmayhew","id":166791,"avatar_url":"https://avatars.githubusercontent.com/u/166791?v=3","gravatar_id":"","url":"https://api.github.com/users/neilmayhew","html_url":"https://github.com/neilmayhew","followers_url":"https://api.github.com/users/neilmayhew/followers","following_url":"https://api.github.com/users/neilmayhew/following{/other_user}","gists_url":"https://api.github.com/users/neilmayhew/gists{/gist_id}","starred_url":"https://api.github.com/users/neilmayhew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilmayhew/subscriptions","organizations_url":"https://api.github.com/users/neilmayhew/orgs","repos_url":"https://api.github.com/users/neilmayhew/repos","events_url":"https://api.github.com/users/neilmayhew/events{/privacy}","received_events_url":"https://api.github.com/users/neilmayhew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T17:58:51Z","updated_at":"2016-04-22T18:16:03Z","closed_at":null,"body":"Eg, `xenial-updates/main/binary-amd64/Packages.gz` doesn't have any packages in it yet.\r\n\r\nThe error is:\r\n\r\n```\r\nobject.Exception@source/archive.d(84): Unable to open compressed file '.../Packages.gz'\r\n```\r\n\r\nFYI, I'm not actually running this on the real Ubuntu repo. I just gave that as an example. We have a company-specific repo that I'm trying to generate data for. I've had to remove the empty components from `asgen-config.json` temporarily."},"comment":{"url":"https://api.github.com/repos/ximion/appstream-generator/issues/comments/213538970","html_url":"https://github.com/ximion/appstream-generator/issues/1#issuecomment-213538970","issue_url":"https://api.github.com/repos/ximion/appstream-generator/issues/1","id":213538970,"user":{"login":"ximion","id":417468,"avatar_url":"https://avatars.githubusercontent.com/u/417468?v=3","gravatar_id":"","url":"https://api.github.com/users/ximion","html_url":"https://github.com/ximion","followers_url":"https://api.github.com/users/ximion/followers","following_url":"https://api.github.com/users/ximion/following{/other_user}","gists_url":"https://api.github.com/users/ximion/gists{/gist_id}","starred_url":"https://api.github.com/users/ximion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximion/subscriptions","organizations_url":"https://api.github.com/users/ximion/orgs","repos_url":"https://api.github.com/users/ximion/repos","events_url":"https://api.github.com/users/ximion/events{/privacy}","received_events_url":"https://api.github.com/users/ximion/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T18:16:03Z","updated_at":"2016-04-22T18:16:03Z","body":"Weird, the code shouldn't even get that far...\r\nCan you try with the patch above applied and - if that doesn't solve it - attach the full backtrace?"}}