Hello, I have a problem with configuration channels. I configured a channel with two files and it worked until last upgrade to SpaceWalk 1.0. Now I get the following traceback. I think the problem is caused when the server schelude a file comparison to the client. The client excutes the script and it returns a message in local language. In my case, at position 435, the script finds "ú" (0xFA) so it aborts with error.<br>
<br>I found a workaround: export LANGUAGE, LANG or similar variable with English before executing rhn_check, but I'll have to modify several systems. <br><br>¿Any idea to solve the problem?  <br><br><br><br><br>====================================================================<br>
Exception reported from spacewalk<br>Time: Thu May 13 01:47:09 2010<br>Exception type exceptions.UnicodeEncodeError<br>Exception while handling function queue.submit<br>Request object information:<br>URI: /XMLRPC<br>Remote Host: XXXXXXXXXXXXXXXX<br>
Server Name: localhost.localdomain:0<br>Headers passed in:<br>    Accept-Encoding: identity<br>    Content-Length: 10244<br>    Host: XXXXXXXXXXXXXXXX<br>    content-type: text/xml<br>    user-agent: <a href="http://rhn.rpclib.py/$Revision">rhn.rpclib.py/$Revision</a>: 190936 $<br>
    x-client-version: 1<br>    x-info: RPC Processor (C) Red Hat, Inc (version 191735)<br>    x-rhn-client-capability: packages.verifyAll(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1,packages.verifyAll(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1<br>
    x-rhn-transport-capability: follow-redirects=3<br>    x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 190936)<br>    x-up2date-version: 0.8.12-1.el5<br>Extra information about this error:<br>
Response sent back to the caller:<br>While running 'queue.submit': caught<br>exceptions.UnicodeEncodeError : 'ascii' codec can't encode character u'\xfa' in position 435: ordinal not in range(128)<br>
<br><br><br>Exception Handler Information<br>Traceback (most recent call last):<br>  File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function<br>    response = apply(func, params)<br>  File "/usr/share/rhn/server/handlers/xmlrpc/queue.py", line 424, in submit<br>
    action_type=action_type)<br>  File "/usr/share/rhn/server/handlers/xmlrpc/queue.py", line 474, in process_extra_data<br>    result = method(self.server_id, action_id, data=data)<br>  File "/usr/share/rhn/server/action_extra_data/configfiles.py", line 154, in diff<br>
    _process_diffs(server_id, action_id, diffs)<br>  File "/usr/share/rhn/server/action_extra_data/configfiles.py", line 239, in _process_diffs<br>    _add_result(action_config_revision_id, diff)<br>  File "/usr/share/rhn/server/action_extra_data/configfiles.py", line 291, in _add_result<br>
    result.write(diff)<br>UnicodeEncodeError: 'ascii' codec can't encode character u'\xfa' in position 435: ordinal not in range(128)<br><br>Local variables by frame<br>Frame _add_result in /usr/share/rhn/server/action_extra_data/configfiles.py at line 291<br>
                       h = <type 'instance'> <__builtin__.OracleCursor on <cx_Oracle.Connection to spacewalk@XE>><br>                    diff = <type 'unicode'> <ERROR WHILE PRINTING VALUE><br>
                  result = <type 'cx_Oracle.LOB'> <br>    action_config_revision_id = <type 'int'> 195<br>                     row = <type 'dict'> {'result': <cx_Oracle.LOB object at 0x2b980cc262d0>}<br>
<br>Frame _process_diffs in /usr/share/rhn/server/action_extra_data/configfiles.py at line 239<br>                   diffs = <type 'dict'> {'   <br>.<br>.<br>.<br>.<br>.<br>====================================================================<br>