1063: post-review perforce HTTP Error 500: Internal Server Error

madha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 1, 2009
What's the URL of the page containing the problem?


What steps will reproduce the problem?
1.cd my_project
2.post-review -d
3.

What is the expected output? What do you see instead?
>>> svn info
>>> repository info: Path: svn+ssh://dev@<myprod_ip>/repo/<reponame>, Base
path: /trunk, Supports changesets: False
>>> svn diff --diff-cmd=diff
>>> svn info settings.py
>>> svn info users/decorators.py
>>> svn info utils/__init__.py
>>> svn info utils/__init__.py
>>> svn info utils/__init__.py
>>> Looking for '<myreviewboard_domain> /' cookie in
/home/nanda/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request for None
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/1/info/
>>> HTTP POSTing to
http://myreviewboard_domain/api/json/reviewrequests/new/:
{'repository_path': 'svn+ssh://dev@<myprod_ip>/repo/<reponame>'}
>>> Review request created
>>> Uploading diff, size: 7197
>>> HTTP POSTing to
http://myreviewboard_domain/api/json/reviewrequests/2/diff/new/:
{'basedir': '/trunk'}
>>> <!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://myreviewboard_domain/api/json/reviewrequests/2/diff/new/. The host
path may be invalid
HTTP Error 500: Internal Server Error


What operating system are you using? What browser?
Operating System:Ubuntu 8.10
Repository:Subversion
Browser:Firefox 3.0


Please provide any additional information below.
#1 madha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
The error was due to "no pysvn installed". But I tried installing then it result in
the following error:ImportError: pysvn was built against newer (svn, apr, etc.)
libraries then the ones installed on this system. pysvn/_pysvn.so: undefined symbol:
PyUnicodeUCS4_Decode How do I get pass this?
chipx86
#2 chipx86
How did you install PySVN?

You need to use the same version of Python for both PySVN and Review Board.
  • +NeedInfo
#4 madha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hello chipx86, the python version which I have is 2.4. And subversion is 1.4.4 Can
you suggest me the pysvn which is compatible with python2.4 and subversion 1.4.4?
#5 madha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hello chipx86, I tried pysvn 1.5, pysvn 1.7 none of them proved to be compatible with
python 2.4. Can you suggest me something.
david
#6 david
The problem is probably that your Python.h header is built differently than your
pysvn. I'm afraid there's not a lot we can do to debug this for you--I've heard of
issues with Python's unicode support and UCS-2 vs. UCS-4 but I don't know
specifically what's wrong or how to fix it.
  • -NeedInfo
    +ThirdParty