From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218 Description of problem: "redhat-config-kickstart" has difficulties loading my "anaconda-ks.cfg" as generated by Anaconda during installation. I'll attach a screenshot and a slightly modified anaconda-ks.cfg (ip adres of my name server is kept secret, and my encrypted root-password is hidden), loading this modified anaconda-ks.cfg has exactly the same results as loading the original anaconda-ks.cfg generated by Anaconda during install of Phoebe. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Load the "/root/anaconda-ks.cfg" in redhat-config-kickstart 2. 3. Actual Results: - A lot of errors get returned to the shell (if started redhat-config-kickstart from an xterm). - The Network configuration section contains a lot of 'eth0' entries. (see attached screenshot) Expected Results: redhat-config-kickstart should accept anaconda-ks.cfg without weird things happening. Additional info: Traceback (most recent call last): File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 254, in on_activate_open self.fillData() File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 292, in fillData self.X_class.fillData() File "/usr/share/redhat-config-kickstart/xconfig.py", line 212, in fillData opts, args = getopt.getopt(xList, "d:h", ["noprobe", "card=", File "/usr/lib/python2.2/getopt.py", line 72, in getopt opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) File "/usr/lib/python2.2/getopt.py", line 86, in do_longs has_arg, opt = long_has_args(opt, longopts) File "/usr/lib/python2.2/getopt.py", line 103, in long_has_args raise GetoptError('option --%s not recognized' % opt, opt) getopt.GetoptError: option --card "NVIDIA GeForce 4 (generic)" not recognized Traceback (most recent call last): File "/usr/share/redhat-config-kickstart/network.py", line 139, in showEditNetworkDialog ip1, ip2, ip3, ip4 = string.split(ip, ".") File "/usr/lib/python2.2/string.py", line 117, in split return s.split(sep, maxsplit) AttributeError: 'NoneType' object has no attribute 'split'
Created attachment 88957 [details] Kickstart-file which freaks out redhat-config-kickstart
Created attachment 88958 [details] Screenshot showing multiple eth0 problem
forgot to tell that described problem occurs on : redhat-config-kickstart-2.3.5-6 Red Hat Linux release 8.0.92 (Phoebe)
Should be fixed in redhat-config-kickstart-2.3.5-9 in Rawhide. QA, please verify.
Still seeing an error with reading the video controller designation with redhat-config-kickstart-2.3.5-9. Here's the error: [root@test84 root]# redhat-config-kickstart Traceback (most recent call last): File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 253, in on_activate_open self.fillData() File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 291, in fillData self.X_class.fillData() File "/usr/share/redhat-config-kickstart/xconfig.py", line 212, in fillData opts, args = getopt.getopt(xList, "d:h", ["noprobe", "card=", File "/usr/lib/python2.2/getopt.py", line 72, in getopt opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) File "/usr/lib/python2.2/getopt.py", line 86, in do_longs has_arg, opt = long_has_args(opt, longopts) File "/usr/lib/python2.2/getopt.py", line 103, in long_has_args raise GetoptError('option --%s not recognized' % opt, opt) getopt.GetoptError: option --card "NVIDIA GeForce 4 (generic)" not recognized
Ok, Python's getopt isn't nearly as good as popt, which I guess is why anaconda uses popt instead. Anyway, this should be fixed with redhat-config-kickstart-2.3.5-10. Please test with that as it works for me now.
Fix confirmed with redhat-config-kickstart-2.3.5-10.