Hello
I'm trying to use the TracJSGanttChart plugin.
I use trac 0.12-2, and the latest available TracJSGanttChart plugin.
I can show the sample chart with [[TracJSGanttChart(sample=1)]], but
everything else raise an error like
"Error: Macro TracJSGanttChart(milestone=Project1) failed"
I tried with different (existing !) milestone, without arguments
[[TracJSGanttChart]], without any plugin, and with the
TimingAndEstimationPlugin, but still have the same behaviour.
The log file in DEBUG mode show me this :
Trac[formatter] DEBUG: Executing Wiki macro TracJSGanttChart by provider
<tracjsgantt.tracjsgantt.TracJSGanttChart object at 0x7f5f85e8fed0>
Trac[query] DEBUG: Count results in Query: 124
Trac[query] DEBUG: Query SQL: SELECT t.id AS id,t.description (.../...)
Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=Project1) failed:
Traceback (most recent call last):
File
"/usr/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter
.py", line 717, in _macro_formatter
return macro.process(args, in_paragraph=True)
File
"/usr/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter
.py", line 304, in process
text = self.processor(text)
File
"/usr/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/formatter
.py", line 291, in _macro_processor
text)
File "build/bdist.linux-x86_64/egg/tracjsgantt/tracjsgantt.py", line
723, in expand_macro
tasks = self._add_tasks(options)
File "build/bdist.linux-x86_64/egg/tracjsgantt/tracjsgantt.py", line
696, in _add_tasks
self._schedule_tasks()
File "build/bdist.linux-x86_64/egg/tracjsgantt/tracjsgantt.py", line
418, in _schedule_tasks
t['calc_start'] = _start(t)
File "build/bdist.linux-x86_64/egg/tracjsgantt/tracjsgantt.py", line
378, in _start
finish = datetime.strptime(_finish(ticket), self.pyDateFormat)
File "build/bdist.linux-x86_64/egg/tracjsgantt/tracjsgantt.py", line
398, in _finish
elif ticket[self.fields['succ']] != []:
KeyError: None
Do you have any ideas ?
Best regards !
Marc
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.