[packagekit] Internal backtrace in the yum backend

Richard Hughes hughsient at gmail.com
Sat Apr 26 04:11:10 PDT 2008


[hughsie at hughsie-work src]$ pkcon get-updates
Error: internal-error : Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Value: 'ascii' codec can't decode byte 0xed in position 221: ordinal not in range(128)
  File : /usr/share/PackageKit/helpers/yum/get-updates.py , line 19, in <module>
    backend.get_updates(filter)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1246, in get_updates
    ygl = self.yumbase.doPackageLists(pkgnarrow='updates')
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 1362, in doPackageLists
    for (n,a,e,v,r) in self.up.getUpdatesList():
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 589, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 474, in _getUpdates
    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 576, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 419, in _getSacks
    self.repos.populateSack(which=repos)
  File : /usr/lib/python2.5/site-packages/yum/repos.py , line 245, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 149, in populate
    if self._check_db_version(repo, mydbtype):
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 203, in _check_db_version
    return repo._check_db_version(mdtype)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 928, in _check_db_version
    repoXML = self.repoXML
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1086, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1078, in _getRepoXML
    self._loadRepoXML(text=self)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1068, in _loadRepoXML
    return self._groupLoadRepoXML(text, ["primary"])
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 1052, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 904, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 772, in _getFileRepoXML
    cache=self.http_caching == 'all')
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 643, in _getFile
    result = self.grab.urlgrab(relative, local,
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 463, in <lambda>
    grab = property(lambda self: self._getgrab())
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 458, in _getgrab
    self._setupGrab()
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 447, in _setupGrab
    self._grab = mgclass(self._grabfunc, self.urls,
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 548, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 545, in _geturls
    self._baseurlSetup()
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 514, in _baseurlSetup
    self.mirrorurls = self._replace_and_check_url(mirrorurls)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py , line 536, in _replace_and_check_url
    print 'YumRepo Warning: not using ftp, http[s], or file for repos, skipping - invalid command '%s'' % (url)
  File : /usr/lib/python2.5/codecs.py , line 303, in write
    data, consumed = self.encode(object, self.errors)

get-updates runtime was 0.7 seconds

UNICODE dudes HELP! :-)

Thanks,



More information about the PackageKit mailing list