Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2135 by failing on CentOS 5 (Python 2.4)

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?

What's the URL of the page containing the problem?
Anything that calls 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):

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/djblets/auth/", line 46, in _checklogin
    return view_func(request, *args, **kwargs)

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/reviews/", line 248, in new_review_request

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/reviews/", line 234, in create

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/reviews/", line 286, in create

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/diffviewer/", line 62, in create
    files = list(self._process_files(

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/diffviewer/", line 136, in _process_files
    for f in tool.get_parser(

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/diffviewer/", line 49, in parse
    next_linenum, new_file = self.parse_change_header(i)

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/diffviewer/", line 75, in parse_change_header
    linenum = self.parse_diff_header(linenum, info)

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/scmtools/", line 206, in parse_diff_header
    info['origFile'] = self._oid2filename(

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/scmtools/", 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?
CentOS 5

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 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to