Comment #2 on issue 888 by ted.dunning: LANGUAGE setting can confuse  
post-review due to assumption of English output from svn.
http://code.google.com/p/reviewboard/issues/detail?id=888

on Ubuntu 7.10:

$ locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
LC_CTYPE="zh_CN.utf8"
LC_NUMERIC="zh_CN.utf8"
LC_TIME="zh_CN.utf8"
LC_COLLATE="zh_CN.utf8"
LC_MONETARY="zh_CN.utf8"
LC_MESSAGES="zh_CN.utf8"
LC_PAPER="zh_CN.utf8"
LC_NAME="zh_CN.utf8"
LC_ADDRESS="zh_CN.utf8"
LC_TELEPHONE="zh_CN.utf8"
LC_MEASUREMENT="zh_CN.utf8"
LC_IDENTIFICATION="zh_CN.utf8"
LC_ALL=zh_CN.utf8

$ ~/post-review  -d
>>> svn info
>>> cleartool pwv -short
Traceback (most recent call last):
   File "/home/mud/post-review", line 2307, in <module>
     main(sys.argv[1:])
   File "/home/mud/post-review", line 2248, in main
     repository_info, tool = determine_client()
   File "/home/mud/post-review", line 2200, in determine_client
     repository_info = tool.get_repository_info()
   File "/home/mud/post-review", line 728, in get_repository_info
     env={'LANG': 'en_US.UTF-8'})
   File "/home/mud/post-review", line 1901, in execute
     env=env)
   File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
     errread, errwrite)
   File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory


it will work well after this change:

$ export LANGUAGE=en_US.utf8



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to