Labels: Type-Defect Priority-Medium
New issue 2135 by yos...@hotmail.com: clearcase.py failing on CentOS 5
* NOTE: Do not post confidential information in this bug report. *
* If you need immediate support, please contact *
* reviewbo...@googlegroups.com *
What version are you running?
What's the URL of the page containing the problem?
Anything that calls clearcase.py via /r/new with a clearcase diff
What steps will reproduce the problem?
1. Create a clearcase review request with diff uploaded using RBtools
2. Must have Python 2.4 on the server (CentOS 5)
What is the expected output? What do you see instead?
Expect to see diff uploaded.
Failed with the following error:
Traceback (most recent call last):
line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
line 46, in _checklogin
return view_func(request, *args, **kwargs)
line 248, in new_review_request
line 234, in create
line 286, in create
line 62, in create
files = list(self._process_files(
line 136, in _process_files
for f in tool.get_parser(file.read()).parse():
line 49, in parse
next_linenum, new_file = self.parse_change_header(i)
line 75, in parse_change_header
linenum = self.parse_diff_header(linenum, info)
line 206, in parse_diff_header
info['origFile'] = self._oid2filename(m.group(1))
line 245, in _oid2filename
return os.path.relpath(res, self.repopath)
AttributeError: 'module' object has no attribute 'relpath'
What operating system are you using? What browser?
Please provide any additional information below.
This is due to Python 2.4 not supporting the relpath method
However, the admin page for RB 1.6beta2 says 2.4 is supported:
“It’s also assumed that you have Python v2.4 or v2.5 installed”
You received this message because you are subscribed to the Google Groups
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at