From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes Date: Sun, 2 Nov 2014 16:54:47 -0600 Message-ID: References: <878ujtgqyj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl42v-0002i4-G6 for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 17:54:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl42r-0000Sr-4t for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 17:54:53 -0500 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:50918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl42q-0000SQ-Pe for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 17:54:49 -0500 Received: by mail-lb0-f175.google.com with SMTP id n15so487119lbi.34 for ; Sun, 02 Nov 2014 14:54:47 -0800 (PST) In-Reply-To: <878ujtgqyj.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy , emacs-orgmode On Sun, Nov 2, 2014 at 4:47 PM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> I ran into an error with a 30min task which used the :effort: property >> to set this duration. Upon compilation, I noted the warning: >> ``` >> file.tjp:10: Warning: 400.0d of effort of task one does not fit into >> the project time frame. >> Warning: 1 tasks could not be scheduled >> ``` >> >> I looked at the .tjp file, and 30min had been converted to 4800.0 >> hours. I was able to reproduce with the following setup: >> >> #+begin_src min-config >> (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp/") >> (require 'ox-taskjuggler) >> #+end_src >> >> emacs -Q M-x load-file ~/path/to/min-config >> >> #+begin_src tj-time-test.org >> >> * Project :taskjuggler_project: >> ** task1-effort-min >> :PROPERTIES: >> :start: 2014-11-01 >> :effort: 30min >> :allocate: jwhendy >> :END: >> ** task2-duration-min >> :PROPERTIES: >> :duration: 30min >> :allocate: jwhendy >> :blocker: previous-sibling >> :END: >> >> #+end_src >> > > EFFORT is a special property in Org (i.e., it is not specific to > taskjuggler). It expects "HH:MM" format. So, you should set it to > > :Effort: 00:30 > That mostly makes sense. Org's not case-sensitive, correct? I was looking at the [granted, outdated] taskjuggler documentation and it features estimates in days (i.e. 10d): - http://orgmode.org/worg/org-tutorials/org-taskjuggler.html Is this recent (as in post-writing of that worg page)? Or are there other formats that could be accepted? It's unfortunate that org and taskjuggler overlap on this, as ideally one could pass any tj attribute as a property and it'd "do the right thing." I see why the issue exists now. So if I want to estimate a task taking 10 days, I need to input 80:00? Best regards, John > Regards, > > -- > Nicolas Goaziou