Executing katello-tracer-upload command shows UnicodeWarning: decode() called on unicode string warnings.
Issue
-
Running
katello-tracer-upload
command shows following warning messages on client system when trying to upload the tracer profile:# katello-tracer-upload Updating Subscription Management repositories. /usr/lib/python3.6/site-packages/tracer/packageManagers/rpm.py:201: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751 package.description = hdr[rpm.RPMTAG_SUMMARY].decode() /usr/lib/python3.6/site-packages/tracer/packageManagers/rpm.py:202: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751 package.category = hdr[rpm.RPMTAG_GROUP].decode() /usr/lib/python3.6/site-packages/tracer/packageManagers/rpm.py:208: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751 package.version = hdr[rpm.RPMTAG_VERSION].decode() /usr/lib/python3.6/site-packages/tracer/packageManagers/rpm.py:209: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751 package.release = hdr[rpm.RPMTAG_RELEASE].decode()
Environment
- Red Hat Satellite 6.8
- Red Hat Enterprise Linux 8.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.