1239: Error 500 when "New review request"
- UserError
- Review Board
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.
Please look in the logs (or administrator e-mail) for the actual error. We can't do much with this without a traceback.
-
+ NeedInfo
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 :)
-
+
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.
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.
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.
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! :)
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.
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 !