Hi,
We are using Review Board 1.7 on Windows XP with ClearCase as repository in our company. We are facing issues with "rbt post" command. Following are the issue we are facing: 1. .*reviewboardrc file creation*: I am not able to create .reviewboardrc file using rbt setup-repo command. Following is the output of the command: *rbt setup-repo -d* Enter the Review Board server URL: http://myIP:8080/reviewboard DEBUG:root:Checking for a Subversion repository... DEBUG:root:Checking for a Git repository... DEBUG:root:Checking for a Mercurial repository... DEBUG:root:Checking for a CVS repository... DEBUG:root:Checking for a Perforce repository... DEBUG:root:Checking for a Plastic repository... DEBUG:root:Checking for a ClearCase repository... DEBUG:root:Running: cleartool pwv -short DEBUG:root:Running: diff --version DEBUG:root:Running: cleartool lsview -full -properties -cview DEBUG:root:Running: cleartool describe -short vob:. DEBUG:root:Running: cleartool pwv -root DEBUG:root:repository info: Path: L:\bse_tdscdma_fw_app_, Base path: L:\bse_tdscdma_fw_app_, Supports changesets: False DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/ DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/info/ DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/repositories/ No ClearCase repository found or selected for http://myIP:8080/reviewboard. .reviewboardrc not created. Does anyone know about this issue?? Although, I have created this file manually and moved ahead. 2. *With Static View*: With static view, I have created the .reviewboardrc file manually with the Server URL and repository and placed it in the root directory of my view. I have checked out one file and made the changes in that. After that, on the command prompt, I changed the directory to that particular folder and execute the following command: *rbt post -d* DEBUG:root:Checking for a Subversion repository... DEBUG:root:Checking for a Git repository... DEBUG:root:Checking for a Mercurial repository... DEBUG:root:Checking for a CVS repository... DEBUG:root:Checking for a Perforce repository... DEBUG:root:Checking for a Plastic repository... DEBUG:root:Checking for a ClearCase repository... DEBUG:root:Running: cleartool pwv -short DEBUG:root:Running: diff --version DEBUG:root:Running: cleartool lsview -full -properties -cview DEBUG:root:Running: cleartool describe -short vob:. DEBUG:root:Running: cleartool pwv -root DEBUG:root:repository info: Path: C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3, Base path: C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3, Supports changesets: False DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/ DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/info/ DEBUG:root:Running: cleartool lscheckout -all -cview -me -fmt %En\t%PVn\t%Vn\n DEBUG:root:Running: cleartool get -to c:\docume~1\mayankk\locals~1\temp\tmpbnqnar C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSC DMAController\CommandHandler.cpp@@\main\lte_bse_int_tdscdma_r17p1\tdscdma_bse_del_cttl_int\lte_bse_tdscdma_temp_mayankk\1 DEBUG:root:Running: cleartool get -to c:\docume~1\mayankk\locals~1\temp\tmpthbqf0 C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSC DMAController\CommandHandler.cpp DEBUG:root:Running: diff -uN c:\docume~1\mayankk\locals~1\temp\tmpbnqnar c:\docume~1\mayankk\locals~1\temp\tmpthbqf0 DEBUG:root:Command exited with rc 1: ['diff', '-uN', 'c:\\docume~1\\mayankk\\locals~1\\temp\\tmpbnqnar', 'c:\\docume~1\\mayankk\\locals~1\\temp\\tmpth bqf0'] --- c:\docume~1\mayankk\locals~1\temp\tmpbnqnar 2014-02-07 14:18:36.597287200 +0530 +++ c:\docume~1\mayankk\locals~1\temp\tmpthbqf0 2014-02-07 14:18:36.753530200 +0530 @@ -16,7 +16,7 @@ * DESCRIPTION: This file contains the member functions for CommandHandler class * *************************************************************************************/ -//Comment added by mayank for testing +//Comment added by mayank for #include "CommandHandler.h" #include <map> using namespace std; --- DEBUG:root:Running: cleartool describe -fmt %On C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSCDMAController\CommandHandler.cpp@@ \main\lte_bse_int_tdscdma_r17p1\tdscdma_bse_del_cttl_int\lte_bse_tdscdma_temp_mayankk\1 DEBUG:root:Running: cleartool describe -fmt %On C:\cc_views\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSCDMAController\CommandHandler.cpp DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/review-requests/ DEBUG:root:Making HTTP POST request to http://myIP:8080/reviewboard/api/review-requests/ DEBUG:root:Making HTTP GET request to http://myIP:8080/reviewboard/api/review-requests/56/diffs/ DEBUG:root:Making HTTP POST request to http://myIP:8080/reviewboard/api/review-requests/56/diffs/ DEBUG:root:Got API Error 105 (HTTP code 400): One or more fields had errors DEBUG:root:Error data: {u'fields': {u'path': [u'cleartool: Error: Unable to determine VOB for pathname ".".\r\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} Traceback (most recent call last): File "C:\Python27\Scripts\rbt-script.py", line 8, in <module> load_entry_point('RBTools==0.5.6', 'console_scripts', 'rbt')() File "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\main.py", line 127, in main command.run_from_argv([RB_MAIN] + args) File "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\__init__.py", line 158, in run_from_argv exit_code = self.main(*args) or 0 File "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\post.py", line 659, in main submit_as=self.options.submit_as) File "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\post.py", line 534, in post_request raise CommandError('\n'.join(error_msg)) rbtools.commands.CommandError: Error uploading diff One or more fields had errors (HTTP 400, API Error 105) path: cleartool: Error: Unable to determine VOB for pathname ".". Your review request still exists, but the diff is not attached. I am unable to find out any solution for this error. Does anyone face the same issue? Would appreciate any help. 3. *With Dynamic Views*: I am not sure where I should put my .reviewboardrc file? I tried with putting it in my “C:\Documents and Settings\user\Local Settings\Application Data” folder but no luck. I can’t put this file inside the view as its write protected. Since rbt post not able to get the .reviewboardrc file, when I execute this command, following output will be shown: *rbt post -d* DEBUG:root:Checking for a Subversion repository... DEBUG:root:Checking for a Git repository... DEBUG:root:Checking for a Mercurial repository... DEBUG:root:Checking for a CVS repository... DEBUG:root:Checking for a Perforce repository... DEBUG:root:Checking for a Plastic repository... DEBUG:root:Checking for a ClearCase repository... DEBUG:root:Running: cleartool pwv -short DEBUG:root:Running: diff --version DEBUG:root:Running: cleartool lsview -full -properties -cview DEBUG:root:Running: cleartool describe -short vob:. DEBUG:root:Running: cleartool pwv -root DEBUG:root:repository info: Path: L:\bse_tdscdma_fw_app_, Base path: L:\bse_tdscdma_fw_app_, Supports changesets: False Unable to find a Review Board server for this source code tree. Does anyone solution to this problem?? Will appreciate any help. . -- 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/groups/opt_out.