Thanks David for fast response. I really appreciate. The revision name is correct. As I said above, I am able to execute the phython code separately. But it doesn't work with ReviewBoard. That's why I was thinking that there might be some configuration/setting related issue.
regards Mayank On Monday, 3 March 2014 12:03:34 UTC+5:30, David Trowbridge wrote: > > This looks like the relevant error: > > DEBUG:root:Got API Error 207 (HTTP code 400): The file was not found in > the repository > DEBUG:root:Error data: {u'stat': u'fail', u'file': > u'T:/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', > > u'err': {u'msg': u'The file was not found in the repository', u'code': > 207}, u'revision': > u'\\main\\lte_bse_int_tdscdma_r17p1\\tdscdma_bse_del_cttl_int\\lte_bse_tdscdma_temp_mayankk\\1'} > > Note that this error is coming from Review Board, and rbt itself is fine. > That "revision" string in there looks a little suspect, but it might be > fine. We *do not* support for Review Board servers running on Windows > hosts, and ClearCase support is a third party contribution for which none > of the core team has any real knowledge. Hopefully someone else will pipe > up with some suggestions, but unfortunately you may have to figure this out > on your own. > > -David > > > On Sun, Mar 2, 2014 at 10:24 PM, Mayank Kumar <maya...@gmail.com<javascript:> > > wrote: > >> Hi, >> >> We are using ClearCase with ReviewBoard (version 1.7) on Windows XP. >> rbttool version is 0.5.6. >> >> I have created a view and mount it on "T:" drive. My Reviewboard server >> is running on PC itself. >> When I tried to raise a Review request from T:, I am getting the below >> error at rbt tool side. >> >> T:\mayankk_view\bse_tdscdma_fw_app_l3>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: T:\mayankk_view\bse_tdscdma_fw_app_l3, >> Base path: T:\mayankk_view\bse_tdscdma_fw_app_l3, Supports changesets: False >> DEBUG:root:Making HTTP GET request to >> http://172.21.111.163:8080/reviewboard/api/ >> DEBUG:root:Making HTTP GET request to >> http://172.21.111.163: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\tmpt2cgxz >> T:\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSCDMAContro >> >> ller\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\tmpflocin >> T:\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSCDMAContro >> ller\CommandHandler.cpp >> DEBUG:root:Running: diff -uN c:\docume~1\mayankk\locals~1\temp\tmpt2cgxz >> c:\docume~1\mayankk\locals~1\temp\tmpflocin >> DEBUG:root:Command exited with rc 1: ['diff', '-uN', >> 'c:\\docume~1\\mayankk\\locals~1\\temp\\tmpt2cgxz', >> 'c:\\docume~1\\mayankk\\locals~1\\temp\\tmpfl >> ocin'] >> --- c:\docume~1\mayankk\locals~1\temp\tmpt2cgxz 2014-02-28 >> 17:53:29.502049100 +0530 >> +++ c:\docume~1\mayankk\locals~1\temp\tmpflocin 2014-02-28 >> 17:53:29.673915300 +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 >> T:\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 >> T:\mayankk_view\bse_tdscdma_fw_app_l3\afTDSCDMADevMode\TDSCDMAController\CommandHandler.cpp >> DEBUG:root:Making HTTP GET request to >> http://172.21.111.163:8080/reviewboard/api/review-requests/ >> DEBUG:root:Making HTTP POST request to >> http://172.21.111.163:8080/reviewboard/api/review-requests/ >> DEBUG:root:Making HTTP GET request to >> http://172.21.111.163:8080/reviewboard/api/review-requests/406/diffs/ >> DEBUG:root:Making HTTP POST request to >> http://172.21.111.163:8080/reviewboard/api/review-requests/406/diffs/ >> DEBUG:root:Got API Error 207 (HTTP code 400): The file was not found in >> the repository >> DEBUG:root:Error data: {u'stat': u'fail', u'file': >> u'T:/mayankk_view/bse_tdscdma_fw_app_l3/afTDSCDMADevMode/TDSCDMAController/CommandHandler.cpp@@/mai >> n/lte_bse_int_tdscdma_r17p1/tdscdma_bse_del_cttl_int/lte_bse_tdscdma_temp_mayankk/1', >> >> u'err': {u'msg': u'The file was not found in the repository', u' >> code': 207}, u'revision': >> u'\\main\\lte_bse_int_tdscdma_r17p1\\tdscdma_bse_del_cttl_int\\lte_bse_tdscdma_temp_mayankk\\1'} >> 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 >> >> The file was not found in the repository (HTTP 400, API Error 207) >> Your review request still exists, but the diff is not attached. >> >> If I execute it from M: (dynamic view) or local harddisk (snapshot view), >> then it works fine. >> >> I did some trouble shooting with my limited knowledge of Phython and came >> to know that in clearcase.py, script is not able to access network drive. >> Till now I tried the below: >> 1. Created a small Phython program with the same code as in clearcase.py >> and executed it manually. It works fine. It means that using Phython I am >> able to access network drive. >> 2. Checked the user name by which Apache server is running. Changed it to >> my user (which has all the admin rights) but still its not working. >> 3. Checked with Dynamic and Static view with network drive. Getting the >> similar issue. >> >> Did anyone faced the same issue?? >> Is there any setting I am missing because of which when script is >> executed via Apache, its not able to access network drive?? >> >> Would appreciate any help/support or pointer. >> >> Regards >> Mayank >> >> -- >> 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...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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.