Red Hat Bugzilla – Bug 855011
rhn-channel incorrect password error is very poorly worded
Last modified: 2012-09-06 10:18:51 EDT
# rhn-channel -u something -p wrongpassword -r -c somechannel
An error has occurred:
See /var/log/up2date for more information
and in /var/log/up2date:
[Thu Sep 6 10:00:39 2012] up2date
Traceback (most recent call last):
File "/usr/sbin/rhn-channel", line 164, in <module>
File "/usr/sbin/rhn-channel", line 46, in systemExit
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'AuthenticationOrAccountCreationError' and 'str'
Wouldn't something like "Hey pinhead, you typed the wrong password!" after the command line be a bit more informative?
The error message suggested in the initial comment sounds cute, but I'm
gonna go with the fix from bug #846359 (or #804559 if you will) :-)
*** This bug has been marked as a duplicate of bug 846359 ***