Description of problem: When calling "copr-cli create" without the --chroot parameter it crashes with an TypeError Version-Release number of selected component (if applicable): copr-cli-1.12-1 How reproducible: Call "copr-cli cleate test" Steps to Reproduce: 1. Configure your copr API key in ~/.config/copr 2. Execute "copr-cli cleate test" Actual results: Program crashes with: Traceback (most recent call last): File "/usr/bin/copr-cli", line 9, in <module> load_entry_point('copr-cli==0.1.0', 'console_scripts', 'copr-cli')() File "/usr/lib/python2.7/site-packages/copr_cli/main.py", line 111, in main arg.func(arg) File "/usr/lib/python2.7/site-packages/copr_cli/main.py", line 33, in action_create args.initial_pkgs) File "/usr/lib/python2.7/site-packages/copr_cli/subcommands.py", line 146, in create for chroot in chroots: TypeError: 'NoneType' object is not iterable Expected results: Copr should be created without a manually configured chroot, or the program should show an error message, that the --chroot parameter is obligatory.
Created attachment 823993 [details] patch for subcommand.py
The command to reproduce is: copr-cli create test / it take me some time to decipher that typo :) / In fact at least one chroot must be selected. I added there check to print errror if none chroots is selected: copr-cli create hkljhklj Error: At least one chroot must be selected Commited in upstream as 4ef718d
copr-1.15-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/copr-1.15-1.fc19
copr-1.15-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/copr-1.15-1.fc20
Package copr-1.15-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 copr-1.15-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23187/copr-1.15-1.fc20 then log in and leave karma (feedback).
copr-1.15-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
copr-1.15-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.