1185: Fail to post-review a perforce changeset

JasonL******@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 23, 2009
What version are you running?
RB Release 1.0

What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. Use post-review to post a review of perforce changeset (No. 2)
2. rc file has been set correctly.
3. Use command
==========================================
python "C:\Python25\Scripts\post-review" -d 2
==========================================
4. Error 500 occurs.

What is the expected output? What do you see instead?
Debug log.
>>> p4 info
>>> repository info: Path: yli-01-pc.com:1666, Base path: None, Suppor
ts changesets: True
>>> Generating diff for changenum 2
>>> p4 describe -s 2
>>> Processing edit of //depot/Readme.txt
>>> Writing "//depot/Readme.txt#1" to "c:\docume~1\jason\locals~1
\temp\tmpra6drg
"
>>> p4 print -q //depot/Readme.txt#1
>>> p4 where //depot/Readme.txt
>>> diff -urNp c:\docume~1\jason\locals~1\temp\tmpra6drg 
E:\abcdefg\Readme.txt
>>> Looking for '127.0.0.1 /' cookie in C:\Documents and 
Settings\Jason\Local Se
ttings\Application Data\.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request for 2
>>> HTTP POSTing to http://127.0.0.1:80/api/json/reviewrequests/new/: 
{'reposito
ry_path': 'yli-01-pc.com:1666', 'changenum': '2'}
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>500 - Internal Server Error | Review Board</title>
 </head>
 <body>
  <h1>Something broke! (Error 500)</h1>
  <p>
   It appears something broke when you tried to go to here. This is either
   a bug in Review Board or a server configuration error. Please report
   this to your administrator.
  </p>
 </body>
</title>

Unable to access http://127.0.0.1:80/api/json/reviewrequests/new/. The 
host path
 may be invalid
HTTP Error 500: Internal Server Error

What operating system are you using? What browser?
WinXP Professional SP3 
IE8
Firefox

Please provide any additional information below.
david
#1 david
Please look at the server log and find the error backtrace.
  • +NeedInfo
david
#2 david
  • -NeedInfo
    +Incomplete