Re: yum-2.1.11-4 not playing well with python-2.4-0.b2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sean darcy wrote:

> See:
> 
> yum upgrade
> Setting up Upgrade Process
> Setting up Repo:  development
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 8, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 68, in main
>     result, resultmsgs = base.doCommands()
>   File "/usr/share/yum-cli/cli.py", line 390, in doCommands
>     return self.updatePkgs()
>   File "/usr/share/yum-cli/cli.py", line 766, in updatePkgs
>     self.doRepoSetup()
>   File "/usr/share/yum-cli/cli.py", line 70, in doRepoSetup
>     repo.getRepoXML()
>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 465, in
> getRepoXML
>     result = self.get(relative=remote, local=local, copy_local=1)
>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 443, in get
>     checkfunc=checkfunc)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 414,
>   in
> urlgrab
>     return self._mirror_try(func, url, kw)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 400,
>   in
> _mirror_try
>     return func_ref( *(fullurl,), **kwargs )
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 595,
> in urlgrab
>     return self._retry(opts, retryfunc, url, filename)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 527,
> in _retry
>     return apply(func, (opts,) + args, {})
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 581,
> in retryfunc
>     fo = URLGrabberFileObject(url, filename, opts)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 703,
> in __init__
>     self._do_open()
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 747,
> in _do_open
>     fo, hdr = self._make_request(req, opener)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 823,
> in _make_request
>     fo = opener.open(req)
>   File "/usr/lib/python2.4/urllib2.py", line 364, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.4/urllib2.py", line 468, in http_response
>     code, msg, hdrs = response.code, response.msg, response.info()
> AttributeError: HTTPResponse instance has no attribute 'code'
> 
> sean
> 
> 

guess its a mixup of rawhide python 2.4 and yum still using python 2.3.
todays rawhide yum should fix that.



-- 
No Software Patents! http://nosoftwarepatents.com
Get Firefox! http://spreadfirefox.com




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]