From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) It fails Reproducible: Always Steps to Reproduce: 1.start rhn_register 2.Do the steps until it fails Actual Results: Traceback (innermost last): File "/usr/share/rhn/register/tui.py", line 1080, in ? main() File "/usr/share/rhn/register/tui.py", line 1076, in main tui.run() File "/usr/share/rhn/register/tui.py", line 1033, in run win = self.windows[index](self.screen, self) File "/usr/share/rhn/register/tui.py", line 629, in __init__ hardware.read_network() File "/usr/share/rhn/register/hardware.py", line 182, in read_network netdict['ipaddr'] = gethostbyname(gethostname()) socket.error: host not found Packages installed I think are interesting newt-0.50.17-1 newt-devel-0.50.17-1 up2date-2.1.7-0.6.x rhn_register-1.0-7 python-xmlrpc-1.2.1-0.6.x rpm-python-4.0.2-6x pythonlib-1.23-1 python-1.5.2-27.6.x openssl-0.9.5a-2.6.x
Sounds like one of two things. Either the process is not finding a working network connection, or it is not able to perform the hostname lookup on your machine. Verify that you do indeed have a working network connection and that you either have a nameserver which is responding, or you have your hostname in /etc/hosts
Hi here you are more info the computer that has the poblem has two NICs one for internet and other for the LAN [root@firewall /root]# cat /etc/resolv.conf search telecable.es nameserver 212.89.0.2 nameserver 212.89.0.5 [root@firewall /root]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost #192.168.23.200 firewall
catching this traceback now in CVS.
fixed in errata due out today.
This same problem happens on my 6.2 SPARC machine with latest errata installed. [root@k2 biermanm]# rhn_register bash: rhn_register: command not found [root@k2 biermanm]# /usr/sbin/rhn_register Traceback (innermost last): File "/usr/sbin/rhn_register", line 119, in ? main() File "/usr/sbin/rhn_register", line 100, in main tui.main() File "/usr/share/rhn/register/tui.py", line 1033, in main tui.run() File "/usr/share/rhn/register/tui.py", line 982, in run win = self.windows[index](self.screen, self) File "/usr/share/rhn/register/tui.py", line 422, in __init__ self.emailContactButton.setValue("*") AttributeError: setValue [root@k2 biermanm]# [root@k2 biermanm]# rpm -qa |grep up2 up2date-2.5.4-0.6.x [root@k2 biermanm]# rpm -qa |grep rhn rhn_register-1.3.2-0.6.x
to biermanm: I had the same problem. Only thing that I could do to get around it was using the Xwindows version. I had the good luck to have another Xwindows enabled machine around so I merely did a remote X session. Regardless, I think it is a bug in the text mode since I too got the same traceback as you.
Hello, I'm having the same problem. Is there any fix available? Thanks Holger Eilhard
I had this bug, but then I upgraded from newt-0.50.8-2 to newt-0.50.22-2 which made the problem go away. Under 0.50.8-2, the password did not show up as *'s when I typed it, and the password showed as *'s under 0.50.22-2.
hmm, this bug has divereged into two seperate bugs. the first should already be fixed in released clients. The other will be fixed in a soon to be release new package for 6.2. (it is fixed in the 7.2 package as well). ie, the "setButton" traceback.
I had the same problem as biermanm on my sparc running RedHat 6.2... Updating newt to version 0.50.22-2 got around that problem, and I was able to get to the fourth screen (Step 2: Register a User Account (All Optional)) However, now it crashes after I hit 'next' with the following traceback: Traceback (innermost last): File "/usr/sbin/rhn_register", line 119, in ? main() File "/usr/sbin/rhn_register", line 100, in main tui.main() File "/usr/share/rhn/register/tui.py", line 1033, in main tui.run() File "/usr/share/rhn/register/tui.py", line 982, in run win = self.windows[index](self.screen, self) File "/usr/share/rhn/register/tui.py", line 590, in __init__ self.versionLabel2 = snack.Label(rhnreg.getVersion()) File "/usr/share/rhn/register/rhnreg.py", line 121, in getVersion index = db.findbyprovides("redhat-release")[0] IndexError: list index out of range It can't determine the version of RedHat that's installed?
Same thing here. I installed the latest version of up2date that was supposed to fix this (2.5.4-0.6.x) on an i386 architecture machine and rhn_register still just doesn't work in the text mode. With the newt version that was installed by default the script crashes when I click next on the username/password screen, with newt 0.50.22-2 it crashes one screen further and with newt 0.50.34-1 the script crashes on launch. Come to think of it, I've never seen the text version of rhn_register work on any server I've ever installed. Additional odd thing is I already have an RHN account but the text version of rhn_register still always treats me like a new user (starts to ask me registration questions). Why?