Hide Forgot
Description of problem: Made a typo while testing for bodhi karma, and lack of error handling in createrepo caused the Python exception that triggers ABRT: $ createrepo -i doesnotexist repodir Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 307, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 253, in main conf = parse_args(args, conf) File "/usr/share/createrepo/genpkgmetadata.py", line 202, in parse_args pfo = open(conf.pkglist, 'r') IOError: [Errno 2] No such file or directory: 'doesnotexist' Version-Release number of selected component: createrepo-0.10.1-0.fc20 Additional info: reporter: libreport-2.1.10 cmdline: /usr/bin/python -t /usr/share/createrepo/genpkgmetadata.py -i pkglist repo executable: /usr/share/createrepo/genpkgmetadata.py kernel: 3.12.5-301.fc20.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: genpkgmetadata.py:202:parse_args:IOError: [Errno 2] No such file or directory: 'pkglist' Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 307, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 253, in main conf = parse_args(args, conf) File "/usr/share/createrepo/genpkgmetadata.py", line 202, in parse_args pfo = open(conf.pkglist, 'r') IOError: [Errno 2] No such file or directory: 'pkglist' Local variables in innermost frame: opt: <Option at 0x16da170: --compress-type> argsleft: ['repo'] args: ['-i', 'pkglist', 'repo'] _def: 'sha256' directories: ['repo'] parser: <optparse.OptionParser instance at 0x16d6290> def_workers: 0 lst: [] _avail: set(['sha256', 'sha1', 'sha384', 'sha512', 'md5']) conf: <createrepo.MetaDataConfig object at 0x16afdd0> directory: 'repo' opts: <Values at 0x16da290: {'checkts': False, 'deltas': False, 'verbose': False, 'content_tags': [], 'oldpackage_paths': [], 'skip_symlinks': False, 'num_deltas': 1, 'max_delta_rpm_size': 100000000, 'nodatabase': False, 'compress_type': 'compat', 'skip_stat': False, 'outputdir': None, 'excludes': [], 'workers': 0, 'basedir': '/home/ms20b/repo/repodata', 'split': False, 'pretty': False, 'pkglist': 'pkglist', 'revision': None, 'profile': False, 'changelog_limit': None, 'retain_old_md': 0, 'sumtype': 'sha256', 'update': False, 'baseurl': None, 'cachedir': None, 'includepkg': [], 'update_md_path': None, 'xz': False, 'database': True, 'unique_md_filenames': True, 'quiet': False, 'read_pkgs_list': None, 'repo_tags': [], 'groupfile': None, 'distro': []}>
Created attachment 838956 [details] File: backtrace
Created attachment 838957 [details] File: environ
createrepo-0.10.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/createrepo-0.10.3-1.fc20
createrepo-0.10.3-1.fc20 works fine
Package createrepo-0.10.3-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing createrepo-0.10.3-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2527/createrepo-0.10.3-1.fc20 then log in and leave karma (feedback).
createrepo-0.10.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.