I'm getting a ClientError when creating a review request for a remote
SVN repository. I have the following versions:

pysvn v1.6.1.0
Python 2.5.2

Is my version of pysvn too old? Or am I missing something else? Thanks

post-review --repository-url=http://IP_ADDRESS/repos/support --
revision-range=2:3 --username=admin -d
>>> svn info http://IP_ADDRESS/repos/support
>>> repository info: Path: http://IP_ADDRESS/repos/support, Base path: /, 
>>> Supports changesets: False
>>> svn diff --diff-cmd=diff http://IP_ADDRESS/repos/support/@2 
>>> http://IP_ADDRESS/repos/support/@3
>>> Looking for 'localhost /reviews/' cookie in 
>>> /home/mike/.post-review-cookies.txt
>>> Cookie file loaded, but no cookie for this server
==> Review Board Login Required
Enter username and password for Review Board at http://localhost:9900/reviews/
Password:
>>> Logging in with username "admin"
>>> HTTP POSTing to http://localhost:9900/reviews/api/json/accounts/login/: 
>>> {'username': 'admin', 'password': '**************'}
>>> Logged in.
>>> Attempting to create review request for None
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/3/info/
>>> repository info: Path: http://IP_ADDRESS/repos/support, Base path: /, 
>>> Supports changesets: False
>>> HTTP POSTing to http://localhost:9900/reviews/api/json/reviewrequests/new/: 
>>> {'repository_path': 'http://IP_ADDRESS/repos/support'}
>>> Review request created
>>> Uploading diff, size: 1401
>>> HTTP POSTing to 
>>> http://localhost:9900/reviews/api/json/reviewrequests/8/diff/new/: 
>>> {'basedir': '/'}
Error uploading diff: One or more fields had errors (105)
>>> {'fields': {'path': ["global name 'ClientError' is not defined"]}, 'stat': 
>>> 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}}
Your review request still exists, but the diff is not attached.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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

Reply via email to