rhn_register fails with "DeprecationWarning: use set_markup() instead self.dialog.label.set_line_wrap(False)"

Solution Verified - Updated -

Issue

  • Registering a system with RHN fails with the below error message.

[root@# rhn_register
/usr/share/rhn/up2date_client/messageWindow.py:72: DeprecationWarning: use set_markup() instead  self.dialog.label.set_line_wrap(False)
/usr/share/rhn/up2date_client/messageWindow.py:73: DeprecationWarning: use set_markup() instead  self.dialog.label.set_use_markup(True)

Environment

  • Red Hat Enterprise Linux 6

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.