in the 1.3.2 version of rhn_register, tui.py makes use of a construct like: >>> foo = snack.Checkbox("boooo") >>> foo.setValue("*") around lines 420-440 or so... snack.Checkbox.setValue however, doesnt exist in the snack thats included with 6.2. so it throws a tracbeack like: [root@www /root]# 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
*** Bug 37931 has been marked as a duplicate of this bug. ***
*** Bug 42131 has been marked as a duplicate of this bug. ***
upgrading to newt-0.50.22-2.i386.rpm from RedHat 7.1 gets me to the next screen, after pressing next again it fails with: 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
The last error is caused by some rpm db transition issues. the correct fix is to run: rpm --rebuilddb And it should work fine
*** Bug 44457 has been marked as a duplicate of this bug. ***
*** Bug 40932 has been marked as a duplicate of this bug. ***