AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_graph'

Bug #495235 reported by MCS
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trac-Bzr
Fix Released
Undecided
Unassigned

Bug Description

I'm getting this error message using Trac 0.11.1 and trac-bzr. This is on Ubuntu Linux (9.04). I'm using the tracd server.

My bzr client is version 2.0.2.

Oops...Trac detected an internal error:

  AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_graph'

The bzr browser was working fine until I made my first commit to the repository and now this message appears instead of the directory tree of my source code.

Please advise.

Revision history for this message
Martin von Gagern (gagern) wrote : Re: [Bug 495235] [NEW] AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_graph'

That doesn't sound like the latest (trunk) version of trac-bzr. Ubuntu
packages are probably outdated. Try with a checkout of latest trunk, and
if you can reproduce it, see if you can get a backtrace. Might be in the
source code of the error page.

Revision history for this message
MCS (mchampig) wrote :

I'm sorry but I'm new to Trac and bzr. I used bzr to grab the trunk of trac-bzr, but all I see is a setup.py file.

How do I build and install trac-bzr? I could not locate documentation on this website.

Thanks.

Revision history for this message
Martin von Gagern (gagern) wrote :

trac-bzr uses setuptools (hich is based on distutils) for installation. The following command should install tracbzr for you:

python setup.py install

You should probably remove the Ubuntu trac-bzr package before you install this package. You can get further information about installing python things in http://docs.python.org/install/#standard-build-and-install . If neither the above command nor that document will help you get things running, let me know and I'll dig deeper in what the Ubuntu package does.

I guess I really should make sure there is a section about how to install trac-bzr in the README before I release 0.3.0...

Revision history for this message
Martin von Gagern (gagern) wrote :

Please try to reproduce with trac-bzr 0.3.0. If that version works for you, I'd like to close this bug.

Changed in trac-bzr:
status: New → Incomplete
Revision history for this message
MCS (mchampig) wrote :

Fixed. Thanks!

Changed in trac-bzr:
milestone: none → 0.3.0
status: Incomplete → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.