Red Hat Bugzilla – Bug 983393
livecd-creator crashes with a TypeError
Last modified: 2015-07-26 18:15:33 EDT
Description of problem:
While trying to build a an ISO, here is what I get:
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 237, in <module>
File "/usr/bin/livecd-creator", line 218, in main
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 655, in install
File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 221, in runInstall
raise CreatorError("Dependency check failed : %s" % "\n".join([dep for dep in deps]))
TypeError: sequence item 0: expected string, tuple found
The reason is this line:
CreatorError("Dependency check failed : %s" % "\n".join([dep for dep in deps]))
And it breaks because:
deps = [(('mariadb-server', '1:5.5.31', '6.fc20'), ('systemd-units', ''), 0, 0, None)]
The list items are expected to be strings, rather than tuples, iiuc.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download kickstart file from https://gist.github.com/amitsaha/5973063/raw/e5b24da0af21179dd78636174e0798fbb6519763/fedora_20_livedvd_scientific.ks
2. Place it in a clone of spin-kickstarts dir
3. livecd-creator <above ks file>
Crash as above.
Error out saying "Dependency check failed". Do not crash with a TypeError.
FWIW, upgraded to rawhide and get the same error.
Fixed in commit 5e447177b43 it will be in the next build.
*** This bug has been marked as a duplicate of bug 979759 ***