Hi, I'm trying to create a new review with rbt post and get an error "The file was not found in the repository (HTTP 400, API Error 207)"
My ClearCase client is a Windows machine, while RB server is on Linux, hence the CC path is different. So I wonder if it is possible in general to work with such setup. Any input will be appreciated, Igor. RBTool output: M:\igorl_view\devsupp>C:\Python27\Scripts\rbt.exe post -d >>> RBTools 0.6 >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] >>> Running on Windows-7-6.1.7601-SP1 >>> Home = C:\Users\igorl\AppData\Roaming >>> Current directory = M:\igorl_view\devsupp >>> Checking for a Subversion repository... >>> Unable to execute "svn help": skipping SVN >>> Checking for a Git repository... >>> Running: git rev-parse --git-dir >>> Command exited with rc 128: ['git', 'rev-parse', '--git-dir'] fatal: Not a git repository (or any of the parent directories): .git --- >>> Checking for a Mercurial repository... >>> Unable to execute "hg --help": skipping Mercurial >>> Checking for a CVS repository... >>> Unable to execute "cvs": skipping CVS >>> Checking for a Perforce repository... >>> Unable to execute "p4 help": skipping Perforce >>> Checking for a Plastic repository... >>> Unable to execute "cm version": skipping Plastic >>> Checking for a ClearCase repository... >>> Running: cleartool pwv -short >>> Running: diff --version >>> Running: cleartool lsview -full -properties -cview >>> Running: cleartool describe -short vob:. >>> Running: cleartool pwv -root >>> repository info: Path: M:\igorl_view\devsupp, Base path: M:\igorl_view\devsupp, Supports changesets: False >>> Making HTTP GET request to http://galaxy521.il.marvell.com/api/ >>> Making HTTP GET request to http://galaxy521.il.marvell.com/api/info/ >>> Running: cleartool lscheckout -all -cview -me -fmt %En\t%PVn\t%Vn\n >>> Running: diff -uN M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt@@\main\1 M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt >>> Command exited with rc 1: ['diff', '-uN', 'M:\\igorl_view\\devsupp\\clearcase\\CGY\\scripts\\dos2unix.txt@@\\main\\1', 'M:\\igorl_view\\devsupp\\clearcase\\ CGY\\scripts\\dos2unix.txt'] --- M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt@@\main\1 2002-04-08 19:13:53.000000000 +0300 +++ M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt 2014-05-22 15:46:27.232475000 +0300 @@ -10,4 +10,6 @@ - Make sure that you are using the branch/LATEST view to run the script. - Modify the script by replacing the main branch with the branch that you want to modify. - Set into the view, cd into the vob. -- /dir_in_which_the_script_resides/ccfixEOLr2 . (dot representing the current directory) \ No newline at end of file +- /dir_in_which_the_script_resides/ccfixEOLr2 . (dot representing the current directory) + +- test \ No newline at end of file --- >>> Running: cleartool describe -fmt %On M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt@@\main\1 >>> Running: cleartool describe -fmt %On M:\igorl_view\devsupp\clearcase\CGY\scripts\dos2unix.txt >>> Making HTTP GET request to http://galaxy521.il.marvell.com/api/review-requests/ >>> Making HTTP POST request to http://galaxy521.il.marvell.com/api/review-requests/ >>> Making HTTP GET request to http://galaxy521.il.marvell.com/api/review-requests/17/diffs/ >>> Making HTTP POST request to http://galaxy521.il.marvell.com/api/review-requests/17/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'M:/igorl_view/devsupp/clearcase/CGY/scripts/dos2unix.txt@@/main/1', u'err': {u'msg': u'The file was not found in t he repository', u'code': 207}, u'revision': u'/main/1'} Traceback (most recent call last): File "C:\Python27\Scripts\rbt-script.py", line 9, in <module> load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')() File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\main.py", line 134, in main command.run_from_argv([RB_MAIN, command_name] + args) File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\__init__.py", line 422, in run_from_argv exit_code = self.main(*args) or 0 File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\post.py", line 769, in main submit_as=self.options.submit_as) File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\post.py", line 545, in post_request raise CommandError('\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. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.