Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1969 by apsoftw...@gmail.com: API Error 207 -- The file was not found in the repository
http://code.google.com/p/reviewboard/issues/detail?id=1969

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

What version are you running?
RBTools 0.3
Review Board 1.5.2

What's the URL of the page containing the problem?
???
post-review issue

What steps will reproduce the problem?
1. post-review

What is the expected output? What do you see instead?


What operating system are you using? What browser?
ubuntu linux
firefox

Please provide any additional information below.
Initial setup problem. I am sure that it is my configuration error, but all of the other people that report the same bug -- the answers are too generic for helping me debug the problem.

Here is what I know:
1) I am using SVN as a source code repository
2) I configured the server as https://svn.xxx.com:10023/svn2/myproject/trunk
** Note that the reviewboard configuration accepted this as a valid repo

3) I made a simple change to a file to make sure everything works
4) Running post-review -d I get the following

<pre>

andyp@XXX:~/aaa/myproject$ post-review -d
RBTools 0.3
Home = /home/andyp
svn info
diff --version
repository info: Path: https://svn.xxx.com:10023/svn2, Base path: /myproject/trunk, Supports changesets: False
svn diff --diff-cmd=diff
svn info android/service/project/src/com/xxx/service/test.java
svn info android/service/project/src/com/xxx/service/test.java
svn info android/service/project/src/com/xxx/service/test.java
svn info android/service/project/src/com/xxx/service/test.java
HTTP GETting api/
HTTP GETting http://reviewboard.xxx.com/api/info/
Using the new web API
HTTP GETting http://reviewboard.xxx.com/api/repositories/
HTTP GETting http://reviewboard.xxx.com/api/repositories/1/
HTTP GETting http://reviewboard.xxx.com/api/repositories/1/info/
repository info: Path: https://svn.xxx.com:10023/svn2/myproject/trunk, Base path: /, Supports changesets: False Attempting to create review request on https://svn.xxx.com:10023/svn2/myproject/trunk for None HTTP POSTing to http://reviewboard.xxx.com/api/review-requests/: {'repository': u'https://svn.xxx.com:10023/svn2/myproject/trunk'}
Review request created
Uploading diff, size: 692
HTTP POSTing to http://reviewboard.xxx.com/api/review-requests/5/diffs/: {'basedir': '/'} Got API Error 207 (HTTP code 400): The file was not found in the repository Error data: {u'stat': u'fail', u'file': u'/myproject/trunk/android/service/project/src/com/xxx/service/test.java', u'err': {u'msg': u'The file was not found in the repository', u'code': 207}, u'revision': u'2908'}

Error uploading diff

</pre>



** Note that other answers state: "Yeah, you must point to the base of the repository, *not* a path inside of it."

My problem is that I don't know what this means. Is this a server configuration, or is it a client configuration?? Is there some kind of "validation test" that I can run to make sure that I have things set up correctly?

Thanks,
-Andy


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to