Register system with rhn_register through http proxy failed with error ' TypeError: unsupported operand type(s) for +=: 'int' and 'str'

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content