Hey, 

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 
/view/my_view/Zs/Zs/Zs/src/Zs/Zs/FilenameZ@@/main/my_stream/3 
DEBUG:root:Running: cleartool describe -fmt %On 
/view/my_view/Zs/Zs/Zs/src/Zs/Zs/FilenameZ 
DEBUG:root:Running: cleartool lsvob -long /Zs/Zs/Zs 
DEBUG:root:Repository's /Zs/Zs/Zs uuid is 
'c59494a2.4fc211db.8468.00:0d:60:14:bb:cc' 
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): 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/webapi/resources.py",
 
line 2056, in create 
request.FILES.get('parent_diff_path')) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/reviews/forms.py",
 
line 309, in create 
history) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/forms.py",
 
line 67, in create 
request=self.request) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 82, in create_from_upload 
save=save) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 103, in create_from_data 
check_existence=(not parent_diff_file_contents))) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 190, in _process_files 
for f in parser.parse(): 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/parser.py",
 
line 51, in parse 
next_linenum, new_file = self.parse_change_header(i) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/parser.py",
 
line 83, in parse_change_header 
linenum = self.parse_diff_header(linenum, info) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/scmtools/clearcase.py",
 
line 311, in parse_diff_header 
info['origFile'] = self._oid2filename(m.group(1)) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/scmtools/clearcase.py",
 
line 345, in _oid2filename 
raise SCMError(error) 
SCMError: cleartool: Error: Unable to determine VOB for pathname ".".

Any help is appreciated. 

Thanks,
Gabriela

-- 
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