I'm trying to run ReviewBoard with clearcase, and I'm having trouble 
uploading a diff to the website. I'm running reviewboard 1.7.14 and RBtools 
0.5.2. Here is the message I'm getting when running post-review in debug 
mode (pathnames and addresses replaced by Zs and hostname):

DEBUG:root:Running: cleartool describe -fmt %On 
DEBUG:root:Running: cleartool describe -fmt %On 
DEBUG:root:Running: cleartool lsvob -long /Zs/Zs/Zs 
DEBUG:root:Repository's /Zs/Zs/Zs uuid is 
Error uploading diff 

>>> RBTools 0.5.2 
>>> Python 2.6.6 (r266:84292, May 1 2012, 13:52:17) 
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] 
>>> Running on Linux-2.6.32-279.el6.x86_64-x86_64-with-redhat-6.3-Santiago 
>>> Home = /myhomedir/ 
>>> Current Directory = /view/my_view/Zs/Zs/Zs 
>>> Checking the repository type. Errors shown below are mostly harmless. 
>>> Finished checking the repository type. 
>>> HTTP GETting api/info/ 
>>> HTTP GETting api/ 
>>> HTTP GETting http://hostname.com/api/info/ 
>>> Using the new web API 
>>> HTTP GETting http://hostname.com/api/repositories/ 
>>> HTTP GETting http://hostname.com/api/repositories/3/ 
>>> HTTP GETting http://hostname.com/api/repositories/3/info/ 
>>> Got API Error 210 (HTTP code 500): There was an error fetching extended 
information for this repository 
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u'There was an error 
fetching extended information for this repository', u'code': 210}} 
>>> Attempting to create review request on my_view for None 
>>> HTTP POSTing to http://hostname.com/api/review-requests/: 
{'repository': 'my_view'} 
>>> Review request created 
>>> Uploading diff, size: 2387 
>>> HTTP POSTing to http://hostname.com/api/review-requests/35/diffs/: 
{'basedir': '/view/my_view/Zs/Zs/Zs'} 
>>> Got API Error 105 (HTTP code 400): One or more fields had errors 
>>> Error data: {u'fields': {u'path': [u'cleartool: Error: Unable to 
determine VOB for pathname ".".\n']}, u'stat': u'fail', u'err': {u'msg': 
u'One or more fields had errors', u'code': 105}} 

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


The server logs the following error: 

2013-09-23 15:51:31,534 - DEBUG - - DiffParser.parse: Beginning parse of 
diff, size = 2387 
2013-09-23 15:51:31,620 - ERROR - None - my_user_name - 
/api/review-requests/35/diffs/ - Error uploading new diff: cleartool: 
Error: Unable to determine VOB for pathname ".". 
Traceback (most recent call last): 
line 2056, in create 
line 309, in create 
line 67, in create 
line 82, in create_from_upload 
line 103, in create_from_data 
check_existence=(not parent_diff_file_contents))) 
line 190, in _process_files 
for f in parser.parse(): 
line 51, in parse 
next_linenum, new_file = self.parse_change_header(i) 
line 83, in parse_change_header 
linenum = self.parse_diff_header(linenum, info) 
line 311, in parse_diff_header 
info['origFile'] = self._oid2filename(m.group(1)) 
line 345, in _oid2filename 
raise SCMError(error) 
SCMError: cleartool: Error: Unable to determine VOB for pathname ".".

Any help is appreciated. 


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