What version are you running?
ReviewBoard 1.0.8
What's the URL of the page containing the problem?
http://10.1.0.25/r/3/diff/#index_header
What steps will reproduce the problem?
1. Go to "all my requests" and try to view a diff from any entry.
2.
3.
What is the expected output? What do you see instead?
I expect to see a diff. Instead I get a traceback:
'NoneType' object has no attribute 'path2id'
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/views.py",
line 153, in view_diff
interdiffset, highlighting, True)
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 623, in get_diff_files
large_data=True)
File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.6.2-py2.6.egg/djblets/util/misc.py",
line 166, in cache_memoize
data = lookup_callable()
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 622, in <lambda>
enable_syntax_highlighting),
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 344, in get_chunks
old = get_original_file(filediff)
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 251, in get_original_file
large_data=True)[0]
File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.6.2-py2.6.egg/djblets/util/misc.py",
line 166, in cache_memoize
data = lookup_callable()
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 250, in <lambda>
data = cache_memoize(key, lambda: [fetch_file(file, revision)],
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/diffviewer/diffutils.py",
line 229, in fetch_file
data = tool.get_file(file, revision)
File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg/reviewboard/scmtools/bzr.py",
line 47, in get_file
raise SCMError(e)
SCMError: 'NoneType' object has no attribute 'path2id'
What operating system are you using? What browser?
Ubuntu Linux 9.0.4
Mozilla Firefox 3.6.3, but that's irrelevant.
Please provide any additional information below.
Same issue occurs with Bazaar 2.0.4 through versions to the 2.2 beta 1.
Using Python 2.6
Using file cache instead of Memcache