Exactly. It works now. Thanks a lot.
By the way, I could not attach the difference when posting a review.
I have created another post for this problem.

On 10月30日, 下午3時39分, Christian Hammond <chip...@chipx86.com> wrote:
> Do you generally use a proxy server? It could be that you're going through
> the proxy, which means you're not accessing what you expect.
>
> You could try using --disable-proxy to check.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Mon, Oct 29, 2012 at 9:45 PM, Alvin NG <asang...@gmail.com> wrote:
> > Hi,
>
> > I'm trying to create a review on top of a commit in a svn repository.
> > However, I got the following error.
> > But if I accesshttp://127.0.0.1/reviewboard/api/directly via
> > browser, I could get the file.
>
> > --------------------------------------------------------------------------- 
> > ---------------------------------------------------
> > [Error]
>
> > post-review --server=http://127.0.0.1/reviewboard--debug>>> RBTools
> > 0.4.2
> > >>> Python 2.6 (r26:66714, May  6 2011, 15:21:49)
> > [GCC 4.3.4 [gcc-4_3-branch revision 152973]]
> > >>> Running on Linux-3.0.13-0.27-default-i686-with-SuSE-11-i586
> > >>> Home = /root
> > >>> Current Directory = /usr/proj
> > >>> Checking the repository type. Errors shown below are mostly harmless.
> > DEBUG:root:Checking for a CVS repository...
> > DEBUG:root:Checking for a ClearCase repository...
> > DEBUG:root:Checking for a Git repository...
> > DEBUG:root:Running: git rev-parse --git-dir
> > DEBUG:root:Command exited with rc 128: ['git', 'rev-parse', '--git-
> > dir']
> > fatal: Not a git repository (or any of the parent directories): .git
> > ---
> > DEBUG:root:Checking for a Mercurial repository...
> > DEBUG:root:Checking for a Perforce repository...
> > DEBUG:root:Checking for a Plastic repository...
> > DEBUG:root:Checking for a Subversion repository...
> > DEBUG:root:Running: svn info
> > DEBUG:root:Running: diff --version
> > DEBUG:root:repository info: Path: svn://127.0.0.1, Base path: /,
> > Supports changesets: False
> > >>> Finished checking the repository type.
> > >>> HTTP GETting api/
> > >>> Got HTTP error: 400: <HTML><HEAD>
> > <TITLE>Request Error</TITLE>
> > </HEAD>
> > <BODY>
> > <FONT face="Helvetica">
> > <big><strong></strong></big><BR>
> > </FONT>
> > <blockquote>
> > <TABLE border=0 cellPadding=1 width="80%">
> > <TR><TD>
> > <FONT face="Helvetica">
> > <big>Request Error (invalid_request)</big>
> > <BR>
> > <BR>
> > </FONT>
> > </TD></TR>
> > <TR><TD>
> > <FONT face="Helvetica">
> > Your request could not be processed. Request could not be handled
> > </FONT>
> > </TD></TR>
> > <TR><TD>
> > <FONT face="Helvetica">
> > This could be caused by a misconfiguration, or possibly a malformed
> > request.
> > </FONT>
> > </TD></TR>
> > <TR><TD>
> > <FONT face="Helvetica" SIZE=2>
> > <BR>
> > For assistance, contact your network support team.
> > </FONT>
> > </TD></TR>
> > </TABLE>
> > </blockquote>
> > </FONT>
> > </BODY></HTML>
>
> > Unable to access the root /api/ URL on the server.
>
> > --------------------------------------------------------------------------- 
> > ---------------------------------------------------
> > [http://127.0.0.1/reviewboard/api/]
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <rsp>
> >  <stat>ok</stat>
> >  <uri_templates>
> >   <diff_comments>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/replies/{reply_id}/diff-
> > comments/</diff_comments>
> >   <watched_review_groups>http://127.0.0.1/reviewboard/api/users/
> > {username}/watched/review-groups/</watched_review_groups>
> >   <session>http://127.0.0.1/reviewboard/api/session/</session>
> >   <file_attachments>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/file-attachments/</file_attachments>
> >   <file>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/diffs/{diff_revision}/files/{filediff_id}/</file>
> >   <replies>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/replies/</replies>
> >   <diff>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/diffs/{diff_revision}/</diff>
> >   <screenshots>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/screenshots/</screenshots>
> >   <watched_review_request>http://127.0.0.1/reviewboard/api/users/
> > {username}/watched/review-requests/{watched_obj_id}/</
> > watched_review_request>
> >   <group>http://127.0.0.1/reviewboard/api/groups/{group_name}/</group>
> >   <screenshot>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/screenshots/{screenshot_id}/</screenshot>
> >   <review>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/</review>
> >   <watched_review_group>http://127.0.0.1/reviewboard/api/users/
> > {username}/watched/review-groups/{watched_obj_id}/</
> > watched_review_group>
> >   <last_update>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/last-update/</last_update>
> >   <diff_comment>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/replies/{reply_id}/diff-
> > comments/{comment_id}/</diff_comment>
> >   <draft>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/draft/</draft>
> >   <reply>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/replies/{reply_id}/</reply>
> >   <review_request>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/</review_request>
> >   <files>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/diffs/{diff_revision}/files/</files>
> >   <review_draft>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/draft/</review_draft>
> >   <users>http://127.0.0.1/reviewboard/api/users/</users>
> >   <repository>http://127.0.0.1/reviewboard/api/repositories/
> > {repository_id}/</repository>
> >   <file_attachment_comments>http://127.0.0.1/reviewboard/api/review-
> > requests/{review_request_id}/file-attachments/{file_attachment_id}/
> > file-attachment-comments/</file_attachment_comments>
> >   <watched>http://127.0.0.1/reviewboard/api/users/{username}/watched/</
> > watched>
> >   <screenshot_comments>http://127.0.0.1/reviewboard/api/review-
> > requests/{review_request_id}/screenshots/{screenshot_id}/screenshot-
> > comments/</screenshot_comments>
> >   <hosting_service_accounts>http://127.0.0.1/reviewboard/api/hosting-
> > service-accounts/</hosting_service_accounts>
> >   <groups>http://127.0.0.1/reviewboard/api/groups/</groups>
> >   <file_attachment>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/file-attachments/{file_attachment_id}/</
> > file_attachment>
> >   <change>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/changes/{change_id}/</change>
> >   <info>http://127.0.0.1/reviewboard/api/info/</info>
> >   <diffs>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/diffs/</diffs>
> >   <search>http://127.0.0.1/reviewboard/api/search/{username}/</search>
> >   <watched_review_requests>http://127.0.0.1/reviewboard/api/users/
> > {username}/watched/review-requests/</watched_review_requests>
> >   <root>http://127.0.0.1/reviewboard/api/</root>
> >   <review_requests>http://127.0.0.1/reviewboard/api/review-requests/</
> > review_requests>
> >   <file_attachment_comment>http://127.0.0.1/reviewboard/api/review-
> > requests/{review_request_id}/reviews/{review_id}/file-attachment-
> > comments/{comment_id}/</file_attachment_comment>
> >   <repositories>http://127.0.0.1/reviewboard/api/repositories/</
> > repositories>
> >   <reviews>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/</reviews>
> >   <reply_draft>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/replies/draft/</reply_draft>
> >   <screenshot_comment>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/reviews/{review_id}/screenshot-comments/
> > {comment_id}/</screenshot_comment>
> >   <changes>http://127.0.0.1/reviewboard/api/review-requests/
> > {review_request_id}/changes/</changes>
> >   <hosting_service_account>http://127.0.0.1/reviewboard/api/hosting-
> > service-accounts/{account_id}/</hosting_service_account>
> >   <user>http://127.0.0.1/reviewboard/api/users/{username}/</user>
> >  </uri_templates>
> >  <links>
> >   <info>
> >    <href>http://127.0.0.1/reviewboard/api/info/</href>
> >    <method>GET</method>
> >   </info>
> >   <search>
> >    <href>http://127.0.0.1/reviewboard/api/search/</href>
> >    <method>GET</method>
> >   </search>
> >   <users>
> >    <href>http://127.0.0.1/reviewboard/api/users/</href>
> >    <method>GET</method>
> >   </users>
> >   <review_requests>
> >    <href>http://127.0.0.1/reviewboard/api/review-requests/</href>
> >    <method>GET</method>
> >   </review_requests>
> >   <repositories>
> >    <href>http://127.0.0.1/reviewboard/api/repositories/</href>
> >    <method>GET</method>
> >   </repositories>
> >   <session>
> >    <href>http://127.0.0.1/reviewboard/api/session/</href>
> >    <method>GET</method>
> >   </session>
> >   <hosting_service_accounts>
> >    <href>http://127.0.0.1/reviewboard/api/hosting-service-accounts/</
> > href>
> >    <method>GET</method>
> >   </hosting_service_accounts>
> >   <groups>
> >    <href>http://127.0.0.1/reviewboard/api/groups/</href>
> >    <method>GET</method>
> >   </groups>
> >   <self>
> >    <href>http://127.0.0.1/reviewboard/api/</href>
> >    <method>GET</method>
> >   </self>
> >  </links>
> > </rsp>
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Reply via email to