Re: Response code: 207 -- The file was not found in the repository

2012-04-20 Thread CoderTR
Here is the --debug output 

https://gist.github.com/356cc0b7d25b7748e9bb

I didn't see my previous reply, so had to post it again. Sorry if this is 
getting posted twice. 

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

Re: Response code: 207 -- The file was not found in the repository

2012-04-20 Thread CoderTR
There is a leading slash in path of the file in diff output, as the 
reviewboard also complains with this repsonse -- 

 Got API Error 207 (HTTP code 400): The file was not found in the repository
 Error data: {u'stat': u'fail', u'file': 
 u'//trunk/src/main/java/com/anasoft/os/s4j/SeleniumInstanceFactory.java', 
 u'err': {u'msg': u'The file was not found in the repository', u'code': 
 207}, u'revision': u'54'}
Your review request still exists, but the diff is not attached.


Do you think this could be a reason for the failure ? 

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

Re: Response code: 207 -- The file was not found in the repository

2012-04-20 Thread CoderTR


 Oh, where are you running it from?
 *
 *

*I am running it from c:\ (whereas the project working directory is  
C:\Workspace\workspace\*

 *selenium4junit-read-only)*

 

 What happens when you run 'svn info' from that location?

*
C:\svn info
svn: E155007: 'C:\' is not a working copy*


 post-review expects to be run from within the source tree.

 *I remember reading somewhere that its not mandatory to run it within the 
working directory. Also, I just ran the command from my working directory 
and got the same result (207 failure). *

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

Re: Response code: 207 -- The file was not found in the repository

2012-04-20 Thread CoderTR
Christian, Thanks for all the help. 

I tried without --repository-url and ran it within working directory, I get 
the same problem, I checked out /trunk/ and for some reason, the file path 
still have //trunk. 
So, I checked out the entire repository (including trunk, branches and 
tags), and ran the command within working directory, now that the file is 
posted with correct relative path in diff. But reviewboard still won't 
accept the request -- 

 Got API Error 207 (HTTP code 400): The file was not found in the 
repository
 Error data: {u'stat': u'fail', u'file': u
'/trunk/src/main/java/com/anasoft/o
s/s4j/SeleniumInstanceFactory.java', u'err': {u'msg': u'The file was not 
found i
n the repository', u'code': 207}, u'revision': u'54'}

Error uploading diff

Your review request still exists, but the diff is not attached.

C:\Workspace\workspace\selenium4junit-all-read-onlysvn info
Path: .
Working Copy Root Path: C:\Workspace\workspace\selenium4junit-all-read-only

URL: http://selenium4junit.googlecode.com/svn
Repository Root: http://selenium4junit.googlecode.com/svn
Repository UUID: 733c2150-6652-11de-9c70-efa4e9705d34
Revision: 72
Node Kind: directory
Schedule: normal
Last Changed Author: vojtech.szocs
Last Changed Rev: 72
Last Changed Date: 2010-08-26 07:45:21 -0700 (Thu, 26 Aug 2010)
*
However, closer look at the error message, seems like reviewboard 
complaining that the file is not there in revision 54 ( the file was added 
in revision 55) which makes sense. But, I don't know why RB would complain 
abt this --- *

Index: src/main/java/com/anasoft/os/s4j/SeleniumInstanceFactory.java
===
--- src/main/java/com/anasoft/os/s4j/SeleniumInstanceFactory.java
(revision 0)
+++ src/main/java/com/anasoft/os/s4j/SeleniumInstanceFactory.java
(revision 55)
@@ -0,0 +1,24 @@
+package com.anasoft.os.s4j;
+
+import com.anasoft.os.s4j.annotation.SeleniumSession;
+import com.thoughtworks.selenium.Selenium;
+
+/**
+ * Factory for creating {@link Selenium} session instances.
+ * 
+ * @see SeleniumRunnerLogic
+ * 
+ * @author vojtech.szocs
+ */
+public interface SeleniumInstanceFactory {
+
+/**
+ * Creates new {@link Selenium} instance for the given session
+ * configuration.
+ * 
+ * @param sessionConfig {@link Selenium} session configuration.
+ * @return New {@link Selenium} session instance.
+ */
+Selenium createSelenium(SeleniumSession sessionConfig);
+
+}



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

Re: Response code: 207 -- The file was not found in the repository

2012-04-20 Thread CoderTR
There is something special about this revision range -- 54:55 
I tried with diff between 69:70 and the changes have been posted 
successfully, got a review request created. Yayy!! 

Does it mean that post-review/reviewboard can't handle the case where the 
file was added new ??

I will continue to do some research tomorrow. Thanks again for your help. 

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