id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
8859,[Patch] ERROR: Macro TracJSGanttChart(milestone=...) failed,bobrien@newtonrobotics.com,ChrisNelson,Running trac 0.12 with the latest version of the TracJsGanttPlugin (installed using easy_install this morning).  Regardless of whether any other coordinating plugins are installed or not (such as mastertickets_ subtickets_ timingandestimation)_ I cannot make a gantt chart display from a very simple existing milestone in Trac (10 tickets_ 2 closed_ backend repository is Mercurial).  \r\n\r\nCurrently_ only `tracjsgantt.*` is enabled in my `trac.ini` file_ and no `[trac-jsgantt]` section is defined (all commented out) - see Debug output below.  If I try adding back certain fields (as outlined on the TracJSGanttPlugin wiki page)_ I get different_ but similar_ errors - issues like: \r\n\r\n`TypeError: strptime() argument 1 must be string_ not int.`\r\n\r\nand\r\n\r\n`KeyError: u'userstart'`\r\n\r\nI'm just trying to display a Gantt chart_ nothing fancy (yet).  Looking through the other active tickets there appears to be some question whether this plugin works with Trac 0.12.  Is that accurate?\r\n\r\nFrom the trac.log file in DEBUG Mode:\r\n{{{\r\n03_713 Trac[query] DEBUG: Query SQL: SELECT t.id AS id_t.description AS description_t.owner AS owner_t.type AS type_t.status AS status_t.summary \r\nAS summary_t.milestone AS milestone_t.priority AS priority_t.time AS time_t.changetime AS changetime_priority.value AS priority_value\r\nFROM ticket AS t\r\n  LEFT OUTER JOIN enum AS priority ON (priority.type='priority' AND priority.name=priority)\r\nWHERE ((COALESCE(t.milestone_'')=u'FME Cart Completion'))\r\nORDER BY COALESCE(priority.value_'')=''_CAST(priority.value AS integer)_t.id\r\n2011-05-31 15:06:03_715 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=FME Cart Completion) failed: \r\nTraceback (most recent call last):\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/wiki/formatter.py"_ line 710_ in _macro_formatter\r\n    return macro.process(args_ in_paragraph=True)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/wiki/formatter.py"_ line 304_ in process\r\n    text = self.processor(text)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/wiki/formatter.py"_ line 291_ in _macro_processor\r\n    text)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.5-py2.6.egg/tracjsgantt/tracjsgantt.py"_ line 733_ in expand_macro\r\n    tasks = self._add_tasks(options)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.5-py2.6.egg/tracjsgantt/tracjsgantt.py"_ line 706_ in _add_tasks\r\n    self._schedule_tasks()\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.5-py2.6.egg/tracjsgantt/tracjsgantt.py"_ line 421_ in _schedule_tasks\r\n    t['calc_start'] = _start(t)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.5-py2.6.egg/tracjsgantt/tracjsgantt.py"_ line 381_ in _start\r\n    finish = datetime.strptime(_finish(ticket)_ self.pyDateFormat)\r\n  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.5-py2.6.egg/tracjsgantt/tracjsgantt.py"_ line 401_ in _finish\r\n    elif ticket[self.fields['succ']] != []:\r\n}}},defect,closed,high,TracJsGanttPlugin,normal,duplicate,,,0.12
