Hi Jason,
We'll need to know what the actual error is. Go into your
sitedir/conf/settings_local.py and set DEBUG to True. Then try again and see
what the actual error HTML is. You can send this to me directly, and I'll be
able to tell you more.
Christian
--
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com
On Thu, Jun 25, 2009 at 3:12 AM, Jason Lee jasonleeh...@gmail.com wrote:
Hi guys,
Two days ago, I followed the documentation on page of Review Board and
installed it.
Everything seemed great. The site was established successfully. I
could register, use admin, set repository. But when I tried to use
post-review to post a perforce review. I failed!
The command is: post-review.py 2 (perforce changeset no.).
The log is below:
=
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
title500 - Internal Server Error | Review Board/title
/head
body
h1Something 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
==
It seems the diff file has been created, but can not create a new
post on RB site.
I know nothing about Django and json.
my apache conf:
===
VirtualHost *:80
# ServerName review.mybrion.net
DocumentRoot E:/reviewboard_tmp3/htdocs
# Error handlers
ErrorDocument 500 /errordocs/500.html
# Serve django pages
Location /
PythonPath ['E:/reviewboard_tmp3/conf'] + sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE E:/reviewboard_tmp3/tmp/egg_cache
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug On
# Used to run multiple mod_python sites in the same apache
PythonInterpreter reviewboard_reviewboard_tmp3
/Location
# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location
Directory E:/reviewboard_tmp3/htdocs
# Options Indexes FollowSymLinks
# AllowOverride all
Order Allow,Deny
Allow from all
/Directory
# Alias static media requests to filesystem
Alias /media E:/reviewboard_tmp3/htdocs/media
Alias /errordocs E:/reviewboard_tmp3/htdocs/errordocs
/VirtualHost
===
Anyone knows how to fix it? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---