1239: Error 500 when "New review request"

xuk***@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 4, 2009
What version are you running?
1.0

What's the URL of the page containing the problem?
/r/new/

What steps will reproduce the problem?
1. freshly install reviewboard, 
2. create a SVN repo
3. click "new review request"

What is the expected output? What do you see instead?
expect to create a new review request, but see "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 XP, Firefox 3.5 and IE 6

Please provide any additional information below.
Before I create the SVN repo, it's ok to click the "new review request",
the problem occurs only after I created the SVN repo. I didn't configure
the bug tracking in the repo. Besides, I am using VisualSVN server 1.6, and
it only allow https access.
david
#1 david
Please look in the logs (or administrator e-mail) for the actual error. We can't do
much with this without a traceback.
  • +NeedInfo
#2 xuk***@gmai***** (Google Code) (Is this you? Claim this profile.)
I am sorry I am a dummy with apache and mod_python, the log folder in the reviewboard
folder is empty. I just find the apache error.log and put it in the attachment.
Thanks you very much :)
  • +
    Starting the Apache2.2 service
    The Apache2.2 service is running.
    rmine the server's fully qualified domain name, using 172.16.10.29 for ServerName
    [Fri Jul 24 19:33:21 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming normal operations
    [Fri Jul 24 19:33:21 2009] [notice] Server built: Dec 10 2008 00:10:06
    [Fri Jul 24 19:33:21 2009] [notice] Parent: Created child process 3964
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.10.29 for ServerName
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.10.29 for ServerName
    [Fri Jul 24 19:33:21 2009] [notice] Child 3964: Child process is running
    [Fri Jul 24 19:33:21 2009] [notice] Child 3964: Acquired the start mutex.
    [Fri Jul 24 19:33:21 2009] [notice] Child 3964: Starting 64 worker threads.
    [Fri Jul 24 19:33:21 2009] [notice] Child 3964: Starting thread to listen on port 80.
    [Fri Jul 24 19:39:38 2009] [error] [client 172.16.17.144] Fil
#3 chinbil*******@gmai***** (Google Code) (Is this you? Claim this profile.)
I'm getting the same error as this. Server all set up. login appears to work, but 
http://MYSEREVER/api/json/reviewrequests/new/ is failing.

I fails to find the cookie file, even though it is present where the filepath should 
be looking. Not sure if this is relavent.
#4 chinbil*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Additional note: The issue on the forums mentions that nothing can be done without a 
traceback, but, there is none. I'm using Apache and mod_python on Windows and there 
are no errors in the error.log.
chipx86
#5 chipx86
In your site's conf/settings_loca.py, set DEBUG to True.

Then restart your web server and try again. You'll see a backtrace.
#6 chinbil*******@gmai***** (Google Code) (Is this you? Claim this profile.)
It seems I need P4 (Perforce Python wrapper) installed. This was not listed in the 
dependencies and post-review uses P4 command line so I didn't guess this. Be useful 
to make a note of this in the install docs. (http://dpaste.com/72830/)

Just have to figure out Active Directory config now. That isn't in the docs either.

Also I seem to get 2 different P4 servers being looked for. Think it's related our 
set up here. Unsure if it's related to RB yet.

Other than that looks very promising! :)
#7 chinbil*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Different bug, but same thread: I'm not sure why this is here:

        try:
            hostname, port = repository_path.split(":")
            info = socket.gethostbyaddr(hostname)
            repository_path = "%s:%s" % (info[0], port)
        except (socket.gaierror, socket.herror):
            pass

But the p4 server name is different to the host (not sure why). P4PORT is 
A.company.local but gethostbyaddr returns B.company.local, which is not what is 
registered in RB. The above code does not work.
#8 xuk***@gmai***** (Google Code) (Is this you? Claim this profile.)
I finally find the solution, I looked the Linux install instruction, and find that it
needs pysvn, so I installed the pysvn, and the issus is solved !
david
#9 david
  • -NeedInfo
    +UserError