[Spacewalk-list] yum error

ondrej hadamek ondrej.hadamek at acision.com
Thu Jan 21 09:58:50 UTC 2010


Hello I have clean instalation of spacewalk 0.7 (not yet used) I am 
polishing my kickstarts - It sucessfully register and all the stuff but 
when iam trying to install new packages from web UI iam getting : 	 
Fatal error in Python code occured [[6]]
Also when trying to install/search packages from my registered computer 
iam getting

#yum search aa
Loaded plugins: refresh-packagekit, rhnplugin
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in <module>
     yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 315, in user_main
     errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 180, in main
     result, resultmsgs = base.doCommands()
   File "/usr/share/yum-cli/cli.py", line 351, in doCommands
     return self.yum_cli_commands[self.basecmd].doCommand(self, 
self.basecmd, self.extcmds)
   File "/usr/share/yum-cli/yumcommands.py", line 631, in doCommand
     return base.search(extcmds)
   File "/usr/share/yum-cli/cli.py", line 802, in search
     for (po, keys, matched_value) in matching:
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1970, 
in searchGenerator
     for sack in self.pkgSack.sacks.values():
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 720, in 
<lambda>
     pkgSack = property(fget=lambda self: self._getSacks(),
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 549, in 
_getSacks
     self.repos.populateSack(which=repos)
   File "/usr/lib/python2.6/site-packages/yum/repos.py", line 277, in 
populateSack
     sack.populate(repo, mdtype, callback, cacheonly)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in 
populate
     if self._check_db_version(repo, mydbtype):
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in 
_check_db_version
     return repo._check_db_version(mdtype)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1245, in 
_check_db_version
     repoXML = self.repoXML
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1408, in 
<lambda>
     repoXML = property(fget=lambda self: self._getRepoXML(),
   File "/usr/share/yum-plugins/rhnplugin.py", line 478, in _getRepoXML
     return YumRepository._getRepoXML(self)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1400, in 
_getRepoXML
     self._loadRepoXML(text=self)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1390, in 
_loadRepoXML
     return self._groupLoadRepoXML(text, mdtypes)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1367, in 
_groupLoadRepoXML
     if self._commonLoadRepoXML(text):
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1220, in 
_commonLoadRepoXML
     result = self._getFileRepoXML(local, text)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 999, in 
_getFileRepoXML
     size=102400) # setting max size as 100K
TypeError: _getFile() got an unexpected keyword argument 'size'


Ondrej

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.





More information about the Spacewalk-list mailing list