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

New issue 1657 by robwalker01: Diff viewer path2id missing attribute error in ReviewBoard 1.0.8 with Bazaar
http://code.google.com/p/reviewboard/issues/detail?id=1657

*NOTE: Do not post confidential information in this bug report.*

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


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to