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

New issue 2952 by Diff viewer generates Error 500: Something Broke! intermittently

*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Select View Diff

What is the expected output? What do you see instead?
I expect all pages of the diff to show up. Instead, I get sporadic and unpredictable error 500: Something Broke! messages

What operating system are you using? What browser?
Centos 6.3, Chrome and Fedora 17, Firefox 19

Please provide any additional information below.

Exception thrown for user pjm at

'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/accounts/", line 20, in _check
    return login_required(view_func)(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/auth/", line 47, in _checklogin
    return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/reviews/", line 1174, in diff_fragment
    interdiffset, chunkindex, template_name)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/", line 403, in view_diff_fragment
    extra_context={'file': get_requested_diff_file(False)})
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/", line 306, in get_requested_diff_file
    files = get_diff_files(diffset, filediff, interdiffset)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/diffviewer/", line 1116, in get_diff_files
    tool = filediff.diffset.repository.get_scmtool()
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/", line 136, in get_scmtool
    return cls(self)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/", line 31, in __init__
    self.client = HgClient(repository.path, repository.local_site)
File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/scmtools/", line 239, in __init__
    if parse_version(hg_version) <= parse_version("1.2"):
File "/usr/lib/python2.6/site-packages/", line 1913, in parse_version
    for part in _parse_version_parts(s.lower()):
TypeError: 'NoneType' object is not callable

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to