Roger Oberholtzer wrote:
> On Tue, 2010-12-07 at 08:00 -0500, Chris Nelson wrote:
>> Roger Oberholtzer wrote:
>>> On Mon, 2010-12-06 at 17:20 -0500, Chris Nelson wrote:
>>>> I'm pleased to announce the first release of Trac-jsGannt plugin
>>>> ...
>>> 
>>> I get the following in a trac 0.12 system:
>>> 
>>> 2010-12-07 13:43:11,811 Trac[loader] ERROR: Skipping "tracjsgantt =
>>> tracjsgantt": (can't import "ImportError: No module named
>>> estimationtools.utils") 
>>> 
>>> I have installed timingandestimationplugin (whatever the current one
>>> is) and done the updates it requires. That plugin seems to be in
>>> place. 
>>> 
>>> Perhaps the missing bit is elsewhere?
>> 
>> Thanks for the feedback.  I hope http://trac-hacks.org/changeset/9627
>> fixes your problem.
> 
> Indeed it did. But now for the next question: how to get a chart :)
> 
> I have a milestone with various tickets. I thought I could list them
> with:
> 
> [[TracJSGanttChart(milestone="2011 Release 1 - Codename Tabasco")]]
> 
> But I get "No tasks selected." 

I believe that the quotes should be removed.


> I used the suggested trac.ini entry of:
>
> [trac-jsgantt]
> fields.estimate = estimatedhours
> fields.worked = totalhours
> fields.pred = blockedby
> fields.succ = blocking
> fields.parent = parents
> fields.start = userstart
> fields.finish = userfinish
> date_format = %Y-%m-%d
> milestone_type = milestone

That's more of an example than a suggestion. ;-)

> I am guessing that the problem is I do not have some of these fields.
> I have the timeandestimation and MasterTicketPlugin installed. I do
> not (yet) have Subtickets installed.
> 
> I think I need a push in the right direction.

I recommend removing all the trac.ini settings and seeing what happens.
If you don't have Subtickets, you definitely don't want field.parents.
And fields.start anf fields.finish will only be useful if you have
home-grown due date custom fields set up.  

> BTW, based on the docs, I would have thought I could have used
> milestone~=Tabasco as I do in some other queries. This fails with:
> 
>       Error: Macro TracJSGanttChart(milestone~=Tabasco) failed
> 
>       userstart

I actually think that may have been more successful than your first try;
this got some tickets and tried to format them for presentation but
couldn't find userstart in the query results.  Try paring down your
trac.ini and see what happens.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to