What version are you running?
Review Board 1.0.5.1
Python 2.5, Apache2.2, and svn 1.6.6 on Windows Server 2003
What's the URL of the page containing the problem?
http://localhost/reviews/r/new/
What steps will reproduce the problem?
1. Install all above components.
2. Add a svn repository (stand along server) with path svn://localhost and
type Subversion
3. Click "New Review Request" via web UI, then the repository drop-list is
empty.
Or,
4. Use post-review script to file a reivew request, then it fails too.
What is the expected output? What do you see instead?
For step 3 (web UI): I expected to see my repository name appear in the
repository drop-list in the web UI.
However, the repository drop-list is empty.
For step 4 (post-review), I expected to see the new request is
successfully created.
However, the post-review script failed to pass all the steps. The output
is:
D:\ttsdata>post-review-script.py --debug
>>> svn info
>>> repository info: Path: svn://localhost, Base path: /, Supports
changesets: False
>>> svn diff --diff-cmd=diff
>>> svn info Raw/test/Word.cs
>>> svn info Raw/test/Word.cs
>>> svn info Raw/test/Word.cs
>>> svn info Raw/test/Word.cs
>>> Looking for 'localhost /reviews/' cookie in C:\Documents and
Settings\Administrator\Local Settings\Application Data\
.post-review-cookies.txt
>>> Cookie file loaded, but no cookie for this server
==> Review Board Login Required
Enter username and password for Review Board at http://localhost/reviews/
Username: yanpengju
Password:
>>> Logging in with username "yanpengju"
>>> HTTP POSTing to http://localhost/reviews/api/json/accounts/login/:
{'username': 'yanpengju', 'password': '**********
****'}
>>> Logged in.
>>> Attempting to create review request for None
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/1/info/
>>> HTTP GETting /api/json/repositories/2/info/
>>> HTTP POSTing to http://localhost/reviews/api/json/reviewrequests/new/:
{'repository_path': 'svn://localhost'}
>>> Review request created
>>> Uploading diff, size: 378
>>> HTTP POSTing to
http://localhost/reviews/api/json/reviewrequests/7/diff/new/:
{'basedir': '/'}
>>> <!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://localhost/reviews/api/json/reviewrequests/7/diff/new/.
The host path may be invalid
HTTP Error 500: Internal Server Error
I can still see there some outgoing draft review requests created by post-
review, although the link points to a error page "Something broke! (Error
500)":
=========
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.
=========
What operating system are you using? What browser?
Windows Server 2003, IE8.
Please provide any additional information below.
I installed svn in combination with python2.6 previously. But I installed
Review Board basd on pythong2.5 (followed the instruction here
http://kaistizen.net/EE/index.php/journal/comments/how_to_set_up_review_boa
rd_on_windows/). Is it part of the cause?