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, 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