Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455911 - traceback while downloading updates
Summary: traceback while downloading updates
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-18 17:47 UTC by drago01
Modified: 2014-01-21 23:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-18 18:27:22 UTC


Attachments (Terms of Use)
mirrorlist (deleted)
2008-07-18 17:54 UTC, drago01
no flags Details

Description drago01 2008-07-18 17:47:44 UTC
Description of problem:
I wanted to update my system today but it failed due to a traceback while
downloading the updates.

Version-Release number of selected component (if applicable):
yum-3.2.17-2.fc9.noarch (same was happening with yum-3.2.16-2.fc9.noarch)

How reproducible:
Well no idea, after the last yum clean all; it started happening might be
related to the mirror.

Steps to Reproduce:
1. yum update

  
Actual results:
traceback

Expected results:
no traceback - download the updates and install them

Additional info:
(1/12): dmraid-1.0.0.rc14-8.fc9.x86_64.rpm               | 8.3 kB     00:00     
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 243, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 195, in main
    base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 381, in doTransaction
    problems = self.downloadPkgs(downloadpkgs) 
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1107, in
downloadPkgs
    cache=po.repo.http_caching != 'none',
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 676, in getPackage
    cache=cache
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 654, in _getFile
    http_headers=headers,
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 412, in urlgrab
    return self._mirror_try(func, url, kw)
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 398, in
_mirror_try
    return func_ref( *(fullurl,), **kwargs )
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 933, in
urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 868, in _retry
    cb_func(obj, *cb_args, **cb_kwargs)
  File "/usr/share/yum-cli/output.py", line 239, in failureReport
    self.logger.error('%s: %s', errobj.url, str(errobj.exception))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 65:
ordinal not in range(128)

Comment 1 drago01 2008-07-18 17:54:03 UTC
Created attachment 312160 [details]
mirrorlist

Comment 2 Seth Vidal 2008-07-18 18:27:22 UTC
okay - fix has been committed upstream.

thanks for the testing of it on irc.



Note You need to log in before you can comment on or make changes to this bug.