TypeError: milestone_stats_data() takes at least 4 arguments (3 given)
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':
In latest 0.2.6 its in Line 744 and following
On Sun, Nov 13, 2011 at 9:14 AM, snoopotic < [email protected]
wrote:
seems your patch does not fit in latest 0.2.6. A I right?
I'm sorry, I haven't been keeping up with IttecoTracPlugin. I thought it applied when I submitted it, but have no idea if it does with that version. Sorry I can't provide any more help.