Issue 1239 in reviewboard: Error 500 when "New review request"

0 views
Skip to first unread message

codesite...@google.com

unread,
Jul 27, 2009, 2:00:10 AM7/27/09
to reviewboa...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1239 by xukaiV: Error 500 when "New review request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

*NOTE: Do not post confidential information in this bug report.*

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.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jul 27, 2009, 2:06:11 AM7/27/09
to reviewboa...@googlegroups.com
Updates:
Status: NeedInfo

Comment #1 on issue 1239 by trowbrds: Error 500 when "New review request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

Please look in the logs (or administrator e-mail) for the actual error. We
can't do
much with this without a traceback.

codesite...@google.com

unread,
Jul 27, 2009, 2:36:20 AM7/27/09
to reviewboa...@googlegroups.com

Comment #2 on issue 1239 by xukaiV: Error 500 when "New review request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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 :)

Attachments:
error.log 29.2 KB

codesite...@google.com

unread,
Jul 28, 2009, 12:53:37 PM7/28/09
to reviewboa...@googlegroups.com

Comment #3 on issue 1239 by chinbillybilbo: Error 500 when "New review
request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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.

codesite...@google.com

unread,
Jul 28, 2009, 12:57:38 PM7/28/09
to reviewboa...@googlegroups.com

Comment #4 on issue 1239 by chinbillybilbo: Error 500 when "New review
request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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.

codesite...@google.com

unread,
Jul 28, 2009, 3:01:55 PM7/28/09
to reviewboa...@googlegroups.com

Comment #5 on issue 1239 by chipx86: Error 500 when "New review request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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.

codesite...@google.com

unread,
Jul 29, 2009, 5:54:33 AM7/29/09
to reviewboa...@googlegroups.com

Comment #7 on issue 1239 by chinbillybilbo: Error 500 when "New review
request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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.

codesite...@google.com

unread,
Jul 29, 2009, 7:09:03 AM7/29/09
to reviewboa...@googlegroups.com

Comment #8 on issue 1239 by xukaiV: Error 500 when "New review request"
http://code.google.com/p/reviewboard/issues/detail?id=1239

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 !

Reply all
Reply to author
Forward
0 new messages