I still have an issue about Unicode problem... haha...

Our another perforce server, we call it D2 server.

D2 server's P4CHARSET=UTF-8

So, I have to set my Repository's encoding to 'utf8'


There's no problem when p4 description part reading.

But, When they trying to read diff files, there's an error.

SCMError: Unicode server permits only unicode enabled cilents.

This error occured when I install reviewboard first.

So, this is not a side effect which I changed encodings.

I don't know where error occured yet.

Below is our server logs.

Anyone please help me.

Thank you.

>>> p4 -p info
>>> repository info: Path:, Base path: None, Supports 
>>> changesets: True
>>> Generating diff for changenum 1568
>>> p4 describe -s 1568
>>> Processing edit of //depot/Project/StorageCheck/mmp_agent_list.txt
>>> Writing "//depot/Project/StorageCheck/mmp_agent_list.txt#15" to 
>>> "c:\users\admini~1\appdata\local\temp\tmpczhkd5"
>>> p4 print -o c:\users\admini~1\appdata\local\temp\tmpczhkd5 -q 
>>> //depot/Project/StorageCheck/mmp_agent_list.txt#15
>>> diff -urNp c:\users\admini~1\appdata\local\temp\tmpczhkd5 
>>> d:\p4_DPIserver\depot\Project\StorageCheck\mmp_agent_list.txt
>>> Looking for ' /reviewboard_demo/' cookie in 
>>> C:\Users\Administrator\AppData\Roaming\.post-review-cookies.jh5774.bae.txt
>>> Loaded valid cookie -- no login required
>>> HTTP GETting api/
>>> HTTP GETting
>>> Using the new web API
>>> Attempting to create review request on for 1568
>>> HTTP POSTing to 
>>> {'changenum': 
>>> '1568', 'repository': ''}
>>> Review request created
>>> Uploading diff, size: 533
>>> HTTP POSTing to 
>>> {}
>>> Got API Error 105 (HTTP code 400): One or more fields had errors
>>> Error data: {u'fields': {u'path': [u'Unicode server permits only unicode 
>>> enabled clients.']}, u'stat': u'fail', u'err': {u'msg': u'One or more 
>>> fields had errors', u'code': 105}}
Your review request still exists, but the diff is not attached.

Error uploading diff

The generated diff file was empty. This usually means no files were
modified in this change.

Try running with --output-diff and --debug for more information.

ERROR:root:Error uploading new diff: Unicode server permits only
unicode enabled clients.
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/webapi/resources.py", line 1132, in create
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/reviews/forms.py", line 249, in create
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/diffviewer/forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/diffviewer/forms.py", line 149, in
    not tool.file_exists(filename, revision))):
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/scmtools/core.py", line 68, in file_exists
    self.get_file(path, revision)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/scmtools/perforce.py", line 135, in get_file
    raise SCMError('\n'.join(line.lstrip("\t") for line in error))
SCMError: Unicode server permits only unicode enabled clients.

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to