Bug 1183310 - [abrt] dnf: progress.py:148:end:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 220: 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:be99aefcc1407b3518ff07693b8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-18 13:23 UTC by keglo stephane
Modified: 2015-01-19 12:20 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-19 12:20:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.38 KB, text/plain)
2015-01-18 13:23 UTC, keglo stephane
no flags Details
File: environ (2.17 KB, text/plain)
2015-01-18 13:23 UTC, keglo stephane
no flags Details

Description keglo stephane 2015-01-18 13:23:40 UTC
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
dso_list:       python-librepo-1.7.11-1.fc21.x86_64
executable:     /bin/dnf
kernel:         3.17.8-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 220: 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 1502, 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/drpm.py", line 51, in _end_cb
    super(DeltaPayload, self)._end_cb(cbdata, lr_status, msg)
  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/drpm.py", line 51, in _end_cb
    super(DeltaPayload, self)._end_cb(cbdata, lr_status, msg)
  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 220: ordinal not in range(128)

Local variables in innermost frame:
status: 3
text: u'eclipse-jdt-4.4.1-7.fc21_4.4.1-9.fc21.x86_64.drpm'
self: <dnf.cli.progress.MultiFileProgressMeter object at 0x7fde35bde210>
err_msg: "Curl error: Couldn't connect to server for ftp://mirror.wbs.co.za/fedora-enchilada/updates/21/x86_64/drpms/eclipse-jdt-4.4.1-7.fc21_4.4.1-9.fc21.x86_64.drpm [Failed to connect to mirror.wbs.co.za port 21: Connexion refus\xc3\xa9e]"
start: 1421587240.675341
left: 19
msg: u'[MIRROR] eclipse-jdt-4.4.1-7.fc21_4.4.1-9.fc21.x86_64.drpm: '
now: 1421587240.675341
payload: <dnf.drpm.DeltaPayload object at 0x7fde348abcd0>
size: 386100

Comment 1 keglo stephane 2015-01-18 13:23:45 UTC
Created attachment 981147 [details]
File: backtrace

Comment 2 keglo stephane 2015-01-18 13:23:47 UTC
Created attachment 981148 [details]
File: environ

Comment 3 Honza Silhan 2015-01-19 12:20:27 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.