Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1177422 - [abrt] dnf: progress.py:148:end:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 178: ordinal not in range(128)
Summary: [abrt] dnf: progress.py:148:end:UnicodeDecodeError: 'ascii' codec can't decod...
Keywords:
Status: CLOSED DUPLICATE of bug 1175839
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:01abded1c369ae42af61c054ec2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-27 09:24 UTC by Juan Orti
Modified: 2015-01-12 11:48 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-12 11:48:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (deleted)
2014-12-27 09:24 UTC, Juan Orti
no flags Details
File: environ (deleted)
2014-12-27 09:24 UTC, Juan Orti
no flags Details

Description Juan Orti 2014-12-27 09:24:18 UTC
Description of problem:
dnf upgrade -y

Version-Release number of selected component:
dnf-0.6.3-2.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python -OO /bin/dnf upgrade -y
dso_list:       python-librepo-1.7.10-1.fc21.x86_64
executable:     /bin/dnf
kernel:         3.17.7-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
progress.py:148:end:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 178: ordinal not in range(128)

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 141, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 160, in resolving
    base.do_transaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 208, in do_transaction
    total_cb)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 829, in download_packages
    errors = dnf.repo.download_payloads(payloads, drpm)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 125, in download_payloads
    librepo.download_packages(targets, failfast=True)
  File "/usr/lib64/python2.7/site-packages/librepo/__init__.py", line 1489, in download_packages
    return _librepo.download_packages(list, failfast)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 144, in new_func
    name = '%s.%s' % (args[0].__class__.__name__, fn.__name__)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 318, in _progress_cb
    self.progress.progress(self, done)
  File "/usr/lib/python2.7/site-packages/dnf/cli/progress.py", line 69, in progress
    text = unicode(payload)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 144, in new_func
    name = '%s.%s' % (args[0].__class__.__name__, fn.__name__)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 318, in _progress_cb
    self.progress.progress(self, done)
  File "/usr/lib/python2.7/site-packages/dnf/cli/progress.py", line 69, in progress
    text = unicode(payload)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 144, in new_func
    name = '%s.%s' % (args[0].__class__.__name__, fn.__name__)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 146, in new_func
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 315, in _mirrorfail_cb
    self.progress.end(self, dnf.callback.STATUS_MIRROR, err)
  File "/usr/lib/python2.7/site-packages/dnf/cli/progress.py", line 148, in end
    msg = '%s%-*s\n' % (msg, left, err_msg)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 178: ordinal not in range(128)

Local variables in innermost frame:
status: 3
text: u'libv4l-1.6.2-1.fc21.i686.rpm'
self: <dnf.cli.progress.MultiFileProgressMeter object at 0x7f2598e71210>
err_msg: "Curl error: Couldn't connect to server for ftp://mirror.umd.edu/fedora/linux/updates/21/x86_64/l/libv4l-1.6.2-1.fc21.i686.rpm [Failed to connect to mirror.umd.edu port 21: Conexi\xc3\xb3n rehusada]"
start: 1419672186.498775
left: 171
msg: u'[MIRROR] libv4l-1.6.2-1.fc21.i686.rpm: '
now: 1419672186.498775
payload: <dnf.repo.RPMPayload object at 0x7f2597808550>
size: 174024

Comment 1 Juan Orti 2014-12-27 09:24:22 UTC
Created attachment 973413 [details]
File: backtrace

Comment 2 Juan Orti 2014-12-27 09:24:23 UTC
Created attachment 973414 [details]
File: environ

Comment 3 Honza Silhan 2015-01-12 11:48:58 UTC

*** This bug has been marked as a duplicate of bug 1175839 ***


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