{"action":"closed","issue":{"url":"https://api.github.com/repos/rpm-software-management/libhif/issues/186","repository_url":"https://api.github.com/repos/rpm-software-management/libhif","labels_url":"https://api.github.com/repos/rpm-software-management/libhif/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/rpm-software-management/libhif/issues/186/comments","events_url":"https://api.github.com/repos/rpm-software-management/libhif/issues/186/events","html_url":"https://github.com/rpm-software-management/libhif/issues/186","id":174309793,"number":186,"title":"load_yum_repo: Assertion `hrepo->state_main == _HY_NEW' failed.","user":{"login":"ignatenkobrain","id":2866862,"avatar_url":"https://avatars.githubusercontent.com/u/2866862?v=3","gravatar_id":"","url":"https://api.github.com/users/ignatenkobrain","html_url":"https://github.com/ignatenkobrain","followers_url":"https://api.github.com/users/ignatenkobrain/followers","following_url":"https://api.github.com/users/ignatenkobrain/following{/other_user}","gists_url":"https://api.github.com/users/ignatenkobrain/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatenkobrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatenkobrain/subscriptions","organizations_url":"https://api.github.com/users/ignatenkobrain/orgs","repos_url":"https://api.github.com/users/ignatenkobrain/repos","events_url":"https://api.github.com/users/ignatenkobrain/events{/privacy}","received_events_url":"https://api.github.com/users/ignatenkobrain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rpm-software-management/libhif/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"j-mracek","id":12737303,"avatar_url":"https://avatars.githubusercontent.com/u/12737303?v=3","gravatar_id":"","url":"https://api.github.com/users/j-mracek","html_url":"https://github.com/j-mracek","followers_url":"https://api.github.com/users/j-mracek/followers","following_url":"https://api.github.com/users/j-mracek/following{/other_user}","gists_url":"https://api.github.com/users/j-mracek/gists{/gist_id}","starred_url":"https://api.github.com/users/j-mracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-mracek/subscriptions","organizations_url":"https://api.github.com/users/j-mracek/orgs","repos_url":"https://api.github.com/users/j-mracek/repos","events_url":"https://api.github.com/users/j-mracek/events{/privacy}","received_events_url":"https://api.github.com/users/j-mracek/received_events","type":"User","site_admin":false},"assignees":[{"login":"j-mracek","id":12737303,"avatar_url":"https://avatars.githubusercontent.com/u/12737303?v=3","gravatar_id":"","url":"https://api.github.com/users/j-mracek","html_url":"https://github.com/j-mracek","followers_url":"https://api.github.com/users/j-mracek/followers","following_url":"https://api.github.com/users/j-mracek/following{/other_user}","gists_url":"https://api.github.com/users/j-mracek/gists{/gist_id}","starred_url":"https://api.github.com/users/j-mracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-mracek/subscriptions","organizations_url":"https://api.github.com/users/j-mracek/orgs","repos_url":"https://api.github.com/users/j-mracek/repos","events_url":"https://api.github.com/users/j-mracek/events{/privacy}","received_events_url":"https://api.github.com/users/j-mracek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-31T15:50:19Z","updated_at":"2016-08-31T15:57:10Z","closed_at":"2016-08-31T15:57:10Z","body":"In #185 it helps to workaround assertion which is triggered when you load repo twice for distro-build, but basically it's still broken.\r\n\r\nReproducer:\r\n```python\r\nimport dnf\r\n\r\nbase = dnf.Base()\r\nconf = base.conf\r\n\r\nRELEASEVER = dnf.rpm.detect_releasever(conf.installroot)\r\nconf.substitutions['releasever'] = RELEASEVER\r\nconf.read()  # read the dnf.conf\r\nbase.read_all_repos()\r\nbase.fill_sack()\r\nbase.reset(sack=True)\r\nbase.fill_sack()\r\n```\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1332067"}}
{"actor":{"display_login":"ignatenkobrain"}}