From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020709 Description of problem: I run "neat-tui" in a text console, then hit Enter to run Ethernet config. It then crashes and displays the following python traceback (sorry I had to copy it by hand because it is all jumbled within the now crashed curses display). Configure Traceback (most recent call last): "/usr/sbin/neat-tui", line 394, in ? mainScreen(screen) File "/usr/sbin/neat-tui", line 53, in mainScreen nw.runIt() File "/usr/sbin/neat-tui", line 166, in runIt self.setState(self.eth) File "/usr/sbin/neat-tui", line 106, in setState if (eth.BootProto and (string.lower(eth.BootProto)=="dhcp") or (string.lower(eth.BootProto)=="bootp")): File "/usr/lib/python2.2/string.py", line 54, in lower return s.lower() AttributeError: 'NoneType' object has no attribute 'lower' Version-Release number of selected component (if applicable): Red Hat Limbo How reproducible: Always Steps to Reproduce: 1. Run "neat-tui" in a text console. 2. Hit ENTER to configure Ethernet. Actual Results: Crash with traceback above. Expected Results: Should not crash.
Verified.
Actually, that was another bug related to gettext/snack/utf8 (fixed now). Can you attach the configuration files to this bugreport? Given the first check (that eth.BootProto evals to true, not None or the empty string) this shouldn't be possible....
Hi sorry for the delay. Which configuration files specifically?
The ones in /etc/sysconfig/networking
Created attachment 67324 [details] /etc/sysconfig/networking tarball
Upgraded to Rawhide's redhat-config-network-1.1.10-1 and it still crashes in the same place. Here is the new traceback: Traceback (most recent call last): File "/usr/sbin/neat-tui", line 396, in ? mainScreen(screen) File "/usr/sbin/neat-tui", line 54, in mainScreen nw.runIt() File "/usr/sbin/neat-tui", line 167, in runIt self.setState(self.eth) File "/usr/sbin/neat-tui", line 107, in setState if (eth.BootProto and (string.lower(eth.BootProto)=="dhcp") or (string.lower(eth.BootProto)=="bootp")): File "/usr/lib/python2.2/string.py", line 54, in lower return s.lower() AttributeError: 'NoneType' object has no attribute 'lower'
Can you give the one at http://people.redhat.com/teg/neat/ a try? I couldn't reproduce the problem.
Tested redhat-config-network-1.1.13cvs-1.noarch.rpm on this system and it no longer crashes with neat-tui. Close bug? Is there any text based tool to configure the DNS server addresses? neat-tui doesn't appear to have that option. Should I file an RFE?
Sure, file an RFE. The fix in this rpm just unwinds the if statement and no longer depends on a short circuit. Could never reproduce the problem with your data, so I'll mark it closed with no local tests.
*** Bug 70682 has been marked as a duplicate of this bug. ***