itteco / IttecoTracPlugin

Itteco Trac Plugin
http://tracplugin.itteco.com
17 stars 7 forks source link

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

Open shentonfreude opened 14 years ago

shentonfreude commented 14 years ago

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(

snoopotic commented 12 years ago

In latest 0.2.6 its in Line 744 and following

shentonfreude commented 12 years ago

On Sun, Nov 13, 2011 at 9:14 AM, snoopotic < reply@reply.github.com

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.