|
Boost Testing : |
Subject: Re: [Boost-testing] Python error on a new platform
From: Jim Bell (Jim_at_[hidden])
Date: 2013-06-11 12:17:44
On 6/11/2013 10:58 AM, Tom Kent wrote:
> I'm trying to start up a new test runner (on a MS Azure VM), and I'm
> getting a python error I've never seen before after the runs are
> complete that prevents it from processing the output.
>
> ... copy_comments( results_xml, comment_file )
> File
> "D:\teeks99-07\d\tools_regression_src\collect_and_upload_logs.py",
> line 226, in copy_comments
> results_xml.characters( f.read() )
> File "C:\Python27-64\lib\xml\sax\saxutils.py", line 183, in characters
> self._write(escape(unicode(content)))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0x99 in position
> 7177: ordinal not in range(128)
>
> Anyone seen this before or know what would cause it?
Looks like your comments file (i.e., "run.py ... --comments=[this] ...")
has non-ASCII character(s) 0x99, position 7177.