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

New issue 3571 by some rbtools error in windows 7 64 chinese system.

What version are you running?
ReviewBoard 2.0.7 / RBTools 0.6.2
Client:windows 7 64 chinese system

What's the URL of the page containing the problem?
Not applicable as it's a RBTools issue.

client command:
rbt post -d --diff-filename E:\我的svn\我的地址\我的diff文件.txt.patch

some chinese character in diff file path.


What steps will reproduce the problem?
1. post a new diff file to reviweboard,and get some errors
2. See RBTools log

Making HTTP POST request to
Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {u'fields': {u'path': [u"'gb2312' codec can't encode character u
'\\ufffd' in position 42: illegal multibyte sequence"]}, u'stat': u'fail', u'err
': {u'msg': u'One or more fields had errors', u'code': 105}}
Traceback (most recent call last):
  File "C:\Python26\Scripts\", line 9, in <module>
    load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
File "C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\m", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
File "C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\_", line 416, in run_from_argv
    exit_code = self.main(*args) or 0
File "C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\p", line 783, in main
File "C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\p", line 550, in post_request
    raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff

One or more fields had errors (HTTP 400, API Error 105)

path: 'gb2312' codec can't encode character u'\ufffd' in position 42: illega
l multibyte sequence

Your review request still exists, but the diff is not attached.
Operating system: Windows 7-64 chinese system
Browsers: Internet Explorer 8 / Google Chrome
python version: python2.6.6 utf-8


When i post a new diff to reviewboard server, i get some error. Because chinese character is in diff file path.
How can i slove this problem.

Thanks and Best regards.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to