Bug 1223932 - UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 19: ordinal not in range(128)
Summary: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1224949 1225397 1225681 1226464 1226757 1226760 1228904 1229054 1229346 1230361 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 18:03 UTC by Juan Orti
Modified: 2015-07-24 12:38 UTC (History)
17 users (show)

Fixed In Version: dnf-1.0.1-2.fc22
Clone Of:
Environment:
Last Closed: 2015-06-21 00:16:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2015-05-21 18:03:18 UTC
Description of problem:
I hit this error, but with LANG=C it works.

# echo $LANG
es_ES.utf8


# dnf groupinstall "Basic Desktop"
Last metadata expiration check performed 2:17:38 ago on Thu May 21 17:35:55 2015.
Traceback (most recent call last):
  File "/usr/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 185, 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 134, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1077, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/group.py", line 385, in run
    return self.base.env_group_install(patterns, types)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 1253, in env_group_install
    res.groups, types)
  File "/usr/lib/python2.7/site-packages/dnf/comps.py", line 88, in install_or_skip
    logger.warning("%s, %s", str(e)[:-1], _("skipping."))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 19: ordinal not in range(128)

# LANG=C dnf groupinstall "Basic Desktop"
Last metadata expiration check performed 2:18:05 ago on Thu May 21 17:35:55 2015.
Group 'Basic Desktop' is already installed, skipping.
Error: package PackageKit-gstreamer-plugin-1.0.6-3.fc22.armv7hl requires PackageKit-glib(armv7hl-32) = 1.0.6-3.fc22, but none of the providers can be installed.
package lightdm-1.10.4-1.fc22.armv7hl requires dbus-x11, but none of the providers can be installed.
package initial-setup-gui-0.3.31-1.fc22.armv7hl requires anaconda-gui >= 21.46, but none of the providers can be installed.
package plymouth-system-theme-0.8.9-7.2013.08.14.fc22.armv7hl requires plymouth(system-theme) = 0.8.9-7.2013.08.14.fc22, but none of the providers can be installed.
package abrt-cli-2.5.1-2.fc22.armv7hl requires abrt-addon-python, but none of the providers can be installed


Version-Release number of selected component (if applicable):
python-dnf-plugins-extras-common-0.0.7-1.fc22.noarch
dnf-conf-1.0.0-1.fc22.noarch
dnf-yum-1.0.0-1.fc22.noarch
python-dnf-plugins-core-0.1.8-1.fc22.noarch
python-dnf-1.0.0-1.fc22.noarch
python-dnf-plugins-extras-migrate-0.0.7-1.fc22.noarch
dnf-plugins-core-0.1.8-1.fc22.noarch
dnf-1.0.0-1.fc22.noarch
yum-utils-1.1.31-505.fc22.noarch
yum-metadata-parser-1.1.4-14.fc22.armv7hl
yum-3.4.3-505.fc22.noarch

Comment 1 Parag Nemade 2015-05-28 05:53:35 UTC
I think this can be fixed by simple commit -> https://github.com/rpm-software-management/dnf/pull/280

Comment 2 Honza Silhan 2015-05-28 11:18:41 UTC
I have modified Parag's commit to work in Python3 too. Fixed in the upstream.

Comment 3 Honza Silhan 2015-06-01 10:19:06 UTC
*** Bug 1225397 has been marked as a duplicate of this bug. ***

Comment 4 Honza Silhan 2015-06-01 10:57:07 UTC
*** Bug 1226760 has been marked as a duplicate of this bug. ***

Comment 5 Radek Holy 2015-06-01 11:32:41 UTC
*** Bug 1226757 has been marked as a duplicate of this bug. ***

Comment 6 Parag Nemade 2015-06-08 04:32:12 UTC
*** Bug 1225681 has been marked as a duplicate of this bug. ***

Comment 7 Parag Nemade 2015-06-08 04:33:04 UTC
*** Bug 1226464 has been marked as a duplicate of this bug. ***

Comment 8 Parag Nemade 2015-06-08 04:33:09 UTC
*** Bug 1229054 has been marked as a duplicate of this bug. ***

Comment 9 Parag Nemade 2015-06-09 06:04:44 UTC
*** Bug 1229346 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2015-06-12 09:05:43 UTC
dnf-1.0.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnf-1.0.1-2.fc22

Comment 11 Fedora Update System 2015-06-14 17:33:38 UTC
Package dnf-1.0.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-1.0.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10004/dnf-1.0.1-2.fc22
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2015-06-21 00:16:24 UTC
dnf-1.0.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Honza Silhan 2015-07-22 13:56:20 UTC
*** Bug 1224949 has been marked as a duplicate of this bug. ***

Comment 14 Honza Silhan 2015-07-24 11:46:53 UTC
*** Bug 1228904 has been marked as a duplicate of this bug. ***

Comment 15 Honza Silhan 2015-07-24 12:38:29 UTC
*** Bug 1230361 has been marked as a duplicate of this bug. ***


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