Satellite-sync is failing with UnicodeEncodeError('ascii', u'/usr/share/doc/man-pages-da-0.1.1/l\xe6smig', 35, 36, 'ordinal not in range(128)')

Solution Verified - Updated -

Issue

  • Satellite-sync is failing with:
SYNC ERROR: unhandled exception occurred:

Exception reported from satellite.rh.telecomitalia.local
Time: Wed Jun 17 10:20:50 2014
Exception type exceptions.UnicodeEncodeError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/satellite-sync", line 139, in main
    return satsync.Runner().main()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 229, in main
    ret = method()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 343, in _step_packages
    self._affected_channels = self.syncer.import_packages()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 1602, in import_packages
    [sources])
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 1576, in _proces_batch
    prompt, nevermorethan, process_function_args)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 1556, in _processWithProgressBar
    process_function(chunk, *process_function_args)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 1583, in _import_packages_process
    sync_handlers.import_packages(batch, sources)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/sync_handlers.py", line 385, in import_packages
    importer.run()
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py", line 646, in run
    self.fix()
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py", line 289, in fix
    self.backend.processCapabilities(self.capabilities)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendOracle.py", line 661, in processCapabilities
    raise e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 73-78: ordinal not in range(128)

Environment

  • RHN Satellite server 5.6 (upgraded from 5.5)

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