[packagekit] Unicode error with the yum backend

Richard Hughes hughsient at gmail.com
Sun Feb 3 15:42:10 PST 2008


Guys, a new error:

[hughsie at hughsie-laptop PackageKit]$ pkcon resolve ipw2100-firmware
    [.........===...........................................................................................................................]                
Error: internal-error : Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Value: 'ascii' codec can't encode character u'\xae' in position 76: ordinal not in range(128)
  File : /usr/share/PackageKit/helpers/yum/resolve.py , line 18, in <module>
    backend.resolve(filters, name)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 713, in resolve
    self._show_package(pkg,INFO_INSTALLED)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 989, in _show_package
    self.package(id,status, pkg.summary)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 253, in package
    PackageKitBaseBackend.package(self,id,status,summary)
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py , line 87, in package
    print >> sys.stdout,"package\tstderr from %p = '%s'\t?>     \terror        internal-error  Error Type: <type 'exceptions.UnicodeEncodeError'>;Error Value: 'ascii' codec can't encode character u'\xae' in position 76: ordinal not in range(128);  File : /usr/share/PackageKit/helpers/yum/resolve
resolve runtime was 0.9 seconds

Ideas welcome on how to fix this, I'm stuck.

Richard.




More information about the PackageKit mailing list