[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    [Trac] bzr attribute error
From:       Abiyo <abiy19 () gmail ! com>
Date:       2012-12-15 21:52:44
Message-ID: a3d35778-c5cb-42a2-a7e0-57fba2cf153f () googlegroups ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 trac-users@googlegroups.com.
To unsubscribe from this group, send email to trac-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


[Attachment #5 (text/html)]

<pre style="display: block;">I followed the instructions here to get bzr working with \
my trac. </pre>
                  
                
              <h2>http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar.</h2><p>Everything \
worked fine till I went to my http page and clicked on "Browse Source" link. It gives \
me the error below.</p><p><b><i><strong>Trac detected an internal \
error:</strong></i></b><b><i><br></i></b></p><p><b><i>AttributeError: \
'CHKInventoryRepository' object has no attribute \
'get_ancestry'</i></b></p><p></p><p>I have also attached the complete error. If \
anyone has any suggestions on how to fix this, I will appreciate \
it.</p><p>Thankyou,<br></p><p>Abiyo<br></p><p><br></p><p><b><i><br></i></b></p><p><br></p>


<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "Trac \
Users" group.<br /> To view this discussion on the web visit <a \
href="https://groups.google.com/d/msg/trac-users/-/X1lhg_s09KMJ">https://groups.google.com/d/msg/trac-users/-/X1lhg_s09KMJ</a>.<br \
/>  To post to this group, send email to trac-users@googlegroups.com.<br />
To unsubscribe from this group, send email to \
trac-users+unsubscribe@googlegroups.com.<br />

For more options, visit this group at \
http://groups.google.com/group/trac-users?hl=en.<br />



------=_Part_420_25281650.1355608364548--


["error.txt" (text/plain)]

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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic