Audit scans scheduled from Satellite are failing with error "'ascii' codec can't encode character u'\u2013' in position 274: ordinal not in range(128)"
Issue
- Audit scans are failing with below tracebacks,
The log shows the following errors:
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 382, in <module>
cli.run()
File "/usr/share/rhn/up2date_client/rhncli.py", line 84, in run
sys.exit(self.main() or 0)
File "/usr/sbin/rhn_check", line 75, in main
self.__run_remote_actions()
File "/usr/sbin/rhn_check", line 179, in __run_remote_actions
self.handle_action(action)
File "/usr/sbin/rhn_check", line 234, in handle_action
parser.feed(data)
File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed
self._parser.Parse(data, 0)
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\u2013' in position 274: ordinal not in range(128)
Environment
- Red Hat Satellite 5.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
