Hi,

Does ReviewBoard supports SnapShot view of clearcase to create a review 
request when the repository is created using a different dynamic view??

We are using Clearcase with ReviewBoard(version 1.7) and repositories are 
created using a Dynamic view VOBs.
I can create a review request successfully using a dynamic view on my 
client PC.
But when I am trying to create a review request using a snapshot view, I am 
facing some issue. Below is the output of the rbt post command:

C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components>*rbt post -d*
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_static_view_rb_demo\bse_opt109_components, Base path: 
C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components, 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\tmpdvg6hf 
C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components\Source\common\code\TDDefaultParameters.c@@\main\lte_bse_
int_tdscdma_r17p1\tdscdma_bse_del_cttl_int\lte_bse_tdscdma_rb_demo_mayankk\0
DEBUG:root:Running: cleartool get -to 
c:\docume~1\mayankk\locals~1\temp\tmp13lksw 
C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components\Source\common\code\TDDefaultParameters.c
DEBUG:root:Running: diff -uN c:\docume~1\mayankk\locals~1\temp\tmpdvg6hf 
c:\docume~1\mayankk\locals~1\temp\tmp13lksw
DEBUG:root:Command exited with rc 1: ['diff', '-uN', 
'c:\\docume~1\\mayankk\\locals~1\\temp\\tmpdvg6hf', 
'c:\\docume~1\\mayankk\\locals~1\\temp\\tmp13lksw']
--- c:\docume~1\mayankk\locals~1\temp\tmpdvg6hf 2014-02-14 
15:21:11.406507600 +0530
+++ c:\docume~1\mayankk\locals~1\temp\tmp13lksw 2014-02-14 
15:21:11.609623500 +0530
@@ -162,7 +162,7 @@
 #undef SID
 #endif

-
+//added comment for testing RB 1
 #include "TDDefaultParameters.h"
 #include "rrc_ch.h"

@@ -2258,3 +2258,4 @@
 /****************************************************************************
 * End of source module $RCSfile: l23/common/TDDefaultParameters.c $
 *****************************************************************************/
+//added comment for testing RB 2
\ No newline at end of file
---
DEBUG:root:Running: cleartool describe -fmt %On 
C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components\Source\common\code\TDDefaultParameters.c@@\main\lte_bse_int_tdscdma_r17p1\tdscdma_bse_del_
cttl_int\lte_bse_tdscdma_rb_demo_mayankk\0
DEBUG:root:Running: cleartool describe -fmt %On 
C:\cc_views\mayankk_static_view_rb_demo\bse_opt109_components\Source\common\code\TDDefaultParameters.c
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/201/diffs/
DEBUG:root:Making HTTP POST request to 
http://myIP:8080/reviewboard/api/review-requests/201/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'C:/cc_views/mayankk_static_view_rb_demo/bse_opt109_components/Source/common/code/TDDefaultParameters.c@@/main/lte_bse_int_tdscdma_r17p1/tdscdma_bse
_del_cttl_int/lte_bse_tdscdma_rb_demo_mayankk/0', 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_in
t\\lte_bse_tdscdma_rb_demo_mayankk\\0'}
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.


Does anyone faced this issue with Snapshot view?? Is there any work around 
for the same???
Appreciate any help on this.

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to