Bug 1224949 - UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 7: ordinal not in range(128)
Summary: UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position ...
Keywords:
Status: CLOSED DUPLICATE of bug 1223932
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-26 09:41 UTC by Carl-Peter Krause
Modified: 2015-07-22 13:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 13:56:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carl-Peter Krause 2015-05-26 09:41:44 UTC
Description of problem:
dnf fails with above error message when trying to install a group which is already installed

Version-Release number of selected component (if applicable):
Fedora 22

How reproducible:

Steps to Reproduce:
1. Installed Fedora22 vom Beta Libve DVD in German language
2. Updated system
3. dnf groupinstall LibreOffice => was successful
4. dnf groupinstall LibreOffice => failed with exception

Actual results:
[root@localhost ~]# dnf group install LibreOffice
Last metadata expiration check performed 0:45:51 ago on Tue May 26 10:47:03 2015.
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 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'\xbb' in position 7: ordinal not in range(128)


Expected results:
Some message like "Nothing to install"

Additional info:

Comment 1 Honza Silhan 2015-07-22 13:56:20 UTC

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


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