Issue 3639 in reviewboard: rbt post, Your review request still exists, but the diff is not attached.

2014-10-27 Thread reviewboard

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

New issue 3639 by zycha...@gmail.com: rbt post, Your review request still  
exists, but the diff is not attached.

https://code.google.com/p/reviewboard/issues/detail?id=3639

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
1, ReviewBoard 2.0.5
2, RBTools 0.6.2
3, svn, version 1.8.10 (r1615264)

What's the URL of the page containing the problem?
http://10.140.23.96

What steps will reproduce the problem?
1. modification of some code
2. change to the directory and write rbt post -d cmd
3. always happend with the error.

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

D:\tdltews\trunk\src\RobotWSrbt post -d --username yongzhan

RBTools 0.6.2
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit  
(Intel)]

Running on Windows-7-6.1.7601-SP1
Home = D:\userdata\yongzhan\Application Data
Current directory = D:\tdltews\trunk\src\RobotWS
Checking for a Subversion repository...
Running: svn info --non-interactive
Running: diff --version
repository info: Path:  
https://svne1.access.nokiasiemensnetworks.com/isource
/svnroot/tdlte-tap, Base path: /Robot/tdltews/trunk/src/RobotWS, Supports  
change

sets: False

Making HTTP GET request to http://10.140.23.96/api/


== HTTP Authentication Required
Enter authorization information for Web API at 10.140.23.96
Password:

Running: svn info --non-interactive
Running: diff --version
repository info: Path:  
https://svne1.access.nokiasiemensnetworks.com/isource
/svnroot/tdlte-tap, Base path: /Robot/tdltews/trunk/src/RobotWS, Supports  
change

sets: False

Running: svn status --ignore-externals
Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
Running: svn info __init__.py
Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE  
--no-diff-delete

d

Running: svn info __init__.py
Running: svn info __init__.py
Running: svn info __init__.py
Making HTTP GET request to http://10.140.23.96/api/review-requests/
Making HTTP POST request to http://10.140.23.96/api/review-requests/
Making HTTP GET request to  
http://10.140.23.96/api/review-requests/63/diffs/


Making HTTP POST request to  
http://10.140.23.96/api/review-requests/63/diffs

/
Got API Error 207 (HTTP code 400): The file was not found in the  
repository.


Error data: {u'stat': u'fail', u'file':  
u'/Robot/tdltews/trunk/src/RobotWS/_
_init__.py', u'err': {u'msg': u'The file was not found in the repository.',  
u'co

de': 207}, u'revision': u'28568'}
Traceback (most recent call last):
  File C:\Python27\scripts\rbt-script.py, line 9, in module
load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
   
File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\m

ain.py, line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
   
File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\_

_init__.py, line 416, in run_from_argv
exit_code = self.main(*args) or 0
   
File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\p

ost.py, line 784, in main
submit_as=self.options.submit_as)
   
File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\p

ost.py, line 551, in post_request
raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff


The file was not found in the repository. (HTTP 400, API Error 207)

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

http://10.140.23.96/r/63/



What operating system are you using? What browser?

I use google chrome browser on win7 system, and my review board is setup on  
ubuntu system succeed.


Please provide any additional information below.

I can create review request on web UI normaly,

This is the repository I configured on the reviewboard.
RobotWS	 
https://svne1.access.nokiasiemensnetworks.com/isource/svnroot/tdlte-tap/Robot/tdltews/trunk/src


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, 

Re: Issue 3639 in reviewboard: rbt post, Your review request still exists, but the diff is not attached.

2014-10-27 Thread reviewboard

Updates:
Status: SetupIssue

Comment #1 on issue 3639 by chip...@gmail.com: rbt post, Your review  
request still exists, but the diff is not attached.

https://code.google.com/p/reviewboard/issues/detail?id=3639

The repository entry on Review Board *must* point to the very root of the  
SVN repository, and not any subdirectory within.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3639 in reviewboard: rbt post, Your review request still exists, but the diff is not attached.

2014-10-27 Thread reviewboard


Comment #2 on issue 3639 by zycha...@gmail.com: rbt post, Your review  
request still exists, but the diff is not attached.

https://code.google.com/p/reviewboard/issues/detail?id=3639

you mean I should use :  
https://svne1.access.nokiasiemensnetworks.com/isource/svnroot/tdlte-tap  
instead ?


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3639 in reviewboard: rbt post, Your review request still exists, but the diff is not attached.

2014-10-27 Thread reviewboard


Comment #3 on issue 3639 by chip...@gmail.com: rbt post, Your review  
request still exists, but the diff is not attached.

https://code.google.com/p/reviewboard/issues/detail?id=3639

I don't have access to the server, so I can't say for sure. If that's the  
very root of the SVN tree, then yes.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3639 in reviewboard: rbt post, Your review request still exists, but the diff is not attached.

2014-10-27 Thread reviewboard


Comment #5 on issue 3639 by chip...@gmail.com: rbt post, Your review  
request still exists, but the diff is not attached.

https://code.google.com/p/reviewboard/issues/detail?id=3639

If you have existing review requests on that repository, I'd suggest you  
set up a new repository pointing to the root and make sure that you can  
post to that. Then you can mark the old one as invisible. All existing  
review requests will be preserved and will continue to work, but new ones  
must be used against the new repository entry.


Every one of those groups can post against that repository entry. You may  
want to look into using Default Reviewers with file paths to auto-assign  
review requests to the proper groups.


rbt post expects that the repository configured on Review Board is the root  
of the SVN repository and not a subdirectory, which is why this happens.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.