[packagekit] Categories/Groups in yum on a Fedora system

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Oct 31 01:09:09 PDT 2007


Richard Hughes wrote:
> On Mon, 2007-10-29 at 12:06 +0100, Tim Lauridsen wrote:
>   
>> Ok, i have implemented 'search-group' for the yum backend, using the
>> current pk groups, to see how it looks (very big 'other' & 'system'
>> group)
>>     
>
> with "pkcon search group servers" i get:
>
> Traceback (most recent call last):'
>   File "/usr/share/PackageKit/helpers/yum/search-group.py", line 21, in <module>'
>     backend.search_group(options,searchterms)'
>   File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 383, in search_group'
>     self._show_package(pkg, INFO_AVAILABLE)'
>   File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 886, in _show_package'
>     self.package(id,status, pkg.summary)'
>   File "/usr/lib/python2.5/site-packages/packagekit/backend.py", line 155, in package'
>     print >> sys.stdout,"package\t%s\t%s\t%s" % (status,id,summary)'
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 82: ordinal not in range(128)'
>
> Ideas?
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
I will add unicode convertion code.

Tim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20071031/f1d3c6e7/attachment-0004.htm>


More information about the PackageKit mailing list