[Spacewalk-list] 1.9 and Unicode

Ciro Iriarte cyruspy at gmail.com
Fri Aug 2 13:04:47 UTC 2013


Michael, just applied the patch and restarted spacewalk (not sure if
it's needed), it doesn't change the outcome, same error.

Regards,
CI.-

2013/8/2 Michael Mraka <michael.mraka at redhat.com>:
> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 
Ciro Iriarte
http://cyruspy.wordpress.com
--




More information about the Spacewalk-list mailing list