2529: Error 500 when trying to upload a diff
- SetupIssue
- Review Board
smbs*****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
March 17, 2012 |
What version are you running? 1.6.4 What's the URL of the page containing the problem? http://localhost/reviewboard/r/new/ What steps will reproduce the problem? 1.when I created a review request and tried to upload a diff file,it suggests"some error occurs(error 500)". The base directory area I input 'http://localhost/svn/hello', which can be accessed with web browser. The error log message can be seen in log.txt. What is the expected output? What do you see instead? Review request should be created without error. What operating system are you using? What browser? WinXP Please provide any additional information below. 1.Some information about Subversion settings:I used Subversion and Apache, the Repository path: http://localhost/svn/hello or file:///F:/Mysvn/hello, the repository works well,supports http and file protocol. 2.I configured the repository setting in the Database--Scmtools-Repositories,as follow Hosting service : custom Repository type : Subversion Path : http://localhost/svn/hello Username : username Password : password Access Control : Publicly accessible : is selected Users with access : All users are selected Thanks for your generous help!
It looks like something is wrong with your database encoding. You'll need to check the configuration of your database.
-
+ SetupIssue
The database i used is mysql,and default encoding is utf-8. Do I need some other settings in Reviewboarad?
I found the answer.Because I user tortoise svn in windows,when I use the tortoise patch tool to create a patch file,it has some Chinese character.That causes a decode error. The simplest solution is to use some other tools to create patch,or edit python file to support Chinese character CODEC.
And that's the problem of tortoise svn...