Red Hat Bugzilla – Bug 72479
up2date crash when re-registering on rhn if User Name wrong
Last modified: 2015-01-07 18:59:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; .NET
Description of problem:
Just installed 'null' and running 'up2date' for the first time on this PC. It
goes into the screens to re-register on the 'RedHat Network'. By mistake, I
typed the wrong 'User Name', for my existing account. (Password and email
address entered ok)
On submitting the screen, the program crashed with this:
Traceback (most recent call last):
File "/usr/sbin/up2date", line 773, in ?
File "/usr/sbin/up2date", line 494, in main
File "/usr/share/rhn/up2date_client/tui.py", line 1047, in main
File "/usr/share/rhn/up2date_client/tui.py", line 997, in run
result = win.run()
File "/usr/share/rhn/up2date_client/tui.py", line 257, in run
valid = self.validateFields()
File "/usr/share/rhn/up2date_client/tui.py", line 219, in validateFields
except up2dateErrors.ValidationError, e:
AttributeError: 'module' object has no attribute 'ValidationError'
When I re-run the program, and entered a valid username ( & password & email !)
it worked with no problem as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install null on new PC
2.Run up2date for fiest time
3.Re-Register existing account, but enter wrong username.
Actual Results: Crash.
Expected Results: Not crash.
hmm, indeed. Missing the defination of that error class.
Should be fixed in 2.9.56