Bug 442691 - git-daemon package description includes extended ASCII character
Summary: git-daemon package description includes extended ASCII character
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bryan Kearney
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-16 10:18 UTC by David Robinson
Modified: 2013-01-10 10:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-16 12:02:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Robinson 2008-04-16 10:18:15 UTC
Description of problem:
The description of the git-daemon package contains extended ASCII code 145, æ (a
backwards 'a' and 'e').

Version-Release number of selected component (if applicable):
git-daemon-1.5.4.5-3.fc9

How reproducible:
100%

Steps to Reproduce:
1. yum info git-daemon
  
Actual results:
$ yum info git-daemon
Loaded plugins: refresh-packagekit
Available Packages
Name       : git-daemon
Arch       : x86_64
Version    : 1.5.4.5
Release    : 3.fc9
Size       : 102 k
Repo       : rawhide
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 236, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 111, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 309, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 214, in doCommand
    rap = base.listPkgs(ypl.available, _('Available Packages'), basecmd)
  File "/usr/share/yum-cli/output.py", line 338, in listPkgs
    self.infoOutput(pkg)
  File "/usr/share/yum-cli/output.py", line 305, in infoOutput
    print self.fmtKeyValFill(_("Summary    : "), enc(pkg.summary))
  File "/usr/share/yum-cli/output.py", line 257, in fmtKeyValFill
    val = str(val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 14:
ordinal not in range(128)

Expected results:
Whilst I realise that this is a bug in yum and not git, its probably not a great
idea to use the extended ASCII character in the description (and I'll file a bug
against yum too).

Additional info:
%package daemon
Summary:        Git protocol dæmon
Group:          Development/Tools
Requires:       git = %{version}-%{release}
%description daemon
The git dæmon for supporting git:// access to git repositories

Comment 1 David Robinson 2008-04-16 10:26:39 UTC
I've filed bug 442695 against yum.

Comment 2 James Bowes 2008-04-16 12:02:35 UTC
Closing as wontfix, since this was a temporary regression in yum, and the
git-daemon description has always used the funky character.


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