I have fixed this by adding reload and sys.setdefaultencoding("utf-8")
after import sys in "RBTools-0.7.5-py2.6.egg/rbtools/utils/process.py":
import sys
*reload(sys)sys.setdefaultencoding("utf-8")*
Do you see any issue with this change? is it possible to get this to your
next drop so I
I really need an expert advise on this. I still see this failure when I
try to post the review but when I try to diff the same version of the file
in clearcase I dont see any issue. I upgraded the RBTools but did not help.
Really appreciate your input on this?
Traceback (most recent call
When I posted before, I surmised that the problem might be on the server.
To check that, have you tried browsing around in the web UI, fetching the
diffs from previous reviews? For a proper test, you may need to restart
memcached.
I figured out that the problem I was seeing is a problem with
s-0.7.4-py2.6.egg/rbtools/clients/clearcase.py",
>
> line 793, in _diff_files
> translate_newlines=False)
> File
> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py",
>
> line 180, in execute
> % (rc, command, da
I have over 400 files to review. When I run the cleartool diff on the last
file in the trace I dont see any error but seems when rbt tries it fails.
>>> Running: diff -uN /vbs/e/nq/file1.C@@/main/310
/vbs/e/nq/file1.C@@/main/br1_main_int/13
Traceback (most recent call last):
File
Hi Sam,
Can you provide an updated debug log, along with the content containing
non-ASCII characters?
Thanks,
Christian
--
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com
On Tue, Oct 27, 2015 at 8:20 PM, Sam
Hello,
I tried this with RBTools 0.7.5 and still seeing the same error:
CRITICAL: 'ascii' codec can't decode byte 0xc2 in position 81162: ordinal
not in range(128)
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you?
late_newlines=False)
> File
> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py",
>
> line 180, in execute
> % (rc, command, data))
> *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
> 80769: ordinal not in
t; File
>> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py",
>> line 793, in _diff_files
>> translate_newlines=False)
>> File
>> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py&quo
_diff_files
> translate_newlines=False)
> File
> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py",
>
> line 180, in execute
> % (rc, command, data))
> *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
>
.py",
>> line 793, in _diff_files
>> translate_newlines=False)
>> File
>> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py",
>> line 180, in execute
>> % (rc, command, data))
>> *UnicodeDecodeError: 'a
x117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/process.py",
line 180, in execute
% (rc, command, data))
*UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
80769: ordinal not in range(128)*
rbt version:
$ rbt --version
RBTools 0.7.4
Can you please help me to r
f_files(old_file, new_file)
> File
> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py",
> line 793, in _diff_files
> translate_newlines=False)
> File
> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/utils/pr
gt;>
>> line 882, in _do_diff
>> dl = self._diff_files(old_file, new_file)
>> File
>> "/home/hotellnx117/mojgans/bin/RBTools-0.7.4-py2.6.egg/rbtools/clients/clearcase.py",
>>
>> line 793, in _diff_files
>> translate_newlines=False)
>
14 matches
Mail list logo