While running rhn_register command, this "exceptions.AttributeError: 'dict' object has no attribute 'getStatus'" error occurs on terminal.

Solution Verified - Updated -

Issue

Symptom/Problem

  • Running "rhn_register" command on system throws "exceptions.AttributeError: 'dict' object has no attribute 'getStatus'".
  • Details of error log are as following:

    # 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 2011, in main 
        tui.run() 
      File "/usr/share/rhn/up2date_client/tui.py", line 1883, in run 
        win = self.windows[index](self.screen, self) 
      File "/usr/share/rhn/up2date_client/tui.py", line 1520, in __init__ 
        rw = ReviewWindow(self.screen, self.tui, reg_info) 
      File "/usr/share/rhn/up2date_client/tui.py", line 1564, in __init__ 
        if self.tui.activate_result.getStatus() == \ 
    exceptions.AttributeError: 'dict' object has no attribute 'getStatus'  
    

Environment

  • Red Hat Enterprise Linux v 5

  • rhn-check-0.4.17-8.el5

  • rhn-client-tools-0.4.17-8.el5
  • rhn-setup-0.4.17-8.el5
  • rhn-setup-gnome-0.4.17-8.el5

Resolution

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In