id summary reporter owner description type status priority component severity resolution keywords cc release 9216 "Some errors following r10690, ""KeyError""" Ryan J Ollos Chris Nelson "I'm stepping through your changes, and with [10690], I get the following error: {{{ Error: Macro TracJSGanttChart(milestone=M1 - I10, lwidth=600, colorBy=owner, expandClosedTickets=0, startDate=0, endDate=0, res=0) failed type object 'datetime.datetime' has no attribute 'datetime' }}} If I step forward through the changesets, I start to get different errors. With r10701, I get: {{{ 2011-09-28 16:51:19,548 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=M1 - I10, lwidth=600, colorBy=owner, expandClosedTickets=0, startDate=0, endDate=0, res=0) failed: Traceback (most recent call last): File ""/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/wiki/formatter.py"", line 484, in _macro_formatter return macro.process(args, in_paragraph=True) File ""/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/wiki/formatter.py"", line 180, in process text = self.processor(text) File ""/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/wiki/formatter.py"", line 167, in _macro_processor text) File ""/usr/lib/python2.6/site-packages/Trac_jsGantt-0.9_r10701-py2.6.egg/tracjsgantt/tracjsgantt.py"", line 1077, in expand_macro tasks = self._add_tasks(options) File ""/usr/lib/python2.6/site-packages/Trac_jsGantt-0.9_r10701-py2.6.egg/tracjsgantt/tracjsgantt.py"", line 1039, in _add_tasks self._schedule_tasks(options) File ""/usr/lib/python2.6/site-packages/Trac_jsGantt-0.9_r10701-py2.6.egg/tracjsgantt/tracjsgantt.py"", line 706, in _schedule_tasks _schedule_task_alap(t) File ""/usr/lib/python2.6/site-packages/Trac_jsGantt-0.9_r10701-py2.6.egg/tracjsgantt/tracjsgantt.py"", line 602, in _schedule_task_alap finish = _earliest_successor(t, _ancestor_finish(t)) File ""/usr/lib/python2.6/site-packages/Trac_jsGantt-0.9_r10701-py2.6.egg/tracjsgantt/tracjsgantt.py"", line 576, in _ancestor_finish parent = self.ticketsByID[pid] KeyError: 451 }}} Ticket 451 is not part of my Trac milestone ""M1 - I10"", but there are two tickets in ""M1 - I10"" that have 451 as a parent. I'll dig deeper into this sometime in the next few days." defect closed high TracJsGanttPlugin normal fixed 0.11