emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Christian Egli <christian.egli@sbs.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Taskjuggler] Status of exporter
Date: Thu, 2 May 2013 21:18:07 +0100	[thread overview]
Message-ID: <8761z1gmps.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87ppxd9i1a.fsf@sbs.ch> (Christian Egli's message of "Mon, 29 Apr 2013 22:52:01 +0200")

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Christian,

I must be doing something really silly (not unheard of ;-) but I just
cannot get the new tj3 exporter to work.  With an up to date org (as of
a few minutes ago), using the example from the tutorial but also an
example from Baptiste from last week, I get the following error message
when I try to export and open:

,----
| Saving file /tmp/x.tjp...
| Wrote /tmp/x.tjp
| Processing TaskJuggler file ./x.tjp...
| /tmp/x.tjp:26: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART
| ==  ==
| if: TaskJuggler failed with errors: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART
`----

I have TJ 3.4.0 and Ruby 1.9.1 installed on an Ubuntu system.

I have attached the x.org and x.tjp files in case they prove useful.

Any pointers would be most welcome.  I find that I need to create a
GANTT chart and, although I could use code I posted here a long time ago
for creating charts from org tables, I thought I'd revisit TJ...  the
aim would be to actually use TJ eventually for some of the project
management, from org obviously.

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0.2-60-g713208

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: x.org --]
[-- Type: text/x-org, Size: 425 bytes --]

#+BEGIN_EXAMPLE
* Project                                               :taskjuggler_project:

** Training material
   :PROPERTIES:
   :task_id:  training_material
   :END:
*** Markup Guidelines
    :PROPERTIES:
    :Effort:   2d
    :task_id:  markup
    :END:
*** Workflow Guidelines
    :PROPERTIES:
    :Effort:   2d
    :END:
** Presentation
   :PROPERTIES:
   :Effort:   2d
   :BLOCKER:   markup
   :END:
#+END_EXAMPLE

[-- Attachment #3: x.tjp --]
[-- Type: application/octet-stream, Size: 1253 bytes --]

project nil "Project" "1.0" 2013-05-02 +280d {
}
shift s40 "Part time shift" {
  workinghours wed, thu, fri off
}
resource ucecesf "Eric S Fraga" {
}
task project "Project" {
  purge allocate
  allocate ucecesf
  task training_material "Training material" {
    task markup "Markup Guidelines" {
      effort 16.0h
    }
    task workflow "Workflow Guidelines" {
      effort 16.0h
    }
  }
  task presentation "Presentation" {
    depends !training_material.markup
    effort 16.0h
  }
}
textreport report "Plan" {
  formats html
  header '==  =='

  center -8<-
    [#Plan Plan] | [#Resource_Allocation Resource Allocation]
    ----
    === Plan ===
    <[report id="plan"]>
    ----
    === Resource Allocation ===
    <[report id="resourceGraph"]>
  ->8-
}

# A traditional Gantt chart with a project overview.
taskreport plan "" {
  headline "Project Plan"
  columns bsi, name, start, end, effort, chart
  loadunit shortauto
  hideresource 1
}

# A graph showing resource allocation. It identifies whether each
# resource is under- or over-allocated for.
resourcereport resourceGraph "" {
  headline "Resource Allocation Graph"
  columns no, name, effort, weekly
  loadunit shortauto
  hidetask ~(isleaf() & isleaf_())
  sorttasks plan.start.up
}

  parent reply	other threads:[~2013-05-02 20:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29 20:52 [Taskjuggler] Status of exporter Christian Egli
2013-05-01 20:54 ` Carsten Dominik
2013-05-02 20:18 ` Eric S Fraga [this message]
2013-05-02 21:56   ` John Hendy
2013-05-03  7:41     ` Eric S Fraga
2013-05-03 10:20   ` Christian Egli
2013-05-03 14:38     ` Eric S Fraga
2013-05-03 15:19       ` Christian Egli
2013-05-03 19:46         ` Eric S Fraga
2013-05-03 20:40         ` Christian Egli
     [not found]           ` <51B5F967.1040905@dayspringpublisher.com>
2013-06-10 16:09             ` Org-mode and Taskjuggler Louis Turk
2013-06-11  8:46             ` Christian Egli
2013-06-11 12:20               ` John Hendy
2013-06-13  4:38               ` Louis Turk
2013-06-13  5:21                 ` Nick Dokos
2013-06-14 20:21                   ` Louis Turk
2013-06-14 20:31                     ` Nick Dokos
2013-06-13 13:06                 ` John Hendy
2013-06-13 15:06                   ` Christian Egli
2013-06-14 21:29                   ` Louis Turk
2013-05-03 15:53     ` [Taskjuggler] Status of exporter Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761z1gmps.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=christian.egli@sbs.ch \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).