Register system with rhn_register through http proxy failed with error ' TypeError: unsupported operand type(s) for +=: 'int' and 'str'
Issue
- Unable to register system with rhn_register through http proxy. Recieves the following error message
-
Running yum to update a package results in this error
An error has occurred: exceptions.TypeError See /var/log/up2date for more information /var/log/up2date: [Tue Jun 8 16:10:30 2010] rhn_register Traceback (most recent call last): File "/usr/sbin/rhn_register", line 82, in ? app.run() File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run sys.exit(self.main() or 0) File "/usr/sbin/rhn_register", line 64, in main ui.main() File "/usr/share/rhn/up2date_client/tui.py", line 1717, in main tui.run() File "/usr/share/rhn/up2date_client/tui.py", line 1589, in run win = self.windows[index](self.screen, self) File "/usr/share/rhn/up2date_client/tui.py", line 912, in __init__ hardware_text += hw['ipaddr'] + " " exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
