I followed the instructions here to get bzr working with my trac.

http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar.

Everything worked fine till I went to my http page and clicked on "Browse 
Source" link. It gives me the error below.

*Trac detected an internal error:**
*

*AttributeError: 'CHKInventoryRepository' object has no attribute 
'get_ancestry'*

I have also attached the complete error. If anyone has any suggestions on 
how to fix this, I will appreciate it.

Thankyou,

Abiyo


*
*


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/X1lhg_s09KMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 497, in 
_dispatch_request
  dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 214, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/trac/versioncontrol/web_ui/browser.py", line 
391, in process_request
  dir_data = self._render_dir(req, repos, node, rev, order, desc)
File "build/bdist.linux-x86_64/egg/trac/versioncontrol/web_ui/browser.py", line 
559, in _render_dir
  entries = [entry(n) for n in node.get_entries()
File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 1142, in 
get_entries
  childpath, self.revcache)
File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 1090, in __init__
  path)
File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 935, in __init__
  rev_string = bzr_repo.string_rev(branch, self.get_content_revision())
File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 1096, in 
get_content_revision
  return self.revcache[self.entry]
File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 1429, in 
__getitem__
  ancestry = self.branch.repository.get_ancestry(revid)

Reply via email to