Description of problem: spacecmd system_setconfigchannelorder <servername> #(interaction omitted) a[dd], r[emove], c[lear], d[one]: d New Configuration Channels -------------------------- ERROR: 'list' object is not callable Version-Release number of selected component (if applicable): Found in production on spacecmd-2.2.11-1.el6.noarch Verified in nightly (2015-02-04): spacecmd-2.3.14-1.el6.noarch How reproducible: ALWAYS Steps to Reproduce: 1. spacecmd system_setconfigchannelorder <systemname> 2. type "d" <enter> for done 3. See the error :) Actual results: a[dd], r[emove], c[lear], d[one]: d New Configuration Channels -------------------------- ERROR: 'list' object is not callable (and the new list is not saved, in the case where you actually change the order) Expected results: No error, new channel list saved. Additional info: We use this command via a shell script to sort our configuration channels, otherwise I can't comprehend anyone actually interacting with this. The error appears to be at: https://git.fedorahosted.org/cgit/spacewalk.git/tree/spacecmd/src/lib/system.py#n1401 (as of today) print print 'New Configuration Channels' print '--------------------------' for i, new_channel in new_channels(new_channels, 1): print '[%i] %s' % (i, new_channel)
# Workaround: Comment out the "for" loop (for line and the line below it). It won't print the new channel list, but it was just emitted above before pressing "d" for done, so its not like it really needs to be printed again. This is at like 1441 for spacecmd-2.2.11-1.el6.noarch
spacewalk.git(master): 11394cc4a8d01aaec725a55c69e8a595400db12c
Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27