Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

TypeError: milestone_stats_data() takes at least 4 arguments (3 given) #1

Open
shentonfreude opened this Issue · 2 comments

2 participants

@shentonfreude

I'm using Trac-0.12, perhaps this is the issue. This patch fixes it:

diff --git a/itteco/ticket/roadmap.py b/itteco/ticket/roadmap.py
index f85002c..3d76f8e 100644
--- a/itteco/ticket/roadmap.py
+++ b/itteco/ticket/roadmap.py
@@ -680,6 +680,7 @@ class IttecoRoadmapModule(RoadmapModule):
stat = SelectionTicketGroupStatsProvider(self.env).get_ticket_group_stats(tickets, calc_on)
stats.append(
milestone_stats_data(

  •                self.env,
                 req, stat, [m.name for m in _get_milestone_with_all_kids(milestone)]))
    
     if requested_fmt=='json':
    
@snoopotic

In latest 0.2.6 its in Line 744 and following

@shentonfreude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.