<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tim Lauridsen wrote:
<blockquote cite="mid:47283825.20905@googlemail.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Richard Hughes wrote:
<blockquote cite="mid:1193787484.19583.0.camel@hughsie-laptop"
type="cite">
<pre wrap="">On Mon, 2007-10-29 at 12:06 +0100, Tim Lauridsen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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)
</pre>
</blockquote>
<pre wrap=""><!---->
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
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:PackageKit@lists.freedesktop.org">PackageKit@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>
</pre>
</blockquote>
I will add unicode convertion code.<br>
<br>
Tim<br>
<br>
<br>
</blockquote>
Added<br>
<br>
Tim<br>
</body>
</html>