3773: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 314: ordinal not in range(128) for english characters

labo****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 14, 2015
I'm unable to submit a string file for english because of this error. This seems to be a regression since I installed rbtools 0.7.1

At the position shown the file contains only a regular english string

What version are you running?
rb tools 0.7.1
server 2.0.12

What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. rbt post -d <change num>

What is the expected output? What do you see instead?
Should post the review. Instead it fails with this callstack:
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 8, in <module>
    load_entry_point('RBTools==0.7.1.dev', 'console_scripts', 'rbt')()
  File "/Library/Python/2.6/site-packages/rbtools/commands/main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/Library/Python/2.6/site-packages/rbtools/commands/__init__.py", line 538, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/Library/Python/2.6/site-packages/rbtools/commands/post.py", line 639, in main
    extra_args=extra_args)
  File "/Library/Python/2.6/site-packages/rbtools/clients/perforce.py", line 602, in diff
    ignore_unmodified=True)
  File "/Library/Python/2.6/site-packages/rbtools/clients/perforce.py", line 1116, in _do_diff
    translate_newlines=False, results_unicode=False)
  File "/Library/Python/2.6/site-packages/rbtools/utils/process.py", line 93, in execute
    % (rc, command, data))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 314: ordinal not in range(128)


What operating system are you using? What browser?
mac os x
chrome

Please provide any additional information below.
#1 labo****@gmai***** (Google Code) (Is this you? Claim this profile.)
This was a problem when using appcode. Switching to xcode fixed this.
david
#2 david
  • +ThirdParty