Gantt chart start times error

83 views
Skip to first unread message

inp...@gmail.com

unread,
Mar 28, 2013, 3:54:58 AM3/28/13
to taskjugg...@googlegroups.com
Readers,

A report is generated:

1
Icon a meeting
1 Jan 00:00:00
1 Jan 04:00:00
0.00
lorem ipsum

source:
project test 'test project' 2013-01-01 +1y {
    currency 'EUR'
    currencyformat '-' ' ' ' ' '.' 2
    dailyworkinghours 8
    numberformat '-' ' ' ' ' '.' 3
    shorttimeformat '%d-%m-%Y'
    timeformat '%e %b %T'
    timezone 'Europe/London'
    weekstartsmonday
    workinghours mon-fri 08:00-12:00, 13:00-17:00
    workinghours sat, sun off
    yearlyworkingdays 225
    }
    leaves holiday 'New Years day' 2013-01-01,
        holiday 'Good Friday' 2013-03-29,
        holiday 'Christmas day' 2013-12-25
    account usercosts 'my costs'
    account userrevenue 'my revenue'
    resource usertj 'taskjuggler user' {
        email '...@...'
        workinghours mon-fri 08:00-12:00, 13:00-17:00
        rate 10
        limits {dailymax 6h}
        }
    task task1 'a meeting' {
        allocate usertj
        duration 4h
        #effort 1d
        note 'lorem ipsum'
        }
    taskreport summary 'test report' {
        balance usercosts userrevenue
        #balance -
        caption 'test report summary'
        center 'centre section'
        columns bsi, name, start, end, resources, cost, note, chart
        formats html
        }

Why is the start time in the report '00:00:00' and not '08:00:00'?

Why is the resources column empty (was expecting to see 'taskjuggler user')?

--
taskjuggler340

Bas de Bruijn

unread,
Mar 28, 2013, 4:45:30 AM3/28/13
to taskjugg...@googlegroups.com
Hi,
That's because you have specified a duration to a task, instead of effort. It's calendar time not working time.
as to your question about the resource allocation i have no answer.


--
You received this message because you are subscribed to the "TaskJuggler Users" group.
To post to this group, send email to taskjugg...@googlegroups.com
To unsubscribe from this group, send email to
taskjuggler-us...@googlegroups.com
For more information about TaskJuggler visit http://www.taskjuggler.org
---
You received this message because you are subscribed to the Google Groups "TaskJuggler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taskjuggler-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bas de Bruijn

unread,
Mar 28, 2013, 4:49:35 AM3/28/13
to taskjugg...@googlegroups.com
Hi,
I do have an answer to your second question.
Resources don't get allocated unless they are available. You resource is not available until 08:00. At that time your task has ended already.

inp...@gmail.com

unread,
Mar 28, 2013, 5:04:15 AM3/28/13
to taskjugg...@googlegroups.com


On Thursday, 28 March 2013 10:49:35 UTC+2, Bas de Bruijn wrote:
Hi,
I do have an answer to your second question.
Resources don't get allocated unless they are available. You resource is not available until 08:00. At that time your task has ended already.

The resources becomes allocated when 'effort' replaces 'duration':

...#duration 4h
        effort 4h
        ...

The result is:

1
Icon a meeting
2 Jan 08:00:00
2 Jan 12:00:00
taskjuggler user (usertj)
0.00
lorem ipsum

Which leads to another question: how to remove the text '(usertj)' (which is the id of the resource) from the report?

Bas de Bruijn

unread,
Mar 28, 2013, 5:20:37 AM3/28/13
to taskjugg...@googlegroups.com
correct, like it should :)
the time the task start then also should be 08:00 and not 00:00 anymore

Chris Schlaeger

unread,
Apr 7, 2013, 7:15:46 AM4/7/13
to taskjugg...@googlegroups.com

On Thu, Mar 28, 2013 at 10:04 AM, <inp...@gmail.com> wrote:
Which leads to another question: how to remove the text '(usertj)' (which is the id of the resource) from the report?

Use

  listitem "<-query attribute='name'->"

in your report.

Chris

inp...@gmail.com

unread,
Apr 16, 2013, 8:48:27 AM4/16/13
to taskjugg...@googlegroups.com, ch...@linux.com

For the benefit of others, have observed that if the double quotation mark is replaced by single quotation marks, an error is reported:

 Error: Unexpected token 'name' found. Expecting '}'
        columns bsi, name, start, end, resources {listitem '<-query attribute='name

Chris Schlaeger

unread,
Jun 23, 2013, 7:34:00 AM6/23/13
to inp...@gmail.com, taskjugg...@googlegroups.com

On Tue, Apr 16, 2013 at 2:48 PM, <inp...@gmail.com> wrote:

  listitem "<-query attribute='name'->"

For the benefit of others, have observed that if the double quotation mark is replaced by single quotation marks, an error is reported:

 Error: Unexpected token 'name' found. Expecting '}'
        columns bsi, name, start, end, resources {listitem '<-query attribute='name

That's to be expected. You cannot use the string quotation marks inside a string unless you escape them by \.

Chris
Reply all
Reply to author
Forward
0 new messages