Fedora Account System
Red Hat Associate
Red Hat Customer
The following code hangs on the h.download(PKG) line: #! /usr/bin/python import librepo PKG="""pakchois-0.4-5.x86_64.rpm""" MIRROR="""https://mirrors.fedoraproject.org/metalink?repo=fedora-17&arch=x86_64""" # PKG="Packages/p/pakchois-0.4-5.x86_64.rpm" if __name__ == "__main__": h = librepo.Handle() destdir="./" h.setopt(librepo.LRO_MIRRORLIST, MIRROR) h.setopt(librepo.LRO_REPOTYPE, librepo.LR_YUMREPO) h.setopt(librepo.LRO_DESTDIR, destdir) h.download(PKG) Note that if correct relative location of the package is specified (PKG) the package is downloaded as expected.
Related curl issue: bug 919127. I suspect this could be a blocker of the current bug too.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
librepo-0.0.2-3.20130408git720d68d.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/librepo-0.0.2-3.20130408git720d68d.fc19
librepo-0.0.2-3.20130408git720d68d.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.