RepositoryIndex macro issues

Bug #656638 reported by justink on 2010-10-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Trac Project
New
Unknown

Bug Description

Hi Guys

I've setup trac added by repositor (bzr) and all is going well

Just got an issue when trying to use the [[RepositorIndex]] macro - i get the below error

Error: Macro RepositoryIndex(None) failed
need more than 0 values to unpack

- http://i.imgur.com/BhjcV.jpg

trac.log
- http://i.imgur.com/wf90n.png

Im not sure if this is a trac or trac-bzr issue

Any help with this would be greatly appreciated

Cheers

Justin

Martin Pool (mbp) wrote :

I think this is either a bug in trac integration, or a misconfiguration in your setup: it looks like it can't find any repositories in the directory it's looking in.

justink (justin-kelly) wrote :

thanks martin

Browse Source, changelog,etc. works fine - so i assume that normal trac can see the repo

repository_dir is set to the full path
ie.

repository_dir = /var/bzr/repo/test

any other suggestion - would love to get this working!!

cheers

justin

Martin von Gagern (gagern) wrote :

This RepositoryIndex thing is a trac issue. Reported upstream as http://trac.edgewall.org/ticket/9676 and attached a fix there.

The error from the Branches macro your first image shows is a different thing, though. Will investigate that. If you want to track progress on that, feel free to file a separate bug report for trac-bzr describing just that problem.

affects: trac-bzr → trac
Changed in trac:
importance: Undecided → Unknown
status: New → Unknown
justink (justin-kelly) wrote :

thanks martin!!!

cheers

justin

Changed in trac:
status: Unknown → Fix Released
Changed in trac:
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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