Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3843 by markwa...@gmail.com: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 70: ordinal not in range(128)
https://code.google.com/p/reviewboard/issues/detail?id=3843

What version are you running?
rbt 0.7.2, I also tested with RBTools 0.8 alpha 0 (dev), i.e. 1ded9b55b3aa2c9bb66f11dd269d4ecba095b9f9 from April 7, 2015

What's the URL of the page containing the problem?
Our local review board server...

What steps will reproduce the problem?
I run "rbt post -d" and pass the "--username" and "--server" options.

What is the expected output? What do you see instead?
I expect rbt post to succeed :)

What operating system are you using? What browser?
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.4 LTS
Release:        12.04
Codename:       precise

Linux ubuntu 3.2.0-72-generic #107-Ubuntu SMP Thu Nov 6 14:24:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Browser not relevant

Please provide any additional information below.
When I use rbt post to try to post a review I get the error below:
~~~
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.8alpha0.dev', 'console_scripts', 'rbt')()
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/commands/main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/commands/__init__.py", line 555, in run_from_argv
    exit_code = self.main(*args) or 0
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/commands/post.py", line 633, in main
    extra_args=extra_args)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/clients/git.py", line 449, in diff
    exclude_patterns)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/clients/git.py", line 559, in make_diff
    return self.make_svn_diff(merge_base, diff_lines)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.8alpha0.dev-py2.7.egg/rbtools/clients/git.py", line 621, in make_svn_diff
    diff_data += line
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 70: ordinal not in range(128)
~~~

I can't post the full patch of my review but could anyone comment on whether or not this is a known issue?Also any idea how I can isolate and debug what specific part of the patch is causing the issue?

Thanks!

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to