[Spacewalk-list] 1.9 and Unicode
Michael Mraka
michael.mraka at redhat.com
Fri Aug 2 07:55:25 UTC 2013
Ciro Iriarte wrote:
% Hi!, a new 1.9 installation is exhibiting the same behaviour and
% unnluckily I can't just "delete the problematic host" this time. This
% was a new installation on CentOS 6.
%
% Tried upgrading to 2.0 (server and client side) to see if the error
% goes away but it's still there.
%
% Logs:
%
% ---
...
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24] File
% "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py",
% line 175, in call_function
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24]
% Traceback(method, self.req, severity="unhandled")
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24] File
% "/usr/lib/python2.6/site-packages/spacewalk/common/rhnTB.py", line
% 150, in Traceback
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24]
% ostream.write("%s\\n" % exc.getvalue().encode('utf-8'))
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24] File
% "/usr/lib64/python2.6/StringIO.py", line 270, in getvalue
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24] self.buf +=
% ''.join(self.buflist)
% [Thu Aug 01 23:55:47 2013] [error] [client 10.1.30.24]
% UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
% 48: ordinal not in range(128)
Hello Ciro,
could you please try if patch
https://git.fedorahosted.org/cgit/spacewalk.git/commit/?id=a8fa7557edb36e5099c8cbe72cad7479c605f03f
fixes your problem?
Regards,
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list