Modify

Opened 15 years ago

Closed 15 years ago

#4950 closed defect (fixed)

BranchTimeline install issue

Reported by: blaine.mucklow@… Owned by: aviram
Priority: normal Component: BranchTimelinePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I am trying to customize Trac to fit our project, and we have multiple branches that have continous work. I am trying to install the BranchTimeline plugin so that it can easily be seen what changes were made to which branches. I follow the configuration settings on http://trac-hacks.org/wiki/BranchTimelinePlugin and after restarting my trac using tracd I get the following error when trying to view the timeline:

(BranchesTimelineModule) failed: NameError: global name 'any' is not defined

Below this there is a link that says "You may want to see the other kind of events from the Timeline" and when I click the Timeline link it shows me what I expected to see when I clicked the overall Timeline link. Any thoughts on how to make the Timeline Tab go straight to that second page without the error? Also can I sort which branches show up in this list? We have several, and several are outdated and don't need to be listed in the selections...

Thanks in advance.

Blaine

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by Blaine

Also, I just tried using some of the sorting options on that second link I followed after the error and it appears to do nothing. The only thing it shows is opened and closed tickets. No matter what I try to display in any of the branches, nothing shows up.

comment:2 Changed 15 years ago by aviram

Resolution: fixed
Status: newclosed

Hey,

Regarding "NameError: global name 'any' is not defined" - the Python built-in function 'any' was added to Python in version 2.5, so you probably have an older version. I added an implementation of the function for versions prior to 2.5.

Selecting branches not be displayed at all is a good idea, I added it as well, add you trac.ini file the following lines:

[timeline-branches]
undisplayed_branches = <undisplayed branches>

Instead of <undisplayed branches> just put a comma separated list of branches that you don't want to display (put their relative path to the branches directory).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain aviram.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.